- Save cards, PayPal, and Venmo with the JS SDK
- Save cards and PayPal with the Orders API
Last updated: May 14th, 4:15pm
Save payment methods so payers don't have to enter details for future transactions. Payers can check out faster or pay without being present after they agree to save a payment method.
Use the JavaScript SDK to save a payer's card if you aren't PCI Compliant - SAQ A but want to save credit or debit cards during checkout.
A payment method is saved and exchanged for a unique token through a process called tokenization. The token is stored securely and used instead of the original account number.
The benefits of using saved payment tokens include:
Supports transactions with or without payer present
You can save a payment method for on or off-session purchases. If the payer is present, they can select to pay with their saved payment method, or a different one. If the payer is not present, you can charge their saved payment method.
PayPal can save the following payment methods to the vault:
To save credit and debit cards, ensure you are approved to process Expanded Checkout.
See supported countries:
Enable PayPal vaulting in your Developer Dashboard for sandbox testing and production.
Warning: PayPal requires Risk Data Acquisition (RDA) to reduce fraud. You must implement risk data collection for all customer-initiated transactions (CIT) that use PayPal and Venmo Payment Tokens. Payment attempts that are missing RDA data are likely to be declined due to insufficient risk identifiers. Use the PayPal FraudNet and Magnes libraries to collect and pass RDA data during payment processing.
