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

Merged
merged 6 commits into from
Nov 25, 2024

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

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

SushmitaThakur
SushmitaThakur previously approved these changes Nov 19, 2024
Copy link

Copy link

@khushboo-singhvi khushboo-singhvi merged commit 18e2968 into main Nov 25, 2024
13 of 14 checks passed
@khushboo-singhvi khushboo-singhvi deleted the ECP-9098 branch November 25, 2024 09:25
@candemiralp candemiralp added the Fix Indicates a bug fix label Nov 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Fix Indicates a bug fix
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
4 participants