skip to Main Content

Using the PayPal Donate SDK with my own HTML button

I've created a PayPal donation button using their Donate SDK, as documented here: https://developer.paypal.com/sdk/donate/ The resulting code looks like this: <div id="donate-button-container"> <div id="donate-button"></div> <script src="https://www.paypalobjects.com/donate/sdk/donate-sdk.js" charset="UTF-8"></script> <script> PayPal.Donation.Button({ env:'production', hosted_button_id:'MY_ID_HERE', image: { src:'https://www.paypalobjects.com/en_US/i/btn/btn_donate_LG.gif', alt:'Donate with PayPal button', } }).render('#donate-button');…

VIEW QUESTION
Back To Top
Search