Passer au contenu
Français - France
  • Il n'y a aucune suggestion car le champ de recherche est vide.

HiPay Enterprise – Adding a “one-click” button using the Hosted Page/iFrame

1. Displaying a checkbox on your website

First, on your website, you need to display a checkbox asking customers if they want to save their card to pay in “one-click”.

 

2. Displaying the Hosted Page/iFrame for the first payment

Then, according to their choice, please refer to this article to generate the hosted payment page and iFrame.

Please specify the following values:

 

3. Saving card data in your database

In the API response and server-to-server notification, you will receive the card information including the card token. You should save the following data in your database:

 

4. For the next payments, triggered by a “one-click” button

Create a “one-click” button on your website that triggers a call to HiPay’s Order API when customers click on it.

Service endpoints

 

Request parameters

 

Payment settings

 

Customer information