2

I'd like to use paypal.button.create from the JavaScript API of PayPal Payment Buttons. I'm wondering if there is a file on paypalobjects.com where I can access the API? It doesn't seem to be part of www.paypalobjects.com/js/external/paypal-button.min.js or www.paypalobjects.com/js/external/paypal-button-minicart.min.js.

Baring that any info on how I can go about using paypal.button.create would be appreciated. I'm a JavaScript newb.

1 Answer 1

2

Grab this script from Github:

https://github.com/paypal/JavaScriptButtons/blob/master/dist/button.js and call it:

paypal.button.create(business, data, config, parentNode); 
Sign up to request clarification or add additional context in comments.

Comments

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.