PayPal Button
Learn how the PayPal button simplifies payments for your customers.
Your customers can make PayPal payments through a redirect or by using the PayPal button. Stripe determines whether to present the redirect or the button, but you can configure your pages to increase availability of the button. The PayPal button is available in the Express Checkout Element and Stripe Checkout.
This demo shows the PayPal button in the Express Checkout Element:
Before you start, we recommend you create a PayPal Sandbox account to test your integration.
The PayPal button works in Stripe’s Express Checkout Element. To learn how to integrate PayPal with the Express Checkout Element, see the Express Checkout Element guide.
Recommended options
In certain scenarios, the Express Checkout Element doesn’t support the PayPal button. These scenarios include:
- Shipping address collection is enabled (for recurring payments)
- Phone number collection is enabled
To maximize the chance of presenting the PayPal button, we recommend using the following options when creating the Express Checkout Element.
checkout.js
elements.create('expressCheckout', {
phoneNumberRequired: false,
shippingAddressRequired: false, // Only supported for one-off payments
});
