Forums / Addon Payment Modules / Redirecting from ccavenue

Redirecting from ccavenue

Views: 14,318

Results 1 to 18 of 18
11 Dec 2011, 4:08 PM
#1
ididukaan avatar

ididukaan

New Zenner

Join Date:
Nov 2011
Posts:
8
Plugin Contributions:
0

Redirecting from ccavenue

Hi,

I am facing problem in redirecting to my shop from ccavenue. This is the error I am getting while redirecting to checkout_process.php

'https://www.indivineinterest.com/shop/index.php?main_page=checkout_payment&error_message=Security+Error.+Illegal+access+detected%2C+please+try+again.

It will great if someone can help me with correct redirect url.

Thanks

Zencart 1.3.9h, fresh install, PHP5.1.6, MySQL 5.0.77, Apache/2.2.3 (CentOS), Linux Red Hat. + Numinix Fast and Easy Checkout, Ceon Out of stock notifications, Cavenue payment module by M.Waghani

11 Dec 2011, 10:05 PM
#2
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: Redirecting from ccavenue

If you are attempting to capture an order created from somewhere other than in ZenCart you are most likely no going to find a "correct" url for redirecting

Zen-Venom Get Bitten

12 Dec 2011, 8:26 AM
#3
ididukaan avatar

ididukaan

New Zenner

Join Date:
Nov 2011
Posts:
8
Plugin Contributions:
0

Re: Redirecting from ccavenue

kobra:

If you are attempting to capture an order created from somewhere other than in ZenCart you are most likely no going to find a "correct" url for redirecting

Hi Kobra,
The order is very much created in zencart by a logged-in customer. The payment too gets deducted from customer's bank/ card and shows up in ccavenue admin orderlist. I've not been able to figure out how to get the redirection and order saving in zencart admin by going back to the current session.

Ideally the Payment module should have taken care of it. But looks like it has not been updated for long. Any help much appreciated.

Thanks for replying,
Sincerely,
Pradeep

http://www.indivineinterest.com/shop
Zencart 1.3.9h, fresh install, PHP5.1.6, MySQL 5.0.77, Apache/2.2.3 (CentOS), Linux Red Hat. + Numinix Fast and Easy Checkout, Ceon Out of stock notifications, Cavenue payment module by M.Waghani.

Zencart 1.3.9h, fresh install, PHP5.1.6, MySQL 5.0.77, Apache/2.2.3 (CentOS), Linux Red Hat. + Numinix Fast and Easy Checkout, Ceon Out of stock notifications, Cavenue payment module by M.Waghani

12 Dec 2011, 9:02 PM
#4
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

Re: Redirecting from ccavenue

With an error message like that, it's a GOOD thing that the order is not being created in the store.
That error message in the URL is coming from your payment module. You need to resolve the problem in your payment module's code. Perhaps it is responding to an error code given to it by the gateway.

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

14 Dec 2011, 6:08 AM
#5
ididukaan avatar

ididukaan

New Zenner

Join Date:
Nov 2011
Posts:
8
Plugin Contributions:
0

Re: Redirecting from ccavenue

DrByte:

With an error message like that, it's a GOOD thing that the order is not being created in the store.
That error message in the URL is coming from your payment module. You need to resolve the problem in your payment module's code. Perhaps it is responding to an error code given to it by the gateway.

Hi DrByte,
Thanks for the cue. Although I am only a css-html guy, I now have directions to look into.
One thing that I've not found an answer to: It seems we have to specify a Redirect URL on ccavenue admin settings. And it needs a plain one w/o any symbols(eg:?) of any kind that go with php. What would it be for zencart on my site; considering it should go back to the customers current session and register/update the order given?
Or would the payment module's $URL bypass/override the ccavenue setting?

Thanks for your time.
Pradeep.

Zencart 1.3.9h, fresh install, PHP5.1.6, MySQL 5.0.77, Apache/2.2.3 (CentOS), Linux Red Hat. + Numinix Fast and Easy Checkout, Ceon Out of stock notifications, Cavenue payment module by M.Waghani

