编程语言
首页 > 编程语言> > php – CCAvenue Transaction – Integration

php – CCAvenue Transaction – Integration

作者:互联网

我已将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 = “” ; //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,jar,payment,ccavenue
来源: https://codeday.me/bug/20190629/1325625.html