Smart Payment Buttons Overview


PayPal Checkout with Smart Payment Buttons gives your buyers a simplified and secure checkout experience. PayPal intelligently presents the most relevant payment types to your shoppers, automatically, making it easier for them to complete their purchase using methods like Pay with Venmo, PayPal pay later offers, credit card payments, iDEAL, Bancontact, Sofort, and other payment types.

Important: Venmo is not supported in the sandbox.

Try the buttons

Click the Smart Payment Buttons to experience a complete PayPal Checkout flow:

Add the buttons to your website

Now that you've seen the Smart Payment Buttons in action, add the button code to your website. Copy and paste this code into an HTML page and view it in your browser. You'll use the code to start a basic integration.

<script src=""></script>

Tip: To log in to PayPal after you click the Smart Payment Buttons, create a sandbox account.

How the buttons work

Before you begin, here's a big-picture view of how a PayPal Checkout with Smart Payment Buttons integration works:

How the PayPal Checkout integration works

  1. You add the PayPal Smart Payment Buttons to your web page.
  2. Your buyer clicks the button.
  3. The button calls PayPal Orders API to set up a transaction.
  4. The button launches the PayPal Checkout experience.
  5. The buyer approves the payment.
  6. The button calls PayPal Orders API to finalize the transaction.
  7. You show a confirmation to your buyer.


Add a Smart Payment Buttons integration to your website