Configuring the Pay Now Button
Last updated
Was this helpful?
Last updated
Was this helpful?
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}
.
Note: Merchant ID must be a 16-digit number.
Enter the Terminal ID into {TID}
.
Note: Terminal ID must be a 16-digit number.
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.