Simple Checkout

Overview

Welcome to the SIMPLE CHECKOUT documentation.

A Simple Checkout Link is a streamlined method for merchants to accept online payments without the need for complex integrations or extensive programming knowledge. This link directs customers to a secure payment page hosted by ifthenpay, where they can easily complete their transactions.

If you’re not familiar with programming, use this method to easily sell your products or receive payments.

You will need an 'GATEWAY KEY' provided by ifthenpay, assigned to your merchant account. If you do not have this 'GATEWAY KEY', please contact ifthenpay.

You can also request that the gateway is pre-configured with the specific payment methods you wish to use.


ifthenpay offers free technical support to all customers through the following channels:



« go to index

 

Explanation

To set up a Simple Checkout Link for processing payments, please use the following endpoint format:

URL Structure:
https://gateway.ifthenpay.com/?token=[TOKEN]&id=[ID]&amount=[AMOUNT]&description=[DESCRIPTION]&expire=[EXPIRE]&lang=[LANG]

Example:
https://gateway.ifthenpay.com/?token=NRHP-946826&id=10501&amount=10.50&description=Order No. 2010501&expire=20291029&lang=PT

Parameters and Descriptions:

Additional Optional Parameters:

 

Implementation Example

In this example, we demonstrate how to create a payment option using the Simple Checkout Link. This approach allows you to easily integrate payment processing into your website without the need for complex API setups.

Button:
You can create a button that, when clicked, redirects users to the payment page. This button utilizes the Simple Checkout Link format. Here’s an example:

<a href="https://gateway.ifthenpay.com/?token=NRHP-946826&id=10501&amount=10.50&description=Order+No.+2010501&expire=20251029&lang=EN" target="_blank">
<button style="padding: 10px 20px; font-size: 16px; cursor: pointer;">Pay Now</button>
</a>

This code will display a button labeled "Pay Now" that opens the payment page in a new tab when clicked.

Link:
Similarly, you can create a hyperlink that takes the user to the payment page. Here’s how to set up the link:

<a href="https://gateway.ifthenpay.com/?token=NRHP-946826&id=10501&amount=10.50&description=Order+No.+2010501&expire=20251029&lang=EN" target="_blank">Pay Now</a>

This will display a clickable text link that users can follow to complete their payment.

Pay Now

Conclusion

Both the button and the link utilize the same Simple Checkout URL structure, which includes necessary parameters such as the payment token, order ID, amount, and description. By implementing these options on your site, you provide a straightforward and efficient way for customers to process their payments.