PayPal Express Checkout Shortcut will be deprecated by November 1, 2024.
We will release the new PayPal Express Checkout on Web Drop-in/Components in April 2024.
The shopper enters the order data and initiates the payment. You send the submitted information using the following call with an HTTP POST message as:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1- strict.dtd">
<html data-brandcode="paypal_ecs" data-page-model="multi-page" xml:lang="en" xmlns="http://www.w3.org/1999/xhtml">
<head>
<body>
<form method="post" action="https://live.adyen.com/hpp/skipDetails.shtml" id="adyenForm" name="adyenForm" onsubmit="return formValidate(this ,'default' );" autocomplete="off">
<input type="hidden" name="merchantSig" value="3iWDU/V5RMtdaiZC4YRIpoX9/v0=" />
<input type="hidden" name="sessionValidity" value="2015-04-02T09:52:42Z" />
<input type="hidden" name="merchantAccount" value="TestMerchant" />
<input type="hidden" name="paymentAmount" value="8650" />
<input type="hidden" name="currencyCode" value="EUR" />
<input type="hidden" name="skinCode" value="aF563qQs" />
<input type="hidden" name="merchantReference" value="TMRef1234" />
<input type="hidden" name="brandCode" value="paypal_ecs" />
<input type="hidden" name="shipBeforeDate" value="2017-04-08" />
<input type="submit" value="{PayPal-branded pay button}" />
</form>
</body>
</html>
For further details on the payment request fields included in this HTTP POST message example, see Hosted Payment Pages.
On the PayPal website, you can download PayPal-branded buttons for displaying on your site. To enable skins, contact our Support Team.
Before processing a request, make sure that PayPal has enabled the Request Billing Address option on your PayPal account. To enable this, contact PayPal.
Redirecting
The submitted order form on your site sends the data to the Adyen specified in the action attribute of the form element: https://test.adyen.com/hpp/details.shtml
The paypal_ecs BrandCode
value in the Customer Area sets the corresponding brandCode
attribute value on the HTML page.
The data redirects to the PayPal site, where Express Checkout initiates. A redirect takes the shopper from your site to the PayPal login page.
After logging in with their PayPal credentials, the shopper should:
- Choose a shipping address from the available ones in their PayPal account or add a new shipping address.
- Choose the preferred card for the payment or add a new card.
- Authorise the payment.