Skip to content

ffrontend/JavaScriptButtons

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

HTML payment buttons

Integrating with our HTML payment buttons are as easy as including a snippet of code. We have two flavors of buttons for you to use:

Buy Now

Buy Now buttons are for single item purchases.

<script src="paypal.js"
    data-paypal-checkout="buy-now"
    data-paypal-button="true"
    data-paypal-business="12345abc"
    data-paypal-item-name="Buy me now!"
    data-paypal-amount="1.00"
></script>

Go ahead and try it out

Add To Cart

Add To Cart buttons lets users add multiple items to their PayPal cart.

<script src="paypal.js"
    data-paypal-checkout="cart"
    data-paypal-button="true"
    data-paypal-business="12345abc"
    data-paypal-item-name="Add me to cart"
    data-paypal-amount="1.00"
></script>

Prepare to be amazed with this one

API payment buttons

<script src="paypal.js"
    data-paypal-checkout="api"
    data-paypal-button="true"
></script>

About

JavaScript for creating dynamic buttons that enable PayPal checkout

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors