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
The bug occurs inside adyen-salesforce-commerce-cloud-24.4.2, file path "src\cartridges\app_adyen_SFRA\cartridge\client\default\js\adyen_checkout\checkoutConfiguration.js" on line 28.
In case of list with payment methods, where credit card is not first payment method in the list, the first payment method in the list is being set as selectedMethod and marked as checked=true. After which on initialization, the getCardConfig() method executes, and on line 28, where it assigns the method variable, if none storedPaymentMethodId exists, then it selects the selectedMethod, which is the first one from the list.
If this is not the credit card, then method would come as which ever method is the first in the list and it will assign the isValid property to false, which will make it fail silently.
To Reproduce
Steps to reproduce the behavior:
Go to Checkout payment step. Make sure that Credit Card is not the first element in the rendered list of payment methods.
Make sure the first payment method is selected.
Proceed with payment.
Expected behavior
Payment should be able to proceed
Screenshots
Desktop (please complete the following information):
OS: Windows 10
Browser Chrome
Version 132.0.6834.160
Additional context
This has occured in a real life scenario with existing implementation concerning iDeal payment method
Workable fix applied:
The text was updated successfully, but these errors were encountered:
Thank you for reporting the issue.
We are already aware of the issue and have an internal ticket for solving it.
I will keep this issue updated once the fix is ready.
Describe the bug
The bug occurs inside adyen-salesforce-commerce-cloud-24.4.2, file path "src\cartridges\app_adyen_SFRA\cartridge\client\default\js\adyen_checkout\checkoutConfiguration.js" on line 28.
adyen-salesforce-commerce-cloud/src/cartridges/app_adyen_SFRA/cartridge/client/default/js/adyen_checkout/checkoutConfiguration.js
Line 28 in dff4c13
In case of list with payment methods, where credit card is not first payment method in the list, the first payment method in the list is being set as selectedMethod and marked as checked=true. After which on initialization, the getCardConfig() method executes, and on line 28, where it assigns the method variable, if none storedPaymentMethodId exists, then it selects the selectedMethod, which is the first one from the list.
If this is not the credit card, then method would come as which ever method is the first in the list and it will assign the isValid property to false, which will make it fail silently.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Payment should be able to proceed
Screenshots
Desktop (please complete the following information):
Additional context
This has occured in a real life scenario with existing implementation concerning iDeal payment method
Workable fix applied:
The text was updated successfully, but these errors were encountered: