paypal-js
paypal-js copied to clipboard
The window.paypal global variable is not available.
When I was using it, I got this error when I set failed to load the PayPal JS SDK script Error: The window.paypal global variable is not available.
hi @cuiD2488 we require some more information to be able to investigate you issue. Please use our issue template so we can gather all the information we need.
---
name: 🐞 Bug report
about:
Report a bug with the PayPal JS SDK. Before you create a new issue, please search for similar issues.
It's possible somebody has encountered this bug already.
title: "[Bug] Bug report"
labels: "bug"
assignees: ""
---
### Library used
<!-- paypal-js, react-paypal-js, direct script integration -->
### 🐞 Describe the Bug
A clear and concise description of what the bug is.
### 🔬 Minimal Reproduction
Describe steps to reproduce. If possible, please, share a link with a minimal reproduction.
### 😕 Actual Behavior
A clear and concise description of what is happening. Please include console logs during the time of the issue, especially error messages.
### 🤔 Expected Behavior
A clear and concise description of what you expected to happen.
### 🌍 Environment
- Node.js/npm: -
- OS: -
- Browser: -
### ➕ Additional Context
Add any other context about the problem here.