react-paypal-js icon indicating copy to clipboard operation
react-paypal-js copied to clipboard

[BUG]: Paypal buttons not rendering

Open rash09 opened this issue 1 year ago • 1 comments

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

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

Code of Conduct

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

➕ Anything else?

No response

rash09 avatar May 03 '24 09:05 rash09

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

wesbos avatar May 03 '24 14:05 wesbos