4

我已将 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 = "" ; //在此处提供的引号中输入 32 位工作密钥 $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.
4

1 回答 1

3

无法运行 jar 文件的原因是your hosting provider doesn't support the execution of the jar file. 要克服这个问题,您必须contact the customer support of CCAvenueask them to provide the integration kit which only contain php files

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

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

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

于 2013-10-25T10:42:10.997 回答