Okay, l left it at my project root.  I can get the "choice" to show up
under Payment Settings but when I select it and try to save it, I'm
getting a duplicate key violation:

duplicate key value violates unique constraint
"livesettings_setting_site_id_key"

Anyone know what it is that I'm doing wrong?

I've got a module called 'pfp' at the root of my project.  I have
'pfp' added to the list of installed apps and under SATCHMO_SETTINGS
I've added 'CUSTOM_PAYMENT_MODULES' : 'pfp'

When I start the server and go to /settings -> Payment Settings I see
the "Payflow Pro" module that I have created, but if I choose it and
click the 'Save' button, I get that integrity error.

So close, yet so far.




On Sep 2, 3:07 am, Hazzadous <[email protected]> wrote:
> You specify custom payment and shipping modules in SATCHMO_SETTINGS in
> your settings.  Something like CUSTOM_PAYMENT_MODULES.  They are
> referenced as python modules, so it really doesn't matter where they
> lay, as long as they are somewhere in your PATH.
>
> On Sep 2, 8:21 am, Alessandro Ronchi <[email protected]>
> wrote:
>
> > 2009/9/1 lifewithryan <[email protected]>
>
> > > If I want to write my own payment module, can I add it as an app in my
> > > project root or does it need to live in payment/modules within the
> > > Satchmo tree?
>
> > You can leave it in your project root.
>
> > --
> > Alessandro Ronchi
>
> > SOASI
> > Sviluppo Software e Sistemi Open Sourcehttp://www.soasi.com
--~--~---------~--~----~------------~-------~--~----~
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