You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
In a headless implementation using graphql, calling placeOrder mutation on cart with Klarna or Clearpay payment makes it inaccessible even before payment is completed or adyenPaymentDetails mutation is called.
After placeOrder mutation, calling cart query with cart id returns 'Cart is inactive' error. And, calling customerCart returns a new empty cart.
Calling adyenPaymentDetails with payment data, order number and cart id also results in inactive cart error, so payment cannot be completed.
This doesn't happen for Paypal or Credit Card with 3DS2 which follow the same flow.
To Reproduce
Steps to reproduce the behavior:
Prepare a customer cart for payment, add product, set shipping address, shipping method and billing address.
Call setPaymentMethodAndPlaceOrder with klarna or clearpay payment method, and placeOrder in a single graphql mutation.
placeOrder response will be an order with isFinal=false and additional action that needs to be completed. Order with pending status will be created.
Complete payment by calling adyenPaymentDetails with action result, order number, and cart id.
'Cart is inactive' error will be returned. And, original cart will be inaccessible.
Expected behavior
Original customer cart should still be accessible and payment can be completed by calling adyenPaymentDetails mutation.
Magento version
2.4.6-p2
Plugin version
9.0.7
Additional context
We're using graphql api for our native iOS and Android apps.
Doesn't happen for Adyen Paypal payment method and Klarna used to work in plugin v8.
The text was updated successfully, but these errors were encountered:
Describe the bug
In a headless implementation using graphql, calling
placeOrder
mutation on cart with Klarna or Clearpay payment makes it inaccessible even before payment is completed oradyenPaymentDetails
mutation is called.After
placeOrder
mutation, callingcart
query with cart id returns 'Cart is inactive' error. And, callingcustomerCart
returns a new empty cart.Calling
adyenPaymentDetails
with payment data, order number and cart id also results in inactive cart error, so payment cannot be completed.This doesn't happen for Paypal or Credit Card with 3DS2 which follow the same flow.
To Reproduce
Steps to reproduce the behavior:
setPaymentMethodAndPlaceOrder
with klarna or clearpay payment method, andplaceOrder
in a single graphql mutation.placeOrder
response will be an order with isFinal=false and additional action that needs to be completed. Order with pending status will be created.adyenPaymentDetails
with action result, order number, and cart id.Expected behavior
Original customer cart should still be accessible and payment can be completed by calling
adyenPaymentDetails
mutation.Magento version
2.4.6-p2
Plugin version
9.0.7
Additional context
We're using graphql api for our native iOS and Android apps.
Doesn't happen for Adyen Paypal payment method and Klarna used to work in plugin v8.
The text was updated successfully, but these errors were encountered: