【问题标题】:EBS payment gateway integration using PHP使用 PHP 的 EBS 支付网关集成
【发布时间】:2013-11-28 09:24:31
【问题描述】:

我需要集成 ebs 支付网关。我正在搜索很多,但我可以找到解决方案。 使用 POST 方法向支付请求中 ReturnURL 参数下定义的 URL 提供响应。 $response['ResponseCode'] == 0 表示交易成功完成。非 0 值交易失败。我找不到$response['ResponseCode'] == 0

这是我的代码

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 codeigniter integration payment-gateway


【解决方案1】:

我会了解与 EBC 的集成是如何完成的,并将现有的 Broadleaf 支付模块之一作为模板。

例如:

- Does EBC provide an API for direct server to server communication? (i.e. the Credit Card information is passed to your server and then relayed to the gateway? If so, take a look at http://docs.broadleafcommerce.org/curre ... odule.html
- Does EBC provide a mechanism for a Transparent Redirect or Silent Post? (i.e. the Credit Card form is sent directly to EBC thereby bypassing the merchant servers? If so, take a look at http://docs.broadleafcommerce.org/curre ... e.net.html
- Does EBC provide a mechanism for a Hosted Order Page? (i.e. you get redirected to EBC's servers to enter your credit card information. If so, take a look at http://docs.broadleafcommerce.org/curre ... odule.html)

支付网关提供的许多不同集成选项将决定 Broadleaf 应如何与其集成。 希望对您有所帮助。

参考:http://www.fetchflow.com/blog/authorize-net-invoicing

【讨论】:

    猜你喜欢
    • 2015-12-21
    • 2012-08-15
    • 1970-01-01
    • 2023-03-08
    • 2017-06-16
    • 2013-10-19
    • 1970-01-01
    • 2015-12-26
    • 2011-03-24
    相关资源
    最近更新 更多