Closed Gus19 closed 3 years ago
Hello,
I'm starting my paypal integration and I have js errors and I don't understand where they are coming from?
There is my Button :
<PayPalButton amount="2" shippingPreference="NO_SHIPPING" onSuccess={(details, data) => { console.log("Transaction completed", details, data); }} style={{ shape: 'rect', color: 'blue', layout: 'horizontal', label: 'pay', tagline: false }} options={{ clientId: "XX", currency: "EUR" }} />
Thanks for your help !
@Gus19 For me, it was due to having Brave shield and uBlock Origins enabled in the localhost environment. After disabling both of those the errors were gone.
Oh, good to know. Thanks !
Hello,
I'm starting my paypal integration and I have js errors and I don't understand where they are coming from?
There is my Button :
Thanks for your help !