With this option you will be in charge of handling the checkout page, the payment methods and form, as you will only integrate the HiPay Entreprise platform to process the transaction for you.
In this case, the payment page is hosted on your website, allowing you to have a unified, fully customized workflow.
orderid: unique order id. Ex: ORDER_1583157210
description : order short description. Ex. Sales
amount : Total order amount. Ex: 9.99
currency : Order ISO 4217 three-character currency code. Ex: EUR
payment_product : The payment method used to proceed checkout. Ex: visa
Please note that:
cardtoken : This is a token HiPay for a credit or debit card. Ex: ef3b4d50325268e59d216c0b053a4f5c7eb559f9abeca0ef178ea1941b2d156a
- If you want to execute transactions with credit or debit card payment products, you will need to tokenize card numbers beforehand by using either the JS SDK or the HiPay Entreprise Tokenization API.
- Depending on the payment product, parameters specific to the payment method are required.
We recommend you to use a client request timeout of 60 seconds.
Indeed, some API requests may take longer than expected because they rely on different actors.
If your client request timeout is too short and the response takes longer, the transaction will be paid and created at HiPay but your end user will have an error.
Our PHP SDK allows you to easily change this value.