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 #513

Open
2 tasks done
hexluxiang opened this issue May 15, 2024 · 1 comment

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

@wsbrunson
Copy link
Member

wsbrunson commented Jun 10, 2024

We have moved this repository to our paypal-js monorepo: https://github.com/paypal/paypal-js

We will be archiving this repo at the end of the day which will turn off Issues activity. If this is still an issue for you, please re-open this issue here:

Transferring this issue here: https://github.com/paypal/paypal-js/issues

@wsbrunson wsbrunson transferred this issue from paypal/react-paypal-js Jun 10, 2024
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

3 participants
@wsbrunson @hexluxiang and others