Magento News

 

Secure Checkout Problem With Multi Store Configuration

I have a Magento 1.4.0.1 site set up and running with four different stores which share the same shopping cart.

e.g

default

store1

store2

store3

I configured the Unsecure Base URL to http://www.domain.com and the Secure Base URL to https://www.domain.com. The setting ‘Add Store Code to URLs’ is also set to ‘Yes’.

I can add products to the cart from any store but when I try to checkout I get a 404 error unless I am currently in the default store when clicking the ‘Proceed To Checkout’ button on the view cart page. The checkout URL is generated automatically by Magento and is different depending on the store I am currently in:

This works: https://www.domain.com/default/checkout/onepage/

404 error: https://www.domain.com/store1/checkout/onepage/

404 error: https://www.domain.com/store2/checkout/onepage/

404 error: https://www.domain.com/store3/checkout/onepage/

If I change the Secure Base URL to not use SSL (http://www.domain.com) I can checkout from within any store (no 404 errors).

Does anyone have any suggestions as to what could cause this problem?

Secure Checkout Problem With Multi Store Configuration

Possibly Related Posts:


 

Leave a Reply