25 Dec 2011, 5:47 AM
#6
ididukaan avatar

ididukaan

New Zenner

Join Date:
Nov 2011
Posts:
8
Plugin Contributions:
0

Re: Redirecting from ccavenue

OKay...
I am still stuck on the same 'illegal access' issue trying to get ccavenue world(USD) pg module to adapt to Indian payment.
Hate the idea with all the features and ease of use with rest of zencart; but with no clear solution on the horizon I am on the verge of dropping zencart for oscommerce which has a working ccavenue INR+USD payment gateway module for free. I could not find even a paid one for zencart!

If anybody out there could help with this or port OSC module, please let me know asap.
Thanks a tonne and a verry merry Christmas :)
Pradeep.

Zencart 1.3.9h, fresh install, PHP5.1.6, MySQL 5.0.77, Apache/2.2.3 (CentOS), Linux Red Hat. + Numinix Fast and Easy Checkout, Ceon Out of stock notifications, Cavenue payment module by M.Waghani

25 Dec 2011, 6:37 AM
#7
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

Re: Redirecting from ccavenue

"illegal access" suggests its trying to do include() statements on files in ways that could compromise security. Zen Cart isn't old oscommerce code. Countless improvements have been made especially with regard for security of the site and server and data and customers.

There are many places to get paid help if you want it. Even at https://www.zen-cart.com/helpwanted

I don't use the module or gateway you're talking about nor do I have any documentation for it let alone developer test accounts etc. Most times I've looked at people's mention of that gateway I run from it fast for security reasons. IIRC the gateway's concepts are flawed. While it's been awhile since I last looked, I would need compelling evidence to bother. Sorry.

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

27 Dec 2011, 9:11 AM
#8
ididukaan avatar

ididukaan

New Zenner

Join Date:
Nov 2011
Posts:
8
Plugin Contributions:
0

Re: Redirecting from ccavenue

Hi, I had no intentions to start a better/worse cart/code/gateway here. All I know as a modest layman(IIRC?! :unsure:) is that I have an account with one of the very few affordable gateways available which seems to work with a few other carts. If anybody from the community could guide/help me to find out whatever it is that clashes with zencart security, I can atleast try to work it out with some programmer's help and communicate it to ccavenue.

I found Zencart great and CCavenue is big in India. One attempt at troubleshooting could help a lot many more people out there.
Attaching cca's guidelines on integration.
Thanks, Pradeep

Zencart 1.3.9h, fresh install, PHP5.1.6, MySQL 5.0.77, Apache/2.2.3 (CentOS), Linux Red Hat. + Numinix Fast and Easy Checkout, Ceon Out of stock notifications, Cavenue payment module by M.Waghani

10 Jan 2012, 7:59 PM
#9
gopinathgoswami avatar

gopinathgoswami

New Zenner

Join Date:
Nov 2011
Posts:
32
Plugin Contributions:
1

Re: Redirecting from ccavenue

I use the ccavenue contribution at http://www.zen-cart.com/index.php?main_page=product_contrib_info&products_id=1021. The attached readme file does not specify anything on return page URL to be entered in ccavenue "settings" website.

Is it http://www.mysite.com/includes/modules/checkout_process.php

or some other URL?

Please help.

Regards

Gopinath Goswami
OnlineSurgicals.com

11 Jan 2012, 12:06 AM
#10
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

Re: Redirecting from ccavenue

gopinathgoswami:

I use the ccavenue contribution at http://www.zen-cart.com/index.php?main_page=product_contrib_info&products_id=1021. The attached readme file does not specify anything on return page URL to be entered in ccavenue "settings" website.

Is it http://www.mysite.com/includes/modules/checkout_process.php

or some other URL?

As far as I can tell from the module, the module already attempts to pass the correct return URL as part of the transaction so that the gateway knows where to send the customer back to.

If for some reason that's not working properly, then it's probably because the module needs updating, both to work with the current Zen Cart version and also to work with PHP 5.3.

