Adyen / adyen-magento2-express-checkout

Adyen Magento 2 Express Checkout Module
MIT License
11 stars 6 forks source link

[ECP-9344] Cannot pay via apple pay express cart page #99

Open alicedfisheye opened 4 months ago

alicedfisheye commented 4 months ago

Describe the bug Cannot pay via apple pay Adyen express on cart page.

First Error: Shipping methods do not load which result in 'Payment not complete' and the error in the console.

Screenshot 2024-07-22 at 12 16 08

Second Error: Update onShippingContactSelect / onShippingMethodSelect to that of the code in https://github.com/Adyen/adyen-magento2-express-checkout/blob/1.1.2/view/frontend/web/js/applepay/button.js The error above does not happen anymore, however you still get 'Payment not complete' and the error in the console - Screenshot 2024-07-22 at 12 01 45 Screenshot 2024-07-22 at 11 59 27

And when you set a breakpoint in vendor/adyen/module-payment/Gateway/Validator/CheckoutResponseValidator.php line 123 you can see the error 'Required object 'paymentMethod' is not provided.'

Screenshot 2024-07-22 at 11 59 10

To Reproduce Steps to reproduce the behavior:

  1. Add product to cart
  2. Go to cart page
  3. Click apple pay button
  4. See debugging above.

Expected behavior Order is submitted and redirected to success page with no errors.

Screenshots Above.

Desktop (please complete the following information):

Smartphone (please complete the following information): NA

Additional context magento/product-enterprise-edition version 2.4.6-p6 adyen/module-payment version 9.6.0 adyen/adyen-magento2-expresscheckout version 2.1.0 On a blank Luma theme with no changes to the module, other than the testing as described above. Using Adyen Test account.

khushboo-singhvi commented 4 months ago

Hello @alicedfisheye,

Thank you for bringing this to our attention.

We have created an internal ticket to investigate the scenario you mentioned. Our team is looking into it, and we will provide an update as soon as we have more information.

Thank you for your patience.

Best regards, Khushboo Singhvi