422 Unprocessable Entity
-
Dear Syde Team,
We are reporting a critical bug that has appeared immediately after updating to the latest plugin version. All payments processed via Klarna (Pay Now, Pay Later) and Billie are now failing completely, preventing customers from checking out with these methods.
The payment process for these methods is aborted due to a
422: Unprocessable Entityerror from the Mollie API. This is a high-priority issue as it is actively causing lost sales.The root cause appears to be the same as a previously identified issue: the order line for the shipping fee (
shipping_fee) is missing the requirednamefield in the Orders API request.While other methods like PayPal have been failing on the first attempt and then successfully falling back to the Payments API, Klarna and Billie payments do not fall back. The process fails and stops entirely.
The fix should ensure the
namefield is correctly included for theshipping_feeline in all Mollie Orders API calls, which should resolve these payment failures. The bug within the plugin appears to be isolated to how it constructs the order line for shipping costs. Other line types, including products and other fees like surcharges, are being handled correctly.
The topic ‘422 Unprocessable Entity’ is closed to new replies.