Paypal payments

The PayPal payment object and the allowed CRUD operations on the related resource endpoint

PayPal payments are a type of payment source that lets you process payments through PayPal gateways.

PayPal payments can be created and associated with an order in a few steps:

  1. Create a PayPal payment, passing a valid return_url and cancel_url

  2. Get the approval_url from the response

  3. Redirect the customer to the approval URL

  4. Get the paypal_payer_id from the return URL parameters

PayPal payments are one-time payment sources and cannot be saved in customer wallets.

Last updated