JavaScript SDK

SDKCurrent

Last updated: Sept 12th, 5:37pm

The JavaScript SDK displays PayPal-supported payment methods on your page to give your buyers a personalized and streamlined checkout experience.

You can use the JavaScript SDK to render buttons, payment method icons (marks), and credit and debit card form fields (card-fields). You can also use the JavaScript SDK to check the funding-eligibility of a given payment method.

Configuration

Configure and customize your integration by passing query and script parameters in the JavaScript SDK script. These parameters personalize your setup and help PayPal decide the optimal funding sources and buttons to show to your buyers.

Reference

The complete JavaScript SDK reference for the objects and methods.

Performance optimization

Optimize loading the JavaScript SDK and rendering the payment buttons for the best performance.

See also

Create copy and paste pay links and buttons.

If you accept cookies, we’ll use them to improve and customize your experience and enable our partners to show you personalized PayPal ads when you visit other sites. Manage cookies and learn more