PayPal Checkout Overview

APILegacyLast updated: May 18th 2022, @ 4:02:27 pm


PayPal Checkout 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 such as Pay with Venmo, PayPal pay later offers, credit card payments, iDEAL, Bancontact, and other payment types.

Important: Venmo is not supported in the sandbox.

Try the buttons

Click the payment buttons to experience a complete PayPal Checkout flow:

Add the buttons to your website

Now that you've seen the 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="https://www.paypal.com/sdk/js?client-id=test"></script>
<script>paypal.Buttons().render('body');</script>

Tip: To log in to PayPal after you click a payment button, create a sandbox account.

How the buttons work

Before you begin, here's a an overview of how a PayPal Checkout integration works:

How the PayPal Checkout integration works

  1. You add the PayPal Checkout 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.

Next

Add a PayPal Checkout integration to your website.