What is the correct 2checkout Return URL!
#1
Posted 22 April 2008 - 07:05 AM
I would like to notify you that the following file is not available in the new version http://www.your-domain.com/catalog/pm2checkout_process.php
and I'm trying to use the following URL http://domain.com/catalog/checkout_process.php but still the items are not updated in the cart!!
To regenerate I'm performing the following steps: (I'm testing everything in demo as I can't go live without making sure everything is working smoothly)
1- Oscommerce Admin Panel:
2checkout Module v1.1; Enable 2CheckOut set true; Transaction Mode Test; etc ...
2- 2Checkout account Look & Feel
Account --> Site Management
Demo Setting: ON, Using this setting, all sales will be treated as demo regardless of any parameter value.
Direct Return: Immediately returned to my website
URLs: http://domain.com/catalog/checkout_process.php (both in approved & pending URLs)
3- I login as a customer in the oscommerce cart and I perform a purchase using the 2checkout payment option, I get directed to the proper 2checkout page.
4- Once I place my info and credit card info and complete the money transaction. Nothing happens (no page redirection back to my site nor my oscommerce cart) No Customer purchase orders are set in the oscommerce cart!
Another variation:
If I changed the direct return to "Given links back to my website", once I click the link it directs me back to my website but still doesn't update customer orders
Could this possibly be a bug in the implementation of the 2checkout module or a misconfiguration from my side,
Appreciate any possible help,
#2
Posted 23 April 2008 - 08:05 AM
2Checkout Knowledge Base "How Does The Return Process Work?"
Quote
My question using the 2checkout payment modules v1.1 contribution 5443 or contribution 904, do we need to explicitly specify the "parameters" in the return URL or it is implicitly handled by the script?
#3
Posted 24 April 2008 - 07:41 AM
How can I check manually the return parameters from 2checkout page, as I want to verify wither I’m receiving return parameters from 2co or not
Quote
You can view the form that is posted back to your Approved URL by turning Direct Return to NO inside of your 2Checkout account and then place a demo sale. When you get to the final page of the 2Checkout purchase process you will see a button that says “Click Here to Finalize Your Order”. This button is connected to the form that posts to your script. If you view the source code of this page you will see the form that is generated and can view all the parameters that are being passed to you.
I was able to verify that the transaction works
#4
Posted 27 April 2008 - 06:50 AM
Disabled direct return:
I start a demo sale. At the end of the sale, I was presented with a 'Click Here To Finalize Your Order' button, which took me back to my Approved URL when I clicked on it. All parameters get passed back to my oscommerce database.
While on the other hand when I do the following:
Enabled direct return:
I start a demo sale, once I complete and enter the credit card number, I get returned back to the login page and no purchasing details (parameters) are passed back to my oscommerce database.
I have asked 2checkout people and this was the response I got regarding the problem
Quote
The solution to this is to either
1.) handle all post-order processing on the page set as your return URL, including the “thank you” message or
2.) Use a timed redirect, typically done via HTML meta tags or Javascript, after processing the parameters and displaying a message to the customer (remember: at least 255 characters).
It is also important to note that if no redirects are used, meaning the URL will be masked by our servers, then relative links will no longer point to the correct location. This can be corrected by using absolute links on the page used for the return URL or by simply using a “base” tag in the head of the document to provide a reference for the relative paths. If you have any other questions or concerns please contact 2Checkout.com.
#5
Posted 06 May 2008 - 11:19 PM
mockba, on Apr 27 2008, 02:50 AM, said:
Disabled direct return:
I start a demo sale. At the end of the sale, I was presented with a 'Click Here To Finalize Your Order' button, which took me back to my Approved URL when I clicked on it. All parameters get passed back to my oscommerce database.
While on the other hand when I do the following:
Enabled direct return:
I start a demo sale, once I complete and enter the credit card number, I get returned back to the login page and no purchasing details (parameters) are passed back to my oscommerce database.
I have asked 2checkout people and this was the response I got regarding the problem
I hope this info will be useful in fixing my problem, in case you had the same problem please share with us how did you get around it
I am having the same issue with 2checkout. Sometimes I have gotten the "you don't have cookies enabled" return once putting both a demo, and live payment through 2checkout.
As far as I know, the checkout_success.php page handles both the parameters and thank you message, am I wrong on this?
I tried adding 255 character output to the page as well as adding a base href at the top of the php file, but neither have worked.
I'm very interested in a fix for this, otherwise I will have to go with the manual redirect (it works fine for me).
On a side note, products are not being created in the 2checkout database when they are passed through. Any ideas on this anyone?
#6
Posted 08 May 2008 - 06:33 AM
iudex, on May 7 2008, 03:19 AM, said:
Use the checkout_process.php in the return paths, and select the "Disable Direct returns" from the 2checkout site management panel, things should work fine
Until now I'm not sure how to fix it the other way!!
Edited by mockba, 08 May 2008 - 06:35 AM.
#7
Posted 05 October 2008 - 12:20 PM
mockba, on May 8 2008, 07:33 AM, said:
Until now I'm not sure how to fix it the other way!!
I also have the same issue, 2checkout can't return to store and no order record on admin/order.
Best Regards,
#8
Posted 30 January 2009 - 02:18 PM
The correct return URL http://your-domain/catalog/checkout_process.php
But it only works when direct return URL = no. When you click the confirm transaction link a security warning displays "Although this page is encrypted, the information you have entered is to be sent over an unencrypted connection and could easily be read by third party." before redirecting. Is this a genuine security threat?
When direct return URL = yes, it does not return. I've tried this with force cookies true & false. Why does this setting not work.
Cookie settings are also correct.
define('HTTP_COOKIE_DOMAIN', '.your-domain-name.com');
define('HTTPS_COOKIE_DOMAIN', '.your-domain-name.com'); // (unless you are on a shard ssl and have a different ssl address)
define('HTTP_COOKIE_PATH', '/'); // (This is if your shop is in the root of your domain.. if its in a sub folder like for instance catalog , then it would be: /catalog/ )
define('HTTPS_COOKIE_PATH', '/');
Hope this helps somebody.
Any further input will be appreciated.
P.S. Am also waiting
#9
Posted 15 July 2009 - 03:32 AM
And with that off, if you don't click the button the order won't be in the OsCommerce Admin.
Gary
#10
Posted 19 July 2009 - 03:18 AM
Gary Osterholt, on Jul 14 2009, 11:32 PM, said:
And with that off, if you don't click the button the order won't be in the OsCommerce Admin.
Gary
Hey, I don't know if this will help but I was having an issue with 2checkout returning back my site and to record the order in the admin area as well as show up for the customer. Basically what I did was install the older version of the 2checkout payment module and use pm2checkout_process.php as the return for my store and all works fine for me, customers are redirected to my site and all orders show up under admin and show up for the customers to review their new and previous orders.
Have successfully installed the following: Discount Coupons, UPS shipping module, Ultimate SEO URL's, Easy Meta Tags for SEO 1.0, Google XML Sitemap SEO v1.3, HTML Editor for Email and Newsletters.
#11
Posted 19 July 2009 - 03:50 AM
nealc, on Jul 18 2009, 11:18 PM, said:
Thanks.
I'll have to try that.
Gary
#12
Posted 19 July 2009 - 10:19 PM
Gary Osterholt, on Jul 18 2009, 11:50 PM, said:
I'll have to try that.
Gary
Have successfully installed the following: Discount Coupons, UPS shipping module, Ultimate SEO URL's, Easy Meta Tags for SEO 1.0, Google XML Sitemap SEO v1.3, HTML Editor for Email and Newsletters.
#13
Posted 22 July 2009 - 02:19 AM
nealc, on Jul 19 2009, 06:19 PM, said:
Neal,
Thanks so much. I found the right one and it worked like magic. Thanks again.
Gary
#14
Posted 22 July 2009 - 03:52 AM
Gary Osterholt, on Jul 21 2009, 10:19 PM, said:
Thanks so much. I found the right one and it worked like magic. Thanks again.
Gary
Neal
Have successfully installed the following: Discount Coupons, UPS shipping module, Ultimate SEO URL's, Easy Meta Tags for SEO 1.0, Google XML Sitemap SEO v1.3, HTML Editor for Email and Newsletters.
#16
Posted 26 August 2009 - 08:16 PM
#17
Posted 10 October 2009 - 04:28 PM
#18
Posted 08 April 2011 - 05:01 PM
back to my site, however, it never shows an order in customer orders. I need
it to show the attributes with the sizes and colors. It doesn't show that in
2co.
Any have a fix for this please?
#19
Posted 06 June 2011 - 07:43 AM
Thanks to all.
#20
Posted 13 July 2011 - 01:35 PM
http://www.oscommerce.com/community/contributions,5343
The extension will pass the appropriate return URL in dynamically which will insure that you have it defined properly and the sale status will get updated.









