Open nukka opened 9 months ago
There are multiple deprecated functionality issues in this module, and we will check those soon...
But original error in this case seems to be related to the webstore payment module configuration parameters.
Hope this helps
Preconditions: Magento ver. 2.4.5-p4 Svea Payments Sandbox mode = Off
To Reproduce
Expected behavior Exception doesn’t break the store
Actual result
Exception #0 (Exception): Deprecated Functionality: Exception::__construct(): Passing null to parameter #2 ($code) of type int is deprecated in /var/www/html/app/code/Svea/Maksuturva/Model/Gateway/Exception.php on line 12
. Exception was thrown and broke the checkout page.Not sure if this is related error but this was logged to svea-payment-module.log at the same time:
2023-11-28T06:17:03+00:00 ERR (3): "Failed to communicate with Svea Payments API. Please check the network connection and settings. URL: GetPaymentMethods.pmt ERROR MESSAGE: Could not resolve host: GetPaymentMethods.pmt"