Uploaded image for project: 'Blesta Core'
  1. Blesta Core
  2. CORE-5662

Adding Payment accounts can result in an error

    Details

      Description

      The following error can result when adding a payment account:

      [2026-01-20T17:20:23.531491+00:00] general.ERROR: Uncaught Exception Error: "Call to undefined method Accounts::getContact()" at /users/blesta/public_html/app/models/accounts.php line 857

      {"exception":"[object] (Error(code: 0): Call to undefined method Accounts::getContact() at /users/blesta/public_html/app/models/accounts.php:857)"}

        Activity

        admin Paul Phillips created issue -
        admin Paul Phillips made changes -
        Field Original Value New Value
        Description The following error can result when adding a payment account:

        [2026-01-20T17:20:23.531491+00:00] general.ERROR: Uncaught Exception Error: "Call to undefined method Accounts::getContact()" at C:\xampp\apps\blesta5\public_html\app\models\accounts.php line 857 {"exception":"[object] (Error(code: 0): Call to undefined method Accounts::getContact() at /users/blesta/public_html/app/models/accounts.php:857)"}
        The following error can result when adding a payment account:

        [2026-01-20T17:20:23.531491+00:00] general.ERROR: Uncaught Exception Error: "Call to undefined method Accounts::getContact()" at /users/blesta/public_html/app/models/accounts.php line 857 {"exception":"[object] (Error(code: 0): Call to undefined method Accounts::getContact() at /users/blesta/public_html/app/models/accounts.php:857)"}
        admin Paul Phillips made changes -
        Status Open [ 1 ] In Review [ 5 ]
        Resolution Fixed [ 1 ]
        Hide
        admin Paul Phillips added a comment -

        I tested adding payment accounts (CC and ACH) with Authorize.net and (CC) with Stripe Payments with the current PR, and processed payments and everything seems to work. The issue may have only impacted non-token gateways as Stripe seemed to work already.

        Show
        admin Paul Phillips added a comment - I tested adding payment accounts (CC and ACH) with Authorize.net and (CC) with Stripe Payments with the current PR, and processed payments and everything seems to work. The issue may have only impacted non-token gateways as Stripe seemed to work already.
        jonathan Jonathan Reissmueller made changes -
        Sprint 5.14.0 Sprint 2 [ 224 ]
        jonathan Jonathan Reissmueller made changes -
        Rank Ranked higher
        jonathan Jonathan Reissmueller made changes -
        Status In Review [ 5 ] Closed [ 6 ]

          People

          • Assignee:
            admin Paul Phillips
            Reporter:
            admin Paul Phillips
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:
              Fix Release Date:
              28/Jan/26

              Agile