adyen-magento2 icon indicating copy to clipboard operation
adyen-magento2 copied to clipboard

[ECP-9133][ECP-9225] Unable to place an order with discount code using Klarna

Open piotrmatras opened this issue 3 months ago • 3 comments

Describe the bug Unable to place an order with discount code using Klarna payment method. I'm receiving the following error from payment gateway: Internal error: Result from Open Invoice service does not contain a redirect URL Error code: 903

Example quote details: Subtotal: 79,95€ Discount: -8,00€ Shipping cost: 4,80€ Tax: 13,53€ (19% German tax) Grand total: 76,65€

Request payload (see attached screen below): amount: 7665 [ok] lineItems:

  • product: 7022
  • shipping: 480 SUM: 7502 [wrong]

Screenshot-2024-04-10-at-10-53-15 (1)

To Reproduce Steps to reproduce the behavior:

  1. Add product to cart
  2. Apply a discount code with -10% discount
  3. Go to checkout and try to place an order using Klarna method

Expected behavior I'm able to place an order including discount code.

Magento version 2.4.6

Plugin version 9.4.0, 9.4.1

Screenshots Screenshot 2024-04-10 at 10 49 12

piotrmatras avatar Apr 10 '24 09:04 piotrmatras