Hello Guys,
Absolute first let me thank you for your contrib and your generous attitude when helping others.... I really appreciate this.
I know well how "special" are 2CO and how not so business oriented is their business attitude. However, it has some good points. I know that the support is discontinued but just in case someone met my pb before, I will appreciate any help here.
(A classical pb I knot...) My "direct returns" does not work (when "Direct Return" is set to YES). The impact being that I don't capture the order in my zen db. I tried the "Direct Return" set to "No' but I get daily 3 to 4 clients that don't click on the "Please click here..." button after the payment form. So lot of complaints, refunds because of this.
I had contacted 2 Checkout regarding this and they advise me first to test a basic return url (such as a basic html page) which I did and it worked. However when I try with process_2checkout.php return page, it does not. I did try to see what's wrong with the process_2checkout.php so I commented all the lines and I found out that when the "require ('/includes/application_top.php') is there, 2CO does not apprantly like it and so doesn not allow automatic Direct Return. HANKS FOR ANY HELP. IT'S SO FRUSTRATING.... I am considering using Worldpay if this thing does not work in the next few days...
I am enclosing here in an email I got from 2checkout so that maybe it can help others solve this pb or other problems as well.
=========================================
Thank you for contacting 2checkout.com. I'm very sorry for any trouble that you may be experiencing, and I'll be glad to assist you with this issue. I have tested a demo order on your site and I am able to reproduce the issues that you are describing. From looking at your account it does not appear that anything is set up incorrectly and I am unable to tell immediately why this has happened to your account.
Before I continue with this issue I think it is best if I describe the way that the direct return process works. When direct return is set to NO and a customer finishes a purchase they will be directed to the "Order Processed" page on 2Checkout.com. On this page they are provided with a "Finalize Order Now" button which will take them to your Approved or Pending URL. If you would like the 2Checkout.com to automatically redirect the customer back to your site then all you need to do is set this option to Yes instead. Keep in mind though that the procedure with direct return set to Yes is a little different then when set to No. What will happen is that 2Checkout.com will send a request for your return URL, which in turn will execute any scripts on your server, then 2Checkout.com saves the output of that page and hosts in the 2Checkout.com. After all of this is done the customer will be automatically redirect back the to saved output page on the 2Checkout.com servers. To the customer it will seem as though they have returned to your page as normal, although they will be unable to access your return URL.
Because of the way this is done if you are planning on using the direct return feature there are a few things to keep in mind. First keep in mind that if any script on your page automatically redirects to another page, the 2Checkout.com server will not be able to continue and instead sent the customer to that standard order processed page. Secondly, any links or images you have on that site must be set up using absolute paths, and not relative paths, otherwise it will not link correctly. Lastly if a SSL does not match or there are any error with the SSL connection then the customers will not be returned to your page.
The next step that will assist you here will be to test the direct return feature with just a normal HTML page with no scripts or anything special. If the direct return feature works then we know that it may have been just the page that you were using, if not then there is a larger issue at hand. You had mentioned that you were using a SSL on your site. As mentioned above if there are any errors or problems with your SSL or the SSL connection the direct return feature will not direct the person back to you page. I would suggest contacting the maintainer of your SSL to make sure that everything is in order. If still nothing proves to solve this issue please feel free to reply back and I'll be happy to continue assisting you with this issue.
I hope that I have been able to answer your questions fully and provide a detailed level of support, although if you feel I have missed anything do not be hesitate to reply to this ticket.
We appreciate your patience and understanding.