Jump to content

Neuronico

Members
  • Content count

    10
  • Joined

  • Last visited

1 Follower

Profile Information

  • Real Name
    Angelo Fichera
  1. Neuronico

    2Checkout doesn't redirect back to my site

    Even though nobody seems to know the answer to this issue, i hope i can give you a hint. I noticed that pm2checkout_process.php has the following line of code.. <form name="twocoprocessform" method="POST" action="<?php echo (($request_type == 'SSL') ? HTTPS_SERVER : HTTP_SERVER) . DIR_WS_CATALOG . 'checkout_process.php'; ?>"> When i checked with the configuration.php file i noticed that there is a DIR_WS_HTTP_CATALOG and a DIR_WS_HTTPS_CATALOG but no DIR_WS_CATALOG definition.So i went on and deifined it but that didnt help. My intuition is that the pm2checkout_process.php never loads. So lets resume and correct me if i am wrong. When your oscommerce installation is on htttp://www.mydomain.com/whatever/catalog the correct settings for the configuration.php file would be... define('HTTP_SERVER', 'http://www.mydomain.com'); define('HTTPS_SERVER', 'https://www.mydomain.com'); define('ENABLE_SSL', true); define('HTTP_COOKIE_DOMAIN', 'http://www.mydomain.com'); define('HTTPS_COOKIE_DOMAIN', 'https://www.mydomain.com'); define('HTTP_COOKIE_PATH', '/whatever/catalog/'); define('HTTPS_COOKIE_PATH', '/whatever/catalog/'); define('DIR_WS_HTTP_CATALOG', '/whatever/catalog/'); define('DIR_WS_HTTPS_CATALOG', '/whatever/catalog/'); define('DIR_WS_CATALOG', '/whatever/catalog/'); And on the 2checkout sandbox options i have as url to redirect https://www.mydomain.com/whatever/catalog/pm2checkout_process.php The support from 2checkout told me that even if i leave the url blank the 2checkout module for oscommerce should have redirected me there by default (not sure if that is true) Any help would be appreciated as i starting getting very tired with this issue
  2. Hello everybody. I saw that this has been asked several times but as far as i can see there wasn't a definite answer to that issue, so i would kindly ask you to give me a hand here. I am experimenting with 2Checkout and oscommerce to see if 2Checkout fits my needs. I created a sandbox account with 2Checkout and i started placing orders to see how it works..after checkout and succesful payment i dont get redirected tohttp://mywebsite.xxx/whatever/catalog/pm2checkout_process.php but instead stays on checkout_confirmation.php page. And of course i can not see the order on the admin section, i get the email though. So following the different answers posted before for the similar issue first i set the cookie paths to my configure.php file define('HTTP_COOKIE_DOMAIN', 'http://mywebsite.xxx'); define('HTTPS_COOKIE_DOMAIN', 'https://mywebsite.xxx'); define('HTTP_COOKIE_PATH', '/mywebsite.xxx/catalog/'); define('HTTPS_COOKIE_PATH', '/mywebsite.xxx/catalog/'); That didnt change things so i also set force cookie use to true but that resulted in getting the cookie usage page that warns me that i have cookies disabled. So my question what else i should do to finalize the order in test mode. Will this problem disappear in production mode? Does it have to do with ssl certificates? i tried to place the order both through http and https but i get the same result. Can it be that my web hosting provider is block redirection to my website from the 2Checkout page? By the way the reason why i chose 2Checkout payment gateway is that it doesnt have a monthly fee and i am not sure if my website will have a large amount of sales. Can you propose any other payment gateway without monthly fees to check? Thank you in advance
  3. Hello everybody. I saw that this has been asked several times but as far as i can see there wasn't a definite answer to that issue, so i would kindly ask you to give me a hand here. I am experimenting with 2Checkout and oscommerce to see if 2Checkout fits my needs. I created a sandbox account with 2Checkout and i started placing orders to see how it works..after checkout and succesful payment i dont get redirected to http://mywebsite.xxx/whatever/catalog/pm2checkout_process.php but instead stays on checkout_confirmation.php page. And of course i can not see the order on the admin section, i get the email though. So following the different answers posted before for the similar issue first i set the cookie paths to my configure.php file define('HTTP_COOKIE_DOMAIN', 'http://mywebsite.xxx'); define('HTTPS_COOKIE_DOMAIN', 'https://mywebsite.xxx'); define('HTTP_COOKIE_PATH', '/mywebsite.xxx/catalog/'); define('HTTPS_COOKIE_PATH', '/mywebsite.xxx/catalog/'); That didnt change things so i also set force cookie use to true but that resulted in getting the cookie usage page that warns me that i have cookies disabled. So my question what else i should do to finalize the order in test mode. Will this problem disappear in production mode? Does it have to do with ssl certificates? i tried to place the order both through http and https but i get the same result. Can it be that my web hosting provider is block redirection to my website from the 2Checkout page? By the way the reason why i chose 2Checkout payment gateway is that it doesnt have a monthly fee and i am not sure if my website will have a large amount of sales. Can you propose any other payment gateway without monthly fees to check? Thank you in advance
×