That is the code for EBS payment gateway integration in joomla by jumi
<?
$secretKey='103e8d197683e80a7dbba3b9eb9beb14';
$account_id='14014';
$amount='112';
$refrence_no='123456';
$return_url="http://www.qualityzoneinfotech.com/services/website-development.html";
$mode='LIVE';
$string = "$secretKey|$account_id|$amount|$refrence_no|$return_url|$mode";
$secure_hash = md5($string);
$profile = JUserHelper::getProfile($user->id);
?>
<form method="post" action="https://secure.ebs.in/pg/ma/sale/pay" name="frmTransaction" id="frmTransaction" onSubmit="return validate()">
<input name="account_id" type="hidden" value="<? echo $account_id; ?>">
<input name="return_url" type="hidden" size="60" value="<? echo $return_url; ?>" />
<input name="mode" type="hidden" size="60" value="<? echo $mode; ?>" />
<input name="reference_no" type="hidden" value="<? echo $refrence_no; ?>" />
<input name="amount" type="hidden" value="<? echo $amount; ?>"/>
<input name="description" type="hidden" value="XYZ pvt ltd" />
<input name="name" type="hidden" maxlength="55" value="<? echo $name=$user->name; ?>" />
<input name="address" type="hidden" maxlength="55" value="<?php echo $profile->profile['region'];?>" />
<input name="city" type="hidden" maxlength="55" value="<?php echo $profile->profile['city'];?>" />
<input name="state" type="hidden" maxlength="55" value="<?php echo $profile->profile['region'];?>" />
<input name="postal_code" type="hidden" maxlength="55" value="<?php echo $profile->profile['postal_code'];?>" />
<input name="country" type="hidden" maxlength="55" value="Ind" />
<input name="phone" type="hidden" maxlength="55" value="<?php echo $profile->profile['phone'];?>" />
<input name="email" type="hidden" size="60" value="<? echo $email=$user->email; ?>" />
<input name="secure_hash" type="hidden" size="60" value="<? echo $secure_hash;?>" />
<input type="submit" name="submit" value="Buy Now">
</form></li>
</ul>
If you want any support so just drop me a mail on website development001@gmail.com
<?
$secretKey='103e8d197683e80a7dbba3b9eb9beb14';
$account_id='14014';
$amount='112';
$refrence_no='123456';
$return_url="http://www.qualityzoneinfotech.com/services/website-development.html";
$mode='LIVE';
$string = "$secretKey|$account_id|$amount|$refrence_no|$return_url|$mode";
$secure_hash = md5($string);
$profile = JUserHelper::getProfile($user->id);
?>
<form method="post" action="https://secure.ebs.in/pg/ma/sale/pay" name="frmTransaction" id="frmTransaction" onSubmit="return validate()">
<input name="account_id" type="hidden" value="<? echo $account_id; ?>">
<input name="return_url" type="hidden" size="60" value="<? echo $return_url; ?>" />
<input name="mode" type="hidden" size="60" value="<? echo $mode; ?>" />
<input name="reference_no" type="hidden" value="<? echo $refrence_no; ?>" />
<input name="amount" type="hidden" value="<? echo $amount; ?>"/>
<input name="description" type="hidden" value="XYZ pvt ltd" />
<input name="name" type="hidden" maxlength="55" value="<? echo $name=$user->name; ?>" />
<input name="address" type="hidden" maxlength="55" value="<?php echo $profile->profile['region'];?>" />
<input name="city" type="hidden" maxlength="55" value="<?php echo $profile->profile['city'];?>" />
<input name="state" type="hidden" maxlength="55" value="<?php echo $profile->profile['region'];?>" />
<input name="postal_code" type="hidden" maxlength="55" value="<?php echo $profile->profile['postal_code'];?>" />
<input name="country" type="hidden" maxlength="55" value="Ind" />
<input name="phone" type="hidden" maxlength="55" value="<?php echo $profile->profile['phone'];?>" />
<input name="email" type="hidden" size="60" value="<? echo $email=$user->email; ?>" />
<input name="secure_hash" type="hidden" size="60" value="<? echo $secure_hash;?>" />
<input type="submit" name="submit" value="Buy Now">
</form></li>
</ul>
If you want any support so just drop me a mail on website development001@gmail.com
No comments:
Post a Comment