PayPal Checkout Overview

PayPal Checkout gives your buyers a simplified and secure checkout experience that keeps them local to your website or mobile app throughout the payment process.

With new features like Smart Payment Buttons, you intelligently present the most relevant payment types to your shoppers, automatically, making it easier for them to complete their purchase using methods like Pay with Venmo (available on mobile web in U.S. markets), PayPal Credit, and local alternative payment types.

PayPal Checkout vertical button layout

To integrate PayPal Checkout, you use the checkout.js JavaScript code. This code always keeps you current with the latest button styles and payment features. Before you begin, here's the big-picture view of how a PayPal Checkout integration works:

How the PayPal Checkout integration works

  1. Copy our code to add the PayPal Checkout button to your web page.
  2. Your buyer clicks the button.
  3. The button calls the PayPal REST API to set up a payment and retrieve a Payment ID.
  4. The button launches the PayPal Checkout flow.
  5. The button calls the REST API to execute the payment.
  6. You show an optional confirmation message to your buyer.

Integration options

PayPal Checkout offers three integration options. You can simply set up and collect payments from your web browser (client integration), set up and execute payments from your web server (server integration), and integrate through the Braintree SDK to set up and execute payments on mobile apps and your web server.

Choose your integration:

  • Simply add PayPal to your checkout experience

    • The simplest and quickest PayPal Checkout integration.
    • Use this integration if you want to use the PayPal Checkout button to set up and execute payments directly from your browser.
    • Best for mobile and web browsers.
  • Gain flexibility with direct REST API integration

    • Direct API integration allows instant capture, authorize capture, refunds, and transaction reporting.
    • Best for mobile and web browsers.
  • Easily integrate with an end-to-end solution

    • The Braintree SDK is an end-to-end, secure payment solution that easily integrates across platforms.
    • Use this configuration if you want easier integration using the Braintree SDK for both client and server integration.
    • Works with native mobile apps.


Create a simple button with only a few lines of code.