Creating payment object: type Order, first try failed:
-
Unfortunately customers cannot pay with Klarna because they have the problem that when they are redirected to “sofort.com” to pay, the message “An error has occurred. Please return to the online store and try again” is displayed.
here are the logs:
2023-02-18T15:54:44+00:00 DEBUG Creating payment object: type Order, first try failed: [2023-02-18T15:54:44+0000] Error executing API call (422: Unprocessable Entity): The amount of the order does not match the total amount from the order lines. Expected order amount to be €70.37 but got €65.47. Documentation: https://docs.mollie.com/overview/handling-errors. Request body: {“status”:422,”title”:”Unprocessable Entity”,”detail”:”The amount of the order does not match the total amount from the order lines. Expected order amount to be €70.37 but got €65.47″,”field”:”amount”,”_links”:{“documentation”:{“href”:”https://docs.mollie.com/overview/handling-errors”,”type”:”text/html”}}}. Field: amount 2023-02-18T15:54:44+00:00 DEBUG Creating payment object: type Order, did not fail because of incorrect customerId, so trying Payment now.
Yesterday we had someone who ordered via Klarna without any problems. The only thing that has changed is some plugins had been updated, which aren’t really groundbreaking from my point of view as a PHP developer (but it can still be the reason).
I hope someone can provide me with a solution.
The topic ‘Creating payment object: type Order, first try failed:’ is closed to new replies.