php - CCAvenue 交易 - 整合

标签 php jar payment ccavenue

我已将 CcAvenue 支付网关集成到我的交易项目中。 有一个问题,即。

I am unable to get the status of $AuthDesc after a transaction.
After contacting the customer service they replied saying there is a
problem in my integration code.
The file that they provided has the following code:

$WorkingKey = "" ; //put in the 32 bit working key in the quotes provided here $encResponse=$_REQUEST["encResponse"]; exec("java -jar ccavutil.jar $WorkingKey \"$encResponse\" dec",$ccaResponse); $tok = strtok($ccaResponse[0],"&");

However, i am unable to run the jar file and $ccaResponse returns an empty array
always.I know this question belongs to a particular software but i need help 
from programmers who have done this before.
Kindly help.

最佳答案

您无法运行 jar 文件的原因是您的托管服务提供商不支持执行 jar 文件。要解决此问题,您必须联系 CCAvenue 的客户支持要求他们提供仅包含 php 文件的集成工具包.

他们有工具包,如果您调用他们(如果您需要快速)或邮寄给他们,他们会提供。新工具包包含以下文件

 1. adler32.php
 2. Aes.php
 3. Checkout.php
 4. Index.html
 5. redirecturl.php

他们为所有类型的程序员提供了这样的工具包。

关于php - CCAvenue 交易 - 整合,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/18545307/

相关文章:

java - 升级没有 .proto 的 protobuf jar 的命名空间

php - 如何生成带有金额的以太坊二维码地址?

java - 从外部 Java .jar 文件获取方法

java -jar xxx.jar 在 Mac osx 和 Windows 上运行良好,但出现以下错误 : "Error: Could not find or load main class" on raspberry pi

java - 使用 token 对客户端和服务器端进行身份验证的正确方法?

php - 将复杂查询分解为 MYSQL 中的临时表

php - Paypal付款后上传至Dropbox

button - 更改 "Debit or Credit Card"Paypal按钮的背景颜色

php - 如何在 PHP/MySQL 中显示选定的列

php - Laravel - 如何访问相关对象的其他关系