Configuring the Pay Now Button
Last updated
Last updated
To configure the Pay Now button to your website:
Copy the following example code.
Paste it into your web page.
Add a link to the clearent.js
script.
Enter the Merchant ID into {MID}
.
Enter the Terminal ID into {TID}
.
Add clearent-hpp
as an ID in the code.
Enter the sales amount into the amount
field in the code. For example, 64.50
Add the Clearent.payButton()
method call to the code.
The following button link will be displayed to accept payments and donations on your website.
When your customers click the Pay Now button to pay, the following hosted payment page will be displayed. The hosted payment page has fields to enter the card details for your customers.