CCAvenue Transaction - Integration

I have included CcAvenue Payment Gateway in my project for transactions. There is one problem:

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 the 32-bit working key in the quotation marks 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. 
+4
source share
1 answer

The reason you cannot run the jar file, your hosting provider doesn't support the execution of the jar file . To overcome this problem, you should contact the customer support of CCAvenue and ask them to provide the integration kit which only contain php files .

They have a kit, and they will provide it if you call them (if you need it quickly) or send them by mail. The new kit contains the following files

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

They have such a set for all types of programmers.

+3
source

Source: https://habr.com/ru/post/1499900/


All Articles