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

The window.paypal global variable is not available.

Open cuiD2488 opened this issue 2 years ago • 2 comments

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.

cuiD2488 avatar Oct 11 '23 08:10 cuiD2488

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.

wsbrunson avatar Feb 14 '24 20:02 wsbrunson