If you must specify one, the return URL would be 'http://www.your_site.com/index.php?main_page=checkout_process'

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

11 Jan 2012, 12:44 AM
#11
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

Re: Redirecting from ccavenue

ididukaan:

error_message=Security+Error.+Illegal+access+detected%2C+please+try+again.

It will great if someone can help me with correct redirect url.
That error message has nothing to do with the "redirect URL". That's why I didn't address the redirect issue in my previous posts.
Your "Security Error. Illegal access detected" message means that you've not followed the setup instructions in the module which tell you to obtain and enter your WorkingKey from CCAvenue into the payment module's settings. That key must match both in your module and in your CCAvenue account, otherwise the transaction validation process will fail and respond with the error message you're reporting.
ididukaan:

I am on the verge of dropping zencart for oscommerce which has a working ccavenue INR+USD payment gateway module for free.
That module is using the same code, but for a few differences between the different shopping carts. It's just a copy of the osc module, which you say is working.

It doesn't matter if you use Zen Cart or some other shopping cart. You have to do the setup for it to work.

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

11 Jan 2012, 1:01 AM
#12
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

Re: Redirecting from ccavenue

This updated zip may work better than the old version you were using. I've cleaned the code up a bit and removed old deprecated stuff from the oscommerce integration.
See the new zip at: http://www.zen-cart.com/index.php?main_page=product_contrib_info&products_id=1021

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

18 Jan 2012, 10:28 AM
#13
gopinathgoswami avatar

gopinathgoswami

New Zenner

Join Date:
Nov 2011
Posts:
32
Plugin Contributions:
1

Re: Redirecting from ccavenue

Dear DrByte,

Thanks for your help. But, I did not have luck with your updated code also.

I sought the help of CCAvenue and they provided a set of files. After uploading these files, I had to remove and install this module fresh from zen cart admin. Then I disabled the Currency converter.

It worked perfectly. Though I did not go through the codes, I leave it to programmers to do the research.

I am sharing the same for the benefit of others.

Thanks and Regards

Gopinath Goswami
OnlineSurgicals.com

18 Jan 2012, 8:37 PM
#14
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

Re: Redirecting from ccavenue

That module is not compatible with PHP 5.3 or newer, and its error message handling is not compatible with Zen Cart 1.3.9 or newer, so error messages will cause the page to go blank, just like the prior module did. Be aware of those issues if you choose to use it.

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

10 Mar 2012, 10:41 AM
#15
wowemall avatar

wowemall

Zen Follower

Join Date:
Jan 2005
Posts:
101
Plugin Contributions:
0

Re: Redirecting from ccavenue

i use ccavenue module latest version 2.01 in zencart 1.3.8a but this is show error:

Security Error. Illegal access detected, please try again.

my ccavenue is indian account.

anyone tell me how to solve this ?

11 Mar 2012, 8:13 AM
#16
wowemall avatar

wowemall

Zen Follower

Join Date:
Jan 2005
Posts:
101
Plugin Contributions:
0

Re: Redirecting from ccavenue

hello,

any one provide me working indian ccavenue mudule ?

16 May 2012, 10:00 AM
#17
wowemall avatar

wowemall

Zen Follower

Join Date:
Jan 2005
Posts:
101
Plugin Contributions:
0

Re: Redirecting from ccavenue

i install ccavenue payment gateway in latest zen cart version and payment received perfectly but order not show or save in zencart.
any one help me ?

24 Jun 2012, 1:23 PM
#18
kapil_sb avatar

kapil_sb

New Zenner

Join Date:
Apr 2012
Posts:
17
Plugin Contributions:
0

Re: Redirecting from ccavenue

wowemall:

i install ccavenue payment gateway in latest zen cart version and payment received perfectly but order not show or save in zencart.
any one help me ?

I am also facing similar problem.

Payment is processed, and when customer is directed to checkout_process, thay reach HTTP ERROR 606 page.

Payment i scredited to me, but I see no order.

Very critical. Please Help....