Jump to content

2CO payment redirects incorrectly


Recommended Posts

Hi, everytime my clients order something, they complete the order and choose 2Checkout as payment, then they are redirected to "cart.php?a=complete" and see this message


"Please wait while you are redirected to the gateway you chose to make payment..."


Then, they are supposed to be redirected to the 2CO payment form, but instead of that they see this page "knowledgebase.php?action=search"


But, if they try to see their pending invoices, and they try to pay them from their pannel, they are correctly redirected from viewinvoice.php?id=29 to the 2CO form.


So the problem seems to appear only when the user follows the classic shopping process, choose a product\order\login\choose paymeny\wrong redirect


Any suggestions are welcome :)

Link to comment
Share on other sites

Another clue, I have the 'Auto Redirect on Checkout' activated and I have three payment options in the following order:


1.- 2CheckOut

2.- Bank Transfer

3.- MoneyBookers


I've activated the option "Select to automatically redirect the user to the invoice" temporarly, but It would be great to use the "Select to automatically redirect the user to the gateway" option without a problem.


Thanks :)

Link to comment
Share on other sites

I think it's something to do with the form you are submitting, instead of submitting the sale info, the script is submitting the KB search form.


It's ages since I had the same problem, but in short there's a bit of javascript that controls the form submitting, theres a part of the code that looks like this:




Change the 0 to 1 and it should work.

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.

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.

  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated