Use Case for SDK upgrade

The PayPal JavaScript SDK is a client-side library that enables you to integrate PayPal payment buttons and checkout experiences directly into your website. The SDK handles the complexity of payment processing, security, and compliance while giving you control over the look and feel of your checkout experience.

If you're currently using older checkout.js or JavaScript SDK v5, it's time to upgrade to JavaScript Web SDK v6. The v6 SDK offers significant improvements in performance, security, features, and developer experience. This upgrade ensures your integration stays current with PayPal's latest payment technologies and continues to receive support and updates.

Use case identification

This page is specifically for merchants who have integrated PayPal's legacy JavaScript SDK and need to upgrade to JavaScript Web SDK v6.

1. JavaScript SDK v5

You're using JavaScript SDK v5 if your website includes PayPal payment functionality through a script tag that loads the PayPal SDK. The v5 SDK may have been used to implement various payment scenarios including standard checkout, subscription payments, or advanced card payments.

How to identify if you're using JavaScript SDK v5

Check your website's code for any of these indicators:

<script src="https://www.paypal.com/sdk/js?client-id=YOUR_CLIENT_ID"></script>

Recommended: Upgrade to JavaScript Web SDK v6

Key Features
  • Standard PayPal checkout buttons
  • Direct credit card processing with hosted fields
  • Various payment options in a single integration
  • Requires API integration and development work

View JavaScript SDK v5 to v6 upgrade guide >

Integration Pattern