Ebs支付网关返回网址 [英] Ebs Payment gateway Return Url

查看:105
本文介绍了Ebs支付网关返回网址的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

最近我已将ebs支付网关集成到mywebsite.but作为回报url它显示所有详细信息,如账单地址交付地址等。我想只显示推荐的详细信息



此代码

 <?php  
$ secret_key = ' '; // 您的密钥
if(isset($ _ GET [' DR'])){
require(' Rc43.php');

$ DR = preg_replace( / \s / +,$ _ GET [' DR']);

$ rc4 = new Crypt_RC4($ secret_key);
$ QueryString = base64_decode($ DR);
$ rc4-> decrypt($ QueryString);
$ QueryString = split(' & ,$查询字符串);

$ response = array();

foreach($ QueryString as $ param){
$ param = split(' =',$ param);
$ response [$ param [0]] = urldecode($ param [1]);
}
}
?>
<? php
foreach( $ response as $ key => $ value){
?>
< tr >
< td class = fieldName width = 50% > <? php echo $ ke ÿ; ?> < / td < span class =code-keyword>>
< td class = fieldName align = left width = 50% > <? php echo $ value ; ?> < / td < span class =code-keyword>>

< / tr >

<? php
}
?>

我如何在此代码中实现帮助。

解决方案

secret_key = ' '; // 您的密钥
if(isset(


< blockquote> _GET [' DR'])){
require(' Rc43.php');


DR = preg_replace( / \s / +

Recently i have integrated ebs payment gateway into mywebsite.but in return url it shows all details like billing address delivery address etc.i want to display only recomended details

this code

<?php
     $secret_key ='';   // Your Secret Key
     if(isset($_GET['DR'])) {
     require('Rc43.php');

     $DR = preg_replace("/\s/","+",$_GET['DR']);

     $rc4 = new Crypt_RC4($secret_key);
     $QueryString = base64_decode($DR);
     $rc4->decrypt($QueryString);
     $QueryString = split('&',$QueryString);

     $response = array();

     foreach($QueryString as $param){
        $param = split('=',$param);
        $response[$param[0]] = urldecode($param[1]);
     }
}
?>
<?php
foreach( $response as $key=>$value) {
?>
	          <tr>
                   <td class="fieldName" width="50%"><?php echo $key; ?></td>
            	   <td class="fieldName" align="left" width="50%"><?php echo $value; ?></td>	
	          </tr>
				
		<?php
}
?>

how i can implement in this code kindly help.

解决方案

secret_key =''; // Your Secret Key if(isset(


_GET['DR'])) { require('Rc43.php');


DR = preg_replace("/\s/","+",


这篇关于Ebs支付网关返回网址的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