2013-08-31 59 views
4

我已將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 = 「」; //在這裏提供的引號中輸入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. 

回答

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

他們有工具包,如果你給他們打電話,他們將提供它(如果你需要它快)或郵寄them.The新套件包含下列文件

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

他們有藥盒這樣所有類型的程序員。

+1

真實的故事..我想了很久以前......感謝你的答覆:) –