Etisalat Payment Gateway Integration Wordpress
What is Etisalat Payment Gateway?
IPG (Etisalat Payment Gateway) is the only Payment Gateway in UAE offering electronic payment services especially in UAE and GCC countries. ... Etisalat Payment Gateway connects merchants (sellers of products) in a secure way with banks and financial institutions to process their transactions online.
How do I pay my Etisalat bill online?
Log on to www.etisalat.ae/quickpay to recharge your prepaid account easily, quickly and securely. Enter your mobile number, the amount, and pay using your credit or debit card. or you can integrate it to your website and receive payment via this gateway direct to you bank.
How can I check my Etisalat offer?
To check your balance: dial *121# To find prepaid offers and promotions: dial *101# To get Deal of the Day: dial *050# To transfer credit: type the command *100*mobile number*amount# and press ok.
![]() |
Etisalat Payment Gateway Integration wordpress |
<?php
$response_curlerror = "";
$response_curl = "";
$ch = curl_init("https://demo-ipg.ctdev.comtrust.ae");
$arr_sendRequest = array();
$arr_sendRequest['Currency'] = "USD";
$arr_sendRequest['TransactionHint'] = "CPT:Y;VCC:Y;";
$arr_sendRequest['OrderID'] = "1211121";
$arr_sendRequest['OrderName'] = "Paybill";
$arr_sendRequest['Channel'] = "Web";
$arr_sendRequest['Amount'] = "100";
$arr_sendRequest['Customer'] = "Demo Merchant";
$arr_sendRequest['UserName'] = "Demo_fY9c";
$arr_sendRequest['Password'] = "Comtrust@20182018";
$arr_sendRequest['ReturnPath'] = "https://localhost:8080//Fainalize.aspx";
$jonRequest = json_encode(array('Registration' => $arr_sendRequest), JSON_FORCE_OBJECT);
print "Json-submitted".$jonRequest;
curl_setopt($ch, CURLOPT_HEADER, 0); /* Set to 1 to see HTTP headers, otherwise 0 or XML reading will not work */
curl_setopt( $ch, CURLOPT_HTTPHEADER, array('Content-Type:application/json','Accept:text/xml-standard-api'));
curl_setopt($ch, CURLOPT_FORBID_REUSE, 1);
curl_setopt($ch, CURLOPT_PORT, 2443);
curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, 1);
curl_setopt($ch, CURLOPT_POST, 1);
curl_setopt( $ch, CURLOPT_POSTFIELDS, $jonRequest );
curl_setopt($ch, CURLOPT_CAINFO, dirname(__FILE__) . "/ca.crt"); /* Location in same folder as this file */
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
$response_curl = curl_exec($ch);
if (curl_errno($ch)) {
$response_curlerror = curl_error($ch);
}
curl_close($ch);
?>
<html>
<head>
</head>
<body>
<?php
/* Generate some output */
/* STEP 3 */
/* Show results of submitting request using TLS 1.2 */
print "<br />Result of Submission:<br />";
if (strlen($response_curlerror) > 0)
{
print "Curl ERROR: " . $response_curlerror . "<br />";
}
else {
print "-->".$response_curl . "<br />";
}
?>
</body>
</html>
For any type of payment gateway installation module development service feel free call me$response_curlerror = "";
$response_curl = "";
$ch = curl_init("https://demo-ipg.ctdev.comtrust.ae");
$arr_sendRequest = array();
$arr_sendRequest['Currency'] = "USD";
$arr_sendRequest['TransactionHint'] = "CPT:Y;VCC:Y;";
$arr_sendRequest['OrderID'] = "1211121";
$arr_sendRequest['OrderName'] = "Paybill";
$arr_sendRequest['Channel'] = "Web";
$arr_sendRequest['Amount'] = "100";
$arr_sendRequest['Customer'] = "Demo Merchant";
$arr_sendRequest['UserName'] = "Demo_fY9c";
$arr_sendRequest['Password'] = "Comtrust@20182018";
$arr_sendRequest['ReturnPath'] = "https://localhost:8080//Fainalize.aspx";
$jonRequest = json_encode(array('Registration' => $arr_sendRequest), JSON_FORCE_OBJECT);
print "Json-submitted".$jonRequest;
curl_setopt($ch, CURLOPT_HEADER, 0); /* Set to 1 to see HTTP headers, otherwise 0 or XML reading will not work */
curl_setopt( $ch, CURLOPT_HTTPHEADER, array('Content-Type:application/json','Accept:text/xml-standard-api'));
curl_setopt($ch, CURLOPT_FORBID_REUSE, 1);
curl_setopt($ch, CURLOPT_PORT, 2443);
curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, 1);
curl_setopt($ch, CURLOPT_POST, 1);
curl_setopt( $ch, CURLOPT_POSTFIELDS, $jonRequest );
curl_setopt($ch, CURLOPT_CAINFO, dirname(__FILE__) . "/ca.crt"); /* Location in same folder as this file */
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
$response_curl = curl_exec($ch);
if (curl_errno($ch)) {
$response_curlerror = curl_error($ch);
}
curl_close($ch);
?>
<html>
<head>
</head>
<body>
<?php
/* Generate some output */
/* STEP 3 */
/* Show results of submitting request using TLS 1.2 */
print "<br />Result of Submission:<br />";
if (strlen($response_curlerror) > 0)
{
print "Curl ERROR: " . $response_curlerror . "<br />";
}
else {
print "-->".$response_curl . "<br />";
}
?>
</body>
</html>
Phone: +91-9015079893
Email me: lalityadav99999@gmail.com
skype: lalit.yadavswd
https://www.fiverr.com/lalityadavswd1
Comments
Post a Comment