Default icon

Redirecting to the return URL

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.

After authorising the payment, PayPal sends the payment data to Adyen. Adyen then sends an HTTP POST message to the predefined result URL, i.e. the return URL to a specified page on your website. This URL points to an order review page where the shopper can review and update the order, for example by selecting new quantities, or by adding or removing items.

If the shopper updates the order and submits the changes, order recalculation takes place on the merchant's backend; make sure you implement the necessary logic on your end. The HTTP POST message we send you includes:

  • PayPal Express Checkout payment data for the current transaction.
  • We append to the result URL a number of URL query parameters to provide you with transaction status information.

The authResult URL parameter notifies you about the current transaction status:

  • authResult=PENDING: The shopper authorised the payment on PayPal, the payment data is available. The transaction is in progress. You need to send a payment authorisation request to authorise it.
  • authResult=CANCELLED: The shopper either canceled or did not successfully authorise the payment on PayPal. The transaction is canceled.
  • authResult=REFUSED: PayPal refused to initiate the transaction.
  • authResult=ERROR: An error is returned in all other cases.

For further information on the URL query parameters that we return at this point in the flow, refer to Hosted Payment Pages.

HTTP POST return field

After the shopper authorises the payment on PayPal, these are the fields Adyen returns to you:

HTTP POST field

Description

card.holderName

Billing name of the shopper.

billingAddress.street

Street name, as retrieved from the billing address details selected by the shopper on PayPal.

billingAddress.city

City name, as retrieved from the billing address details selected by the shopper on PayPal.

billingAddress.stateOrProvince

State/Region/Province name, if applicable, as retrieved from the billing address details selected by the shopper on PayPal.

.stateOrProvince replaces .state, which is deprecated.

billingAddress.postalCode

Postal code details, as retrieved from the billing address details selected by the shopper on PayPal.

billingAddress.country

Two-letter ISO 3166-compliant country name, as retrieved from the billing address details selected by the shopper on PayPal.

shopper.firstName

First name/Surname of the shopper, as retrieved from the shipping address details selected by the shopper on PayPal.

shopper.lastName

Last name/Family name of the shopper, as retrieved from the shipping address details selected by the shopper on PayPal.

shopper.telephoneNumber

The contact telephone number, as specified by the shopper on PayPal.

shopperEmail

The contact e-mail address, as specified by the shopper on PayPal.

deliveryAddress.street

Street name, as retrieved from the shipping address details specified by the shopper on PayPal.

deliveryAddress.city

City name, as retrieved from the shipping address details specified by the shopper on PayPal.

deliveryAddress.stateOrProvince

State/Region/Province name, if applicable, as retrieved from the shipping address details specified by the shopper on PayPal.

.stateOrProvince replaces .state, which is deprecated.

deliveryAddress.postalCode

Postal code details, as retrieved from the shipping address details specified by the shopper on PayPal.

deliveryAddress.country

Country name, as retrieved from the shipping address details specified by the shopper on PayPal.

payment.token

Encrypted payment details. You need to include this payment token in the payment request authorise API call you make to Adyen to complete the transaction.