JavaScript SDK

SDKCurrentLast updated: August 9th 2021, @ 6:22:30 am


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 (hosted-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.