Express Checkout with In-Context flow
Important: This integration method is deprecated as of January 1, 2017. PayPal continues to support existing merchants using this method, but please be advised new features and enhancements will not be applied to these integrations. For new integrations, see the PayPal Checkout Integration Guide.
Express Checkout with In-Context offers a streamlined checkout flow that keeps customers local to your website throughout the payment authorization process. With this flow, customers remain on your website, which ensures a natural and user-friendly checkout experience.
On desktops, customers check out in a secure window that overlays your website. On tablets and smart phones, the PayPal payment screens are optimized for 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:
- A successful create payment call returns an alphanumeric token, in EC-123456789 format.
In a 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 returns the buyer to your website to review the charges and transaction details on your confirmation page. You make a GetExpressCheckoutDetails call to get the details of the buyer from PayPal.
When the buyer confirms payment, a DoExpressCheckoutPayment call is triggered and executes the payment.
Review the prerequisites.
Read the guidelines for designing an the optimal checkout flow.