Jump to content

CC Avenue gateway......


Guest idara

Recommended Posts

Hi All, I need your help :w00t:

CC Avenue have two separate gateways, for INR & USD

INR = Payment processing in Indian Rupees for Indian eMerchants

USD= Payment processing in US Dollars for Global eMerchants

I have an account with CC Avenue for INR and the Integration of gateway in cubecart is for USD.

I contacted CC Avenues (several times) finally they have told to Refer to checkout.php and make the necessary changes in the file transfer.inc.php for INR account. (both files attached)

I don't know about PHP or how to modifying it, I request you to please help me at this point

Thanking you in anticipation ! :wacko:

Link to comment
Share on other sites

Hi

I tried to fix the problem, still getting below error

Invalid parameter name for Redirect_Url

I contacted CC Avenue they told me :

The error you are facing "Invalid Redirect_URL" implies that, the parameter value is passed as null.

<input type='hidden' name='Redirect_Url' value='".$redirectURL."' />";

We suggest you to make the necessary changes and try again.

Can anyone please help Where and what changes have to be made :)

Thanks in advance

Yunus

Link to comment
Share on other sites

Guest estelle

Yunus,

I had a quick look at the code. It seems impossible that the parameter could be null, as they suggested.

	$redirectURL = $GLOBALS['storeURL']."/index.php?act=conf&amp;oid=".base64_encode($cart_order_id);

...

 	 <input type='hidden' name='Redirect_Url' value='".$redirectURL."' />




I would try putting in an echo statement to check the value, i.e. add this line of code following the <input type='hidden' name='Redirect_Url'...


echo "<p>Redirect_Url is: ".$redirectURL."</p>";

Although this may prevent you from completing checkout (you may get a "cannot resend headers, headers already sent..."), it will allow you to check what value the Redirect_Url is getting set to.

Regards,

Estelle.

Link to comment
Share on other sites

Hi estelle

Thanks for coming out to help me :o

Yesterday CC Avenue emailed me a new so called modified file transfer.inc.php the same is different from the file I posted in my first post(new file is attached to this post)

I tried adding the echo line in this new file, when I checkout, a redirecturl link appears (like we get some error message) on the top of my cart page, which is my store home page (with some additions at the end >> act=conf&oid=MDUxMDIzLTE1NDMyNi0zOTQ2)

Redirect_Url is: http://www.idara.com/store/index.php?act=c...TE1NDMyNi0zOTQ2

and then it redirected to the CC Avenue page where I got a new "Invalid CHECKSUM" error ! and "Merchant_Id"

I don't know what's is going on :)

Kind Regards

Yunus

transfer.inc.php

Link to comment
Share on other sites

Guest estelle

Thats strange that its just started producing a different error message.

Have you tried looking up the error messages in the documentation for their interface specification? That is, assuming they provide documentation.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...