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.

We use cookies to improve your experience on our site. May we use marketing cookies to show you personalized ads? Manage all cookies