In-Context Checkout flow
Important: Integration with
checkout.jsV3.5 is Deprecated. For the latest integration information, see the PayPal Express Checkout Integration Guide.
The enhanced PayPal Express Checkout with In-Context gives your customers a simplified checkout experience that keeps them local to your website throughout the payment authorization process and enables them to use their PayPal balance, bank account, or credit card to pay without sharing or entering any sensitive information on your site.
Note: This flow replaces the classic Express Checkout full-page redirect checkout flow.
Customers remain on your website, which ensures a natural and user-friendly checkout experience. This flow complements your existing payment solution and gives your buyers another way to pay. Online shoppers appreciate the convenience and security of PayPal.
On desktops, customers check out in a secure window that overlays your website. On tablets and smart phones, customers access the PayPal payment screens in full-page mode.
The following steps correspond to the steps in the diagram:
To check out with PayPal, the buyer clicks the PayPal Check out button.
In response to the button click, these actions occur:
In the secure window that overlays your website, the buyer logs in to PayPal.
The buyer reviews and authorizes the PayPal payment.
After the buyer clicks Continue to approve the payment, PayPal redirects the buyer to the return URL with the payer ID and payment ID values appended. The return URL is the value that you specified in the
Optionally, you can show payment details to the buyer. Use the
The confirmation page triggers an execute payment call. This call uses the
Meet the prerequisites to integrate the Express Checkout with In-Context flow.