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

[BUG]: Sometimes buttons are not displayed

Open nam-truong-le opened this issue 1 year ago • 2 comments

Is there an existing issue for this?

  • [X] I have searched the existing issues.

🐞 Describe the Bug

Sometimes paypal buttons are not displayed. I inspect the state and it looks good to me:

{
  "options": {
    "clientId": "...",
    "currency": "USD",
    "dataJsSdkLibrary": "react-paypal-js",
    "dataSdkIntegrationSource": "react-paypal-js",
    "data-react-paypal-script-id": "react-paypal-js-..."
  },
  "loadingStatus": "resolved",
  "isInitial": false,
  "isPending": false,
  "isResolved": true,
  "isRejected": false
}

😕 Current Behavior

No response

🤔 Expected Behavior

No response

🔬 Minimal Reproduction

No response

🌍 Environment

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

Relevant log output

No response

Code of Conduct

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

➕ Anything else?

No response

nam-truong-le avatar Apr 22 '24 21:04 nam-truong-le

This is also happening on my end. However, I think it has to do with eligibility. However, I don't see a way to handle this using this react component. I am handling this button.IsEligible() in javascript in a different area and my message pops up and tells the customer the issue.

crypticspawn avatar May 29 '24 23:05 crypticspawn

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 avatar Jun 10 '24 19:06 wsbrunson

This issue has been automatically marked as stale. If this issue is still affecting you, please leave any comment (for example, "bump"), and we'll keep it open. We are sorry that we haven't been able to prioritize it yet. If you have any new additional information, please include it with your comment!

github-actions[bot] avatar Sep 09 '24 00:09 github-actions[bot]

Closing this issue after a prolonged period of inactivity. If this issue is still present in the latest release, please create a new issue with up-to-date information.

github-actions[bot] avatar Sep 16 '24 00:09 github-actions[bot]