Import saved PayPal payment methods
Learn how to import saved payment methods from PayPal.
You can import PayPal billing agreements created outside of Stripe and reuse them through the Stripe integration.
Before you begin
Follow the instructions in Set up future PayPal payments to enable recurring payments support.
Import PayPal billing agreements to StripeServer-side
You can use the billing_agreement_id parameter of a Setup Intent to import an active PayPal billing agreement to Stripe. The resulting PaymentMethod allows you to charge your existing customer’s PayPal account without the customer needing to reauthorize the billing agreement. This guide shows the steps you need to follow.
Create a CustomerServer-side
Create a Customer object when your customer creates an account on your business. Associating the ID of the Customer object with your own internal representation of a customer lets you retrieve and use the stored payment method details later. If your customer hasn’t created an account, you can still create a Customer object now and associate it with your internal representation of the customer’s account later.
Attach a payment methodServer-side
After you create a customer, attach a payment method by creating a Setup Intent.
Use your saved payment methodServer-side
Follow the instructions in Set up future PayPal payments to use this payment method to charge your customers.