I ran across this URL on one of the other Pinax lists. I compiled it
and ran it, but it seems to me that my challenges of selling
subscriptions are not directly handled by this approach. I could also
not yet locate how to actually make and collect a payment in this
model.
I welcome suggestions on how to use it to easily collect paid
subscriptions.
Thank you in advance,
Jonathan
---------------------------------------------------------------------------------------------------------------------------------------
http://github.com/hbussell/pinax-satchmo-buildout/
Pinax loves Satchmo
Here is a intro to the social-commerce-project, which helps you get
started using Pinax and Satchmo together. Its built off the Pinax
social project which comes with a number of social apps installed and
provides a set of default templates and settings to start using the
website. This project adds a merged settings.py, urls.py and
base.html, including template blocks for both systems. It is built for
virtualenv+pip and includes a requirements file which installs
everything needed to get up and running.
The project started after we finished the first Django e-commerce
project. It needed a range of social features and integration between
groups and subscription products for members only prices.
Satchmo was chosen for its mature well tested code and Pinax filled in
all our social needs. The only problem was getting it all installed
and running as a new Django user not familiar with the error messages.
We had packaging problems, model clashes, dependency issues and
template problems to sort out. In researching how to get it working I
was surprised how little was out there about the the combination of
these 2 great projects.
Thankfully sorted out the boring stuff and got to writing the custom
code to connect groups to subscription products which was a breeze and
highlighted the power of the 2 systems. Coming from php e-commerce
systems, where it would have taken a huge effort to get working, this
solution was simple and took very little code.
The final product was kick ass website that had everything we needed
with very little custom code. It did need a good dose of query
optimization to get running well but that was pretty easy using django-
debug-toolbar. The Satchmo livesetting app needed to be set to static
mode, and the category_tree template tag needed to be cached. A few
more specific caching changes and it was running great.
Pinax is becoming a platform for every Django project and a place for
features that don't belong in the Django core. Even if you don't use
the social apps, having a solid project structure, deployment files,
and built in universal apps like django-staticfiles is a huge help for
every project.
It makes sense then to combined common website functionality in Pinax
with a solid e-commerce system to create great websites.
Hopefully this can help people kick start their e-commerce websites
and support 2 excellent Django projects.
The current version uses Django 1.1.1, Pinax 0.7.1 and Satchmo trunk.
It has been tested with python 2.5 and 2.6
Check out a sample site where you can login with demo:demo
Fork the project on github
Follow the installation instructions
You may also find something useful in the pinax-satchmo-buildout
project. The project is no longer supported but if you want to use
zc.buildout you should be able to get it running by just changing the
package versions.
Could you explain what aspect of subscription products were causing
problems?
We have used satchmo subscription products for membership on sites
before and it works well.
Check out the satchmo book for more details on how to use it
http://bitbucket.org/chris1610/satchmo/downloads/Satchmo.pdf
Re-billing is handled with a cron job and is explained in the pdf.
Or you could bypass satchmo's re-bill handler, with a custom script
that iterates subscriptions and calls what ever service you want to
process the payments.
On Feb 15, 8:00 am, Social Network in DJango <readb...@gmail.com>
wrote:
> Hey Guys,
>
> I ran across this URL on one of the other Pinax lists. I compiled it
> and ran it, but it seems to me that my challenges of selling
> subscriptions are not directly handled by this approach. I could also
> not yet locate how to actually make and collect a payment in this
> model.
>
> I welcome suggestions on how to use it to easily collect paid
> subscriptions.
>
> Thank you in advance,
>
> Jonathan
> ---------------------------------------------------------------------------------------------------------------------------------------http://github.com/hbussell/pinax-satchmo-buildout/