alt

Important information

Unzer

PayPal Express

Learn more about PayPal Express and its payment workflow.

Payment workflow

The following diagram explains workflow for PayPal Express payments.

PayPal Express workflow

Step 1: Create a PayPal payment type resource.

A resource ID is generated in the response and is used in the workflow to complete the payment.

Step 2:
(Option 1): Make a charge transaction with the PayPal resource that you created.
(Option 2): Make an authorize transaction with the PayPal resource you created.

Step 3:
(Option 1): Forward the customer to the redirectUrl that is displayed in the charge response.
(Option 2): Forward the customer to the redirectUrl that is displayed in the authorize response.

Step 4:
(Option 1): Once the customer makes the payment at PayPal, redirect the customer to the returnURL specified in the initial charge call.
(Option 2): Once the customer authorizes the payment at PayPal, redirect the customer to the returnURLspecified in the initial authorize call.

Step 5: The shipping and billing address from the PayPal wallet is displayed on the summary page that the customer finally confirms.

Step 6: After the transaction, display the result to the customer in the front end of the online shop.

Step 7: (Option 2 only) When you are ready to capture the authorized payment, create a charge using the paymentId from the authorize response.

Integration options

Use pre-built forms and quickly integrate with minimum work on the client side

Integrate with Unzer using your own payment form