To create pay buttons:
- You first need to have a Payburner Wallet (click to install)
- In your Payburner Wallet, click on your profile icon, and then open
Pay Button Manager
. - Click on the
+ shopping cart
icon and then enter the information for your pay button. - Once the pay button has been created, Click on the
more
icon and then selectEmbed
. You will receive instructions for installing the pay button.
- Put a script tag similar to this
<script src="https://www.payburner.com/payburner.js"></script>
in the head of your index.html to import payburner. - Put a script tag similar to this
<script src='https://unpkg.com/@payburner/paybutton.js@^0.0.13/dist/pay-button.js'></script>
in the head of your index.html to load the component - Then you can use the element anywhere in your template, JSX, html etc