Magic naming for payment modules :(

1 view
Skip to first unread message

Mikkel Høgh

unread,
Mar 2, 2010, 12:21:44 PM3/2/10
to Satchmo developers
Hi there,

I'm working on a Python lib and payment plugin for Satchmo for
payex.com, and I've come into an interesting problem.

My plugin is supposed to live at payex.plugins.satchmo (since this is
a specific implementation of the Python lib). This, however, causes an
exception in the form of "Caught an exception while rendering:
('PAYMENT_SATCHMO config group does not exist', None)", since Satchmo
seems to assume that the payment plugin’s name is the same as the last
part of the module’s name.

Is there a way to work around this, or will I have to call it
payex.plugins.satchmo.payex ?

Chris Moffitt

unread,
Mar 2, 2010, 5:53:08 PM3/2/10
to satchmo-d...@googlegroups.com
I agree it's a bit ugly.

Right now, I am not aware of a way to work around this.

-Chris


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


Bruce Kroeze

unread,
Mar 2, 2010, 6:15:52 PM3/2/10
to satchmo-d...@googlegroups.com
Bursar doesn't have this problem.
--
Bruce Kroeze
http://www.ecomsmith.com
It's time to hammer your site into shape.
Reply all
Reply to author
Forward
0 new messages