Load the Hosted Payment Page
An AI skill is available for this guide, get it on the Skills Marketplace (GitHub).
When your customer wants to save their payment details, load the Hosted Payment Page. To do this, add a button to your checkout page that sends a POST request to our gateway. When we receive the POST request, the Hosted Payment Page loads and the customer can submit their payment details.
Note: The Hosted Payment Page doesn’t return a transaction type in the transaction response. Because you can run sales, run pre-authorizations, and save a customer’s payment details, we recommend that you record the transaction type in your system.
You can also use this page to update a customer’s payment details. When you load the Hosted Payment Page, provide the MERCHANTREF to indicate the customer’s secure token that you want to update and send a value for the ACTION parameter of update instead of register.
Send a POST request to load the Hosted Payment Page
To load the page, send a POST request to the Secure Card Page URL.
Request parameters
To create the body of your request, use the following parameters: