Hosted Payment Page
Through this payment method, the customer remains on the merchant's e-commerce until the time of checkout, is then redirected to the gateway checkout page to make the payment, and then returns to the merchant's site at the end of the transaction.
With this solution, in addition to payment cards, it is possible to make payments with other methods such as PayPal, using the appropriate buttons on the checkout page. To use these alternative methods, you need to activate and configure them in the payment gateway back office.
From the back office it is possible to customize the checkout page by inserting the logo of your shop.
The payment page is made with responsive technology to be usable via web and mobile devices.
To integrate this solution it is necessary to implement the API POST /orders/hpp.
Payment flow:
- The customer chooses the gateway and proceeds to pay.
- The merchant's server initiates the payment via the API call POST /orders/hpp.
- The payment gateway returns the address of the payment page ("hostedPage" parameter) and the token needed to validate calls with the gateway ("securityToken" parameter).
- The token must be held by the merchant's server for authentication of subsequent calls with the payment gateway.
- The merchant's server redirects the customer to the address indicated in the "hostedPage" parameter.
- The customer enters the card details on the gateway checkout page and proceeds with the authentication.
- The payment gateway redirects the customer to the authentication page of their card issuer.
- The customer proceeds with 3D Secure authentication.
- The authorization system returns the authentication result to the gateway.
- The customer is redirected to the gateway.
- The customer views the gateway transaction result page.
- The customer is redirected to the merchant's server result page indicated in the "resultUrl" start parameter.
- The customer views the order outcome page.
- The merchant's server retrieves the outcome of the transaction made via the API call GET /orders/{orderId}. li>
- The payment gateway returns the status of the transaction.
- The merchant's server shows the outcome of the transaction to the customer.
- Notification with order status and securityToken. It could be sent both before and after the customer redirects on the merchant's ecommerce outcome pages.
Through the Hosted Payment Page, in addition to normal payments, it is possible to proceed with card verification and pre-authorizations.