CCAvenue交易 - 整合

时间:2013-08-31 06:35:39

标签: php jar payment ccavenue

我已将CcAvenue Payment Gateway集成到我的交易项目中。 有一个问题,即

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.

1 个答案:

答案 0 :(得分:3)

您无法运行jar文件的原因是 your hosting provider doesn't support the execution of the jar file 。要解决此问题,您必须 contact the customer support of CCAvenue ask 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

对于所有类型的程序员,他们都有这样的工具包。