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

[BUG]: Clicking on credit card payment has a probability of triggering PayPal's payment pop-up window #436

Open
2 tasks done
hexluxiang opened this issue May 15, 2024 · 0 comments

Comments

@hexluxiang
Copy link

hexluxiang commented May 15, 2024

Is there an existing issue for this?

  • I have searched the existing issues.

🐞 Describe the Bug

There are two buttons on the page, one is PayPal Pay and the other is Credit Card Pay. In some cases, clicking on Credit Card Pay will pop up a payment window with PayPal content。

😕 Current Behavior

null

🤔 Expected Behavior

Click on the credit card to pay 100% correctly and the credit card payment window will pop up

🔬 Minimal Reproduction

1. open link https://paypal.github.io/react-paypal-js/?path=/docs/example-paypalbuttons--default;
2. Find the button example inside;
3. There is a probability that when switching back and forth between PayPal and credit card payments, clicking the credit card button will pop up the PayPal payment window;

🌍 Environment

| Software         | Version(s) |
| ---------------- | ---------- |
| react-paypal-js  | 7.8.1           |
| Browser          |  124.0.6367.208 |
| Operating System | Win10      |

Relevant log output

No response

Code of Conduct

  • I agree to follow this project's Code of Conduct

➕ Anything else?

i need help
911 911 911
! thanks!
No response

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

No branches or pull requests

1 participant