Payment not been taken

Created on 4 December 2024, 4 months ago

When on the review page of an order and I click complete purchase the page reloads and I get the following errors:

Undefined property: stdClass::$description in Drupal\commerce_opayo_pi\Plugin\Commerce\PaymentGateway\OpayoPiPaymentGateway->submitNewOpayoPiTransaction() (line 486 of modules/contrib/commerce_opayo_pi/src/Plugin/Commerce/PaymentGateway/OpayoPiPaymentGateway.php).

Undefined property: stdClass::$code in Drupal\commerce_opayo_pi\Plugin\Commerce\PaymentGateway\OpayoPiPaymentGateway->submitNewOpayoPiTransaction() (line 487 of modules/contrib/commerce_opayo_pi/src/Plugin/Commerce/PaymentGateway/OpayoPiPaymentGateway.php).

Undefined property: stdClass::$property in Drupal\commerce_opayo_pi\Plugin\Commerce\PaymentGateway\OpayoPiPaymentGateway->submitNewOpayoPiTransaction() (line 487 of modules/contrib/commerce_opayo_pi/src/Plugin/Commerce/PaymentGateway/OpayoPiPaymentGateway.php).

Undefined property: stdClass::$code in Drupal\commerce_opayo_pi\Plugin\Commerce\PaymentGateway\OpayoPiPaymentGateway->submitNewOpayoPiTransaction() (line 493 of modules/contrib/commerce_opayo_pi/src/Plugin/Commerce/PaymentGateway/OpayoPiPaymentGateway.php).

Undefined property: stdClass::$description in Drupal\commerce_opayo_pi\Plugin\Commerce\PaymentGateway\OpayoPiPaymentGateway->submitNewOpayoPiTransaction() (line 500 of modules/contrib/commerce_opayo_pi/src/Plugin/Commerce/PaymentGateway/OpayoPiPaymentGateway.php).

We encountered an unexpected error processing your payment. Please try again later.

🐛 Bug report
Status

Active

Version

1.0

Component

Code

Created by

🇬🇧United Kingdom c_archer Cumbria

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

  • Issue created by @c_archer
  • Status changed to Fixed 6 days ago
  • 🇬🇧United Kingdom mwjansen Bristol

    Have found same myself.

    Fixes in function 'submitNewOpayoPiTransaction' in OpayoPiPaymentGateway - release 1.0.0

Production build 0.71.5 2024