Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Recommended Posts

Posted

I installed the contribution for Verisign PayFlow Link. Everything seems to work, I get redirected to Verisigns credit card page and I run the test credit card numbers and then accept order and then I click the take me back to the store button. Here is where the problem is. When I go back to the store I have to log back in and when I do my item is still in the shopping cart.

 

What am I missing that it is not updating the shopping cart?

 

Please, any help would be great.

 

Thanks

Al

Posted

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.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

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...