Jump to content

Wire Payment validation error


RoCoART

Recommended Posts

Hi there,

I have a freshly installed Presta 8.1.7. running on PHP 8.2
I have products added, configured language, currency, carriers and so on. Apart from the long list from the PHP with the deprecated messages everything works as it should. 
I have set up 3 payment methods.
COD
Card payment
Wire Transfer 

No problems with the first 2 methods. However when I'm trying to use the Wire payment method it just throws an 500 Error message and after enabling the Debug mode this is what I got:
 

Warning: Undefined property: OrderHistory::$context in /home/u901069680/domains/XXXXXXXXXXXXX/public_html/shop/override/classes/order/OrderHistory.php on line 489

Warning: Attempt to read property "currency" on null in /home/u901069680/domains/XXXXXXXXXXXXX/public_html/shop/override/classes/order/OrderHistory.php on line 489

Warning: Undefined property: OrderHistory::$context in /home/u901069680/domains/XXXXXXXXXXXXX/public_html/shop/override/classes/order/OrderHistory.php on line 490

Warning: Attempt to read property "currency" on null in /home/u901069680/domains/XXXXXXXXXXXXX/public_html/shop/override/classes/order/OrderHistory.php on line 490

Warning: Undefined variable $cart_rules_list in /home/u901069680/domains/XXXXXXXXXXXXX/public_html/shop/override/classes/order/OrderHistory.php on line 514

Fatal error: Uncaught TypeError: count(): Argument #1 ($value) must be of type Countable|array, null given in /home/u901069680/domains/XXXXXXXXXXXXX/public_html/shop/override/classes/order/OrderHistory.php:514 Stack trace: #0 /home/u901069680/domains/XXXXXXXXXXXXX/public_html/shop/override/classes/order/OrderHistory.php(456): OrderHistoryCore->sendEmail() #1 /home/u901069680/domains/XXXXXXXXXXXXX/public_html/shop/classes/PaymentModule.php(575): OrderHistoryCore->addWithemail() #2 /home/u901069680/domains/XXXXXXXXXXXXX/public_html/shop/modules/ps_wirepayment/controllers/front/validation.php(63): PaymentModuleCore->validateOrder() #3 /home/u901069680/domains/XXXXXXXXXXXXX/public_html/shop/classes/controller/Controller.php(308): Ps_WirepaymentValidationModuleFrontController->postProcess() #4 /home/u901069680/domains/XXXXXXXXXXXXX/public_html/shop/classes/Dispatcher.php(510): ControllerCore->run() #5 /home/u901069680/domains/XXXXXXXXXXXXX/public_html/shop/index.php(28): DispatcherCore->dispatch() #6 {main} thrown in /home/u901069680/domains/XXXXXXXXXXXXX/public_html/shop/override/classes/order/OrderHistory.php on line 514

Deleted the module, cleared the cache, reinstalled the module and still getting the same error.
Has anyone faced this problem? Can anyone help?

Thanks.

 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...