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] Validate terms and agreements checkboxes for PayPal #2759

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

RokPopov
Copy link
Contributor

Description
When attempting to proceed with PayPal payment, if the Terms and Conditions checkbox is not selected, and the shopper tries to pay, the shopper experiences an infinite loading screen in the PayPal popup window. This PR addresses this issue by validating the terms and agreements first.

Tested scenarios

  • Successful payment with PayPal, card and redirect
  • Refreshing the screen during payment, to ensure there are no race conditions in the DOM loading

Fixes #2613

Copy link

sonarcloud bot commented Sep 30, 2024

Quality Gate Failed Quality Gate failed

Failed conditions
C Maintainability Rating on New Code (required ≥ A)

See analysis details on SonarCloud

Catch issues before they fail your Quality Gate with our IDE extension SonarLint

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

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