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
TransactionType is not set correctly to 'CAPTURE' for SALE payment methods from AdyenSalePaymentMethods
To Reproduce
Steps to reproduce the behavior:
set AdyenSalePaymentMethods site pref to "paypal"
Place a PayPal order
Check the order afterwards - the paymentTransaction.type of the payment instrument doesn't have any value.
Expected behavior
The paymentTransaction.type should be "CAPTURE".
Additional context
The issue is in paymentFromComponent.js#160 - the payment method reference from the basket is passed to adyenCheckout.createPaymentRequest, but since the order has already been created, the payment instrument in the order is already a different object with a different UUID. So setting the paymentTransaction on the basket payment instrument has no effect.
This is the fix we use in our project:
The text was updated successfully, but these errors were encountered:
Describe the bug
TransactionType is not set correctly to 'CAPTURE' for SALE payment methods from AdyenSalePaymentMethods
To Reproduce
Steps to reproduce the behavior:
Expected behavior
The paymentTransaction.type should be "CAPTURE".
Additional context
The issue is in paymentFromComponent.js#160 - the payment method reference from the basket is passed to adyenCheckout.createPaymentRequest, but since the order has already been created, the payment instrument in the order is already a different object with a different UUID. So setting the paymentTransaction on the basket payment instrument has no effect.
This is the fix we use in our project:
The text was updated successfully, but these errors were encountered: