Closed pignion closed 1 month ago
Additional Information: I've confirmed that when I downgrade to 2.0.0, I can see shipping methods, so this appears to be a regression in 2.1.0 onward, where I can reproduce the issue.
Any update @adyen-packagist when this will be resolved? it is impacting our client's website
Hello @pignion,
Thank you for reporting this issue in details. As I see, @maxparkergene has already created a pull request for this bug. We will review and merge the fix soon.
Best Regards, Can
Describe the bug When using Apple Pay from the shopping cart, I cannot select a shipping method, even when Magento provides multiple shipping methods. The first shipping method provided by Magento is automatically chosen.
To Reproduce Steps to reproduce the behavior:
Expected behavior
Actual behavior
Screenshots
Desktop (please complete the following information):
Smartphone (please complete the following information):
Adyen Versions
Additional context The
ApplePaySession
'scompleteShippingContactSelection
should be called with all available shipping methods, which will cause them to show up as options on the payment sheet, according to the Apple DocumentationWhen I step through
button.js
and get to the point where the shipping methods are retrieved from Magento, I can see multiple shipping methods returned, but they seem to be being discarded.I can see pretty clearly here where Adyen's Express Payment javascript is selecting the first available method rather than checking to see what shipping method has been selected in Magento: