JavaScript SDK

SDKCurrentLast updated: April 6th 2022, @ 4:06:12 pm


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.

See also

Create copy and paste pay links and buttons.