react-paypal-js
react-paypal-js copied to clipboard
[BUG]: Paypal buttons not rendering
Is there an existing issue for this?
- [X] 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
Code of Conduct
- [X] I agree to follow this project's Code of Conduct
➕ Anything else?
No response
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?~