Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[ECP-9098] PayPal not working when T&C's are not checked #2613

Open
Axel29 opened this issue May 14, 2024 · 2 comments · May be fixed by #2659
Open

[ECP-9098] PayPal not working when T&C's are not checked #2613

Axel29 opened this issue May 14, 2024 · 2 comments · May be fixed by #2659
Assignees
Labels
Bug report Indicates that issue has been marked as a possible bug

Comments

@Axel29
Copy link

Axel29 commented May 14, 2024

Describe the bug
Paypal's popup loads indefinitely when the terms and conditions are required but not checked by the customer.

To Reproduce

  1. [ADMIN] Create checkout T&C (Stores > Settings > Terms and Conditions)
  2. [ADMIN] Make these T&C required (Stores > Settings > Configuration > Sales > Checkout > Checkout Options > Enable Terms and Conditions)
  3. [FRONTEND] Select PayPal as a payment method
  4. [FRONTEND] Click on the "PayPal" yellow button that opens the PayPal dialog that allows the customer to pay

Expected behavior
PayPal's website is loaded and the customer can finalize the order.

Actual behavior

  • PayPal's website dialog is opened but the loader never ends.
  • If the customer closes the dialog, checks the T&C checkbox and click again on the PayPal yellow button, nothing happens, he is forced to reload the page and restart the checkout process.

Magento version
2.4.5-p1

Plugin version
9.5.1

Desktop (please complete the following information):

  • OS: Ubuntu 22.04
  • Browser Chrome
  • Version 124.0.6367.201 (Official Build) (64-bit)

Additional context
Tried disabling every other module and going back to the Magento_Blank theme, didn't change anything.
If the T&C are checked, the PayPal dialog loads correctly and the order can be placed.

Here's a video of the bug:

Adyen-PayPal-Bug.mp4
@Axel29 Axel29 added the Bug report Indicates that issue has been marked as a possible bug label May 14, 2024
@RokPopov RokPopov changed the title PayPal not working when T&C's are not checked [ECP-9098] PayPal not working when T&C's are not checked May 16, 2024
@RokPopov
Copy link
Contributor

Hi @Axel29

Thank you for reporting this issue. There was already a similar issue reported for GooglePay and ApplePay here. Altho the behaviour is different, we believe the underlying reason is the same for both issues. I am updating the internal ticket we created to investigate the issue with the additional information you reported.

I will be closing the ticket as of now. For the progress, you can track the original reported issue.

Kind regards,
Rok

@RokPopov RokPopov self-assigned this May 16, 2024
@Axel29
Copy link
Author

Axel29 commented May 16, 2024

Hi @RokPopov ,

Thank you for the update.
For your information, I tried the patch given in the other issue by sarfarazbheda but it didn't work out.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug report Indicates that issue has been marked as a possible bug
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants