On Thu, May 7, 2009 at 6:12 PM, borntonetwork <[email protected]>wrote:

>
> Hi.
>
> First off, thank you for a great product! I'm a Python and Django
> lover who happens to design e-commerce sites, so Satchmo is a great
> fit for me.


You are welcome.

>
> I have a Satchmo shopping cart that is ready to go except for the fact
> that the /accounts/* url will not direct to SSL. This is a requirement
> from the credit card processing company. To remedy, I've tried:
>
> * Using 'SSL': False in most (all?) urlconfs urls.
> * Setting "Enable SSL" in payment settings.
> * Trying (and failing) to find the source of "satchmo_account_info" to
> perhaps change.
>
> Any help is greatly appreciated.


In my production systems, I put this in local_settings.py

HTTPS_PATHS = ('admin/', 'settings/')

If you also wanted 'accounts/*' protected by SSL, then you'd put in:

HTTPS_PATHS = ('admin/', 'settings/', 'accounts/')

Take a look at the SSLMiddleware file, it uses this setting in addition to
the urls.py method others have mentioned.

>
> --
Bruce Kroeze
http://solidsitesolutions.com
Dynamic Designs, Optimized

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Satchmo users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/satchmo-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to