Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

shoping cart not clearing


aguzman

Recommended Posts

I purchased an account with Verisign PayFlow Link and uploaded the contribution (VeriSign Payflow Link for osC 2.2 MS 2) for payFlowLink. Everything seems to work fine. I can add items to the cart and go through the payment process. When I hit the Confirm Order button, it then will take me to Verisign's website to take the credit card info. That all works fine but when you are done and return to my store it goes to the main catalog page and you are logged out. When I log back in my shopping cart still has the items I just ordered - the shopping cart is not cleared out.

 

I don't mind having to log back in but I need the shopping cart to be cleard out.

 

Please I need help with this, My store has to go up by Friday - Monday the latest.

Link to comment
Share on other sites

Vger helped me fix my problem. My includes/configure.php file was wrong. Because I use the hosting company IPOWERWEB's shared ssl I had to have my configure.php to read as so

 

define('HTTP_SERVER', 'http://www.mydomain.com'); 
define('HTTPS_SERVER', 'https://host123.ipowerweb.com/~username');
define('ENABLE_SSL', true);// secure webserver for checkout procedure?
define('HTTP_COOKIE_DOMAIN', 'www.mydomain.com');
define('HTTPS_COOKIE_DOMAIN', '');
define('HTTP_COOKIE_PATH', '/osCommerce/catalog/');
define('HTTPS_COOKIE_PATH', '');
define('DIR_WS_HTTP_CATALOG', '/osCommerce/catalog/');
define('DIR_WS_HTTPS_CATALOG', '/osCommerce/catalog/');
define('DIR_WS_IMAGES', 'images/');
define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/');
define('DIR_WS_INCLUDES', 'includes/');
define('DIR_WS_BOXES', DIR_WS_INCLUDES . 'boxes/');
define('DIR_WS_FUNCTIONS', DIR_WS_INCLUDES . 'functions/');
define('DIR_WS_CLASSES', DIR_WS_INCLUDES . 'classes/');
define('DIR_WS_MODULES', DIR_WS_INCLUDES . 'modules/');
define('DIR_WS_LANGUAGES', DIR_WS_INCLUDES . 'languages/');

?>

 

 

Notice that I left https cookie path and domain blank (just with ''). Now when when I click on the button in Verisign's page to return to the store osCommerce records the purchase and take you to the thank you page.

 

Hope this helps anyone that is in the same situation that I was in.

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.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
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.

×
×
  • Create New...