Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

bad return URL


marshall

Recommended Posts

After a customer successfully completes a transaction they arrive at the following success page:

 

https://huntingoptics.com/store/checkout_su...fb9370312f419ee

 

While on this page when you click 'continue' to go back to the cart, the link takes you to the following URL:

 

https://huntingoptics.com/store//store/inde...ion=notify¬ify[]=&osCsid=cfddead3dc7c35cbcfb9370312f419ee

 

(Note the //store is incorrect for that return url shown directly above)

 

I am unable to find where to configure this option or even to modify the code itself. If anybody can please help me determine the cause it would be greatly appreciated.

 

Thank you.

Link to comment
Share on other sites

It is likely that you could fix this in the configure.php - incorrect settings in that file would cause this. Post just the first part (the second part being the settings for database) of your configure.php here may help to find out the error(s) if you can't figure it out yourself. Note: not the one for the admin panel.

 

Ken

commercial support - unProtected channel, not to be confused with the forum with same name - open to everyone who need some professional help: either PM/email me, or go to my website (URL can be found in my profile).

over 20 years of computer programming experience.

Link to comment
Share on other sites

Hello GemRock (Ken), and Marshall,

 

Thank you for your response, it was very helpful. It took a lot of mixing and matching of slashes & absolutes but here to the format which worked if anybody else runs into a similar issue:

 

// Define the webserver and path parameters

// * DIR_FS_* = Filesystem directories (local/physical)

// * DIR_WS_* = Webserver directories (virtual/URL)

define('HTTP_SERVER', 'http://huntingoptics.com/'); // eg, http://localhost - should not be empty for productive servers

define('HTTPS_SERVER', 'https://huntingoptics.com/'); // eg, https://localhost - should not be empty for productive servers

define('ENABLE_SSL', true); // secure webserver for checkout procedure?

define('HTTP_COOKIE_DOMAIN', 'http://huntingoptics.com');

define('HTTPS_COOKIE_DOMAIN', 'https://huntingoptics.com');

define('HTTP_COOKIE_PATH', 'store/');

define('HTTPS_COOKIE_PATH', 'store/');

define('DIR_WS_HTTP_CATALOG', 'store/');

define('DIR_WS_HTTPS_CATALOG', 'store/');

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/');

 

define('DIR_WS_DOWNLOAD_PUBLIC', 'pub/');

define('DIR_FS_CATALOG', '/usr/local/etc/httpd/htdocs/huntingoptics/store/');

define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/');

define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/');

 

----

Note: This is from the file 'store/includes/configure.php'. It didn't help that I was editing 'store/admin/includes/configure.php' most of the time, but both should be setup properly as well.

 

Also please let me know if any of this configuration should not be displayed in the forums for security reasons.

 

 

Thank you,

 

---

Jeremiah Lamborn

Netbilling, Inc.

Technical Support

661-252-2456 x1010

Link to comment
Share on other sites

...It took a lot of mixing and matching of slashes & absolutes but here to the format which worked if anybody else runs into a similar issue...

This is at least not the ONLY 'format' that works. It must be noted that normally you dont add the http bit in the cookie domain definition.

 

Ken

commercial support - unProtected channel, not to be confused with the forum with same name - open to everyone who need some professional help: either PM/email me, or go to my website (URL can be found in my profile).

over 20 years of computer programming experience.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...