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]: Paypal buttons not rendering #434

Open
2 tasks done
rash09 opened this issue May 3, 2024 · 2 comments
Open
2 tasks done

[BUG]: Paypal buttons not rendering #434

rash09 opened this issue May 3, 2024 · 2 comments

Comments

@rash09
Copy link

rash09 commented May 3, 2024

Is there an existing issue for this?

  • I have searched the existing issues.

🐞 Describe the Bug

Have integrated paypal in my SPA react application and in the browser network can see the successful calls by paypal APIs, however, I don't see the buttons displayed on the page. below is the attached screenshot where the div wrapper block has empty class attribute, not sure if that is causing the display issue.

Note: This react application is wrapped with Azure B2C authentication, not sure if that is blocking the buttons as I tested this integration with a simple react application and is working as expected.

😕 Current Behavior

When i load the page, paypal buttons are not visible on the page.

🤔 Expected Behavior

When i load the page , i need to view the paypal buttons

🔬 Minimal Reproduction

No response

🌍 Environment

| Software         | Version(s) |
| ---------------- | ---------- |
| react-paypal-js  |  8.0.5     |
| Browser          |124.0.6367.118         |
| Operating System |   IOS  Ventura 13.6.6 (22G630)         |

Relevant log output

Uploading Screenshot 2024-05-05 at 9.40.56 PM.png…

Code of Conduct

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

➕ Anything else?

No response

@wesbos
Copy link

wesbos commented May 3, 2024

Edit: never mind - i'm an idiot and changed env variables.

Mine stopped working today too. Getting a 404 on the paypal SDK load. Same for you?

Screenshot 2024-05-03 at 10 33 33 AM

@wsbrunson
Copy link
Member

hi @rash09 , I don't think your screenshot uploaded. Can you try uploading it again and send over how you are setting up PayPalScriptProvider and PayPalButtons?

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