Crypto currency payment solutions

Quick accessSignIn/SignUpnoborder.companySupportBalances

Receiving crypto servicesSetting up Website payment gate

Back
Back
Back
Back
This section lets you configure a payment gateway for your website. This service does not have any restrictions, so you can offer your services or products to customers all over the world. To get started, simply submit your website address and receive an API key. Then, by following the tutorial, you'll be able to set up a dedicated payment gateway for your website.
Guide to connecting the site to the payment gateway
Ready to use plugins
In the WordPress admin panel, click on the Plugins option from the main menu. Then, from the opened submenu, select the new plugin option. On the page that opens, click the upload button next to the page title to display the plugin upload form.

Select the file related to the plugin through the Browse button and click on the install button. After a few seconds, the plugin will be installed. Then click on the activation button to activate the plugin.

To configure, customize and manage the plugin, refer to the WooCommerce from main menu » Settings » Payment methods.
Download the plugin file and unzip it. Then, in the file manager section of the hosting management panel (such as cPanel, Direct Admin, Plesk, etc.), go to the following path and upload the plugin file.

/Public_HTML/modules/gateways/

After uploading the plugin file, go to the WHMCS admin panel and select the payment gateways tab from the settings option. On the new page, select the "all payment gateways" tab, then find the noBorder from the list, and click on it.

On the new page, activate the plugin and customize fields based on your desire.
Download the plugin file and unzip it. Then, in the file manager section of the host's panel (such as cPanel, Direct Admin, Plesk, etc.), go to the following path and upload the plugin folder.

/Public_HTML/modules/

After uploading the entire folder, go to the modules manager in the PrestaShop admin panel and select the module management tab from the modules option. Scroll a little on the new page, find the DigiDargah.com option from the list of modules, and click on the install button.

After installation, click on the modify button and apply the desired settings to the corresponding fields.
In the WordPress admin panel, click on the Plugins option from the main menu. Then, from the submenu, select "New plugin". On the next page, click on upload button next to the page title to display the upload form.

Select the plugin file and click on the install button. After a few seconds, the plugin will be installed. Then click on the activation button to activate the plugin.

To activate, set and manage the plugin, refer to the gravity forms menu » Settings » noBorder.
In the WordPress admin panel, click on the Plugins option from the main menu. Then, from the submenu, select "New plugin". On the next page, click on upload button next to the page title to display the upload form.

Select the plugin file and click on the install button. After a few seconds, the plugin will be installed. Then click on the activation button to activate the plugin.

To activate, set and manage the plugin, refer to the Downloads menu » Settings » Payments.
This sample code is written based on the PHP programming language, and to use it, just unzip the file and upload it to your host. Also, if you are familiar with programming concepts, you can use the code provided on your website.

This code sample displays the list of the latest transactions done on your website gateway by receiving the API.
To connect to the gate, after registering your website and receiving the API key, simply POST the following information to the web service address shown below through the file_get_contents function in PHP or similar functions in other programming languages. After sending the informations, the data required to make the payment by the customer will be displayed in the response.
https://noborder.company/action/ws/request_create
api_key
String
After registering your website, this key will be automatically generated by the site and provided to you. This key is unique and is generated exclusively for each website.
amount_value
Demical
You can send the amount of goods in Toman or USD. The amount of crypto currency payable is automatically calculated and displayed to the user based on the current price of the market.
amount_currency
String
Through this variable, you determine the type of amount sent in the amount_value variable. The default value is usd and if you want to send the amount based on another currency, you can choose the currency you want from the list below and use it for this variable.
Show list
pay_currency
String
By default, customers can pay through all active currencies in the gate, but if you want to limit the customer to pay through one or more specific crypto currencies, you can declare the name of the crypto currencies through this variable. Blow crypto currencies are currently active. If you want to declare more than one currency, separate them with a dash ( - ).
Show list
order_id
String
It is a unique amount that is created on your website to fulfill the order. If you want to check an order or track its status, you can use the expression declared through this variable.
desc
String
The value sent for this variable is only displayed for site owner and in the list of transactions, and it can contain information related to the order as needed. The maximum length of this string can be 1024 characters.
respond_type
String
The value of this variable is set to "link" by default, and in response to the sent request, a link is returned so that customers can view and pay the invoice by entering it. If you don't want customers leave your website during the payment process, you can set the value of this variable to iframe so that the invoice page is displayed directly on your website.
iframe_style
String
If you have set the value of the respond_type variable to "iframe", through this variable you can apply the desired size and style to the invoice window (which is displayed on your website). Send only CSS codes through this variable. (Example: width:500px; height:300px; border:1px solid #000; )
callback
String
If you want customers to be directed to a specific page after the successful payment of the invoice, you can send the page address through this variable. It will be possible to check the status of the invoice at any time through the request_status function.
Sample PHP code to send information to the gate
$params = array(
'api_key' => 'YOUR_API_KEY',
'amount_value' => '100',
'amount_currency' => 'usd',
'pay_currency' => 'bitcoin,dogecoin,litecoin',
'order_id' => '46229791',
'desc' => 'order info',
'respond_type' => 'link',
'iframe_style' => '',
'callback' => 'https://your-site.com/callback'
);

$curl = curl_init('https://noborder.company/action/ws/request_create');
curl_setopt($curl, CURLOPT_POST, true);
curl_setopt($curl, CURLOPT_POSTFIELDS, http_build_query($params));
curl_setopt($curl, CURLOPT_RETURNTRANSFER, true);
$response = curl_exec($curl);
curl_close($curl);

$result = json_decode($response, true);
var_dump($result);
After sending the informations in the previous step, according to the sent datas, you will receive one of the following responses from the web service. If the sent data is valid and you have sent the link option for the response_type value, a value similar to the following will be returned. Now you need to direct the customer to the link provided for the response value through the "header" function in PHP or the "windows.location.href" function in JS so that the payment process is done by the customer. Also, save the value provided for the request_id variable, so in the next step you can call it again to check the status of the invoice.
array('status' => 'success', 'request_id' => '664b1882d3273', 'respond' => 'https://noborder.company/sub/request/664b1882d3273');
If the sent data is valid and you have sent the "Iframe" option for the response_type value, a response similar to the following will be returned. Then display HTML code to the users so they can complete the payment process.
array('status' => 'success', 'request_id' => '664b1882d3273', 'respond' => '<iframe src="https://noborder.company/sub/request/664b1882d3273" style="width:100%; height:500px; border:0; overflow:auto;"></iframe>');
If the data sent is not valid or there is an error from the web service, a value similar to the following is returned.
array('status' => 'failed', 'respond' => 'An error message with details related to the invalid information that was submitted.', 'error_no' => Error number);
If customer payment is successful, the user will be returned to the address provided for the callback value. On this page, the website owner can check the status of the invoice through the request_status function and, if the payment is successful, provide services to the customer. In order to check the status of the invoice, you should POST the following information to the web service address shown below through the file_get_contents function in PHP or similar functions in other programming languages.
https://noborder.company/action/ws/request_status
api_key
String
After registering your website, this key will be automatically generated by the site and provided to you. This key is unique and is generated exclusively for each website.
order_id
String
It is a unique value that is created on your website to fulfill the order. This phrase must be the same as the phrase sent for the first step.
request_id
String
It is a unique value returned by the web service in the second step. In the second step, you should save this amount so that you can check the status of the invoice through it.
Sample PHP code to send information to the gate
$params = array(
'api_key' => 'YOUR_API_KEY',
'order_id' => '46229791',
'request_id' => '664b1882d3273'
);

$curl = curl_init('https://noborder.company/action/ws/request_status');
curl_setopt($curl, CURLOPT_POST, true);
curl_setopt($curl, CURLOPT_POSTFIELDS, http_build_query($params));
curl_setopt($curl, CURLOPT_RETURNTRANSFER, true);
$response = curl_exec($curl);
curl_close($curl);

$result = json_decode($response, true);
var_dump($result);
If the submitted data is valid, a response similar to the following will be returned.
array('status' => 'success', 'request_id' => '664b1882d3273', 'order_id' => '46229791', 'amount_value' => '5000', 'amount_currency' => 'irt');
If the data sent is not valid or there is an error from the web service, a value similar to the following is returned.
array('status' => 'failed', 'respond' => 'An error message with details related to the invalid information that was submitted.', 'error_no' => Error number);
To know the latest status of the site, deposits, orders, etc., please allow the permission to send notifications. Guide