Setting dolphin to use https globally via inc/header.inc.php site variable isn't a good idea in terms of serverload and response time and also not neccessary. So i started to set only specific pages to use SSL encryption, like pedit.php and join.php, by using AntonLVs approach of mod_rewrite and changing the site variable in inc/header.inc.php dynamically. My site is running now in mixed http and https mode and everything is working fine for these pages.
Now i wanted to move the most important pages, the ones from payment module also to https, which seems to work fine too in the first place but:
Buttons like "Add to cart" won't work anymore, you click them and nothing happens. Normally you get a messagebox "Added to cart" etc and being redirectd to the shopping cart. I am sure it's related to the javascript file cart.js being called from module membership, which isnt on https and also imports class payment, but i cannot track down the real problem here. Is it some path problem in ./inc/classes/BxDolTemplate.php or somewthing totally else like calling functions from http to https in .js?
Is there anybody ever got the payment module and the corresponding "Add to cart" pages only to work under SSL in dolphin? Switching to https globally is not possible and the payment module without SSL also not. I can't believe people run dolphin in either full HTTPS mode or not using SSL for the payment module.
Edit: I forgot to mention that on https redirected pages the member toolbar also not works anymore.