I've been analyzing the payment module system & what I want to do since this morning and I think that what I want to do is quite annoying.
Basically, my client wants to keep the credit card numbers and doesn't want to rely on third party companies to validate them. So I'll have to make my own custom app with its models, views and urls to make these things possible. Saving the credit card data needs a Model and a ModelForm. The satchmo payment module was made to interact with third parties to validate the payment. Am I right on that point? I'll have to tell my client now... no need to answer to my previous question guys :| Bernard On Jan 26, 9:08 am, Bernard <[email protected]> wrote: > Hey guys, > > I'm currently folowing this tutorial[1] in the satchmo docs to create > my own custom module but it seems I can't make it so that my module > appears in the "Enable payment modules" select box in the admin area. > > I used the "dummy" module as my starting point. I edited a bit of the > config.py[2] file so that I can see it in the admin area. > > I added the CUSTOM_PAYMENT_MODULES list in my local_settings.py file: > > CUSTOM_PAYMENT_MODULES = [ > "my_project.my_app.payment.modules.custom_creditcard" > ] > > every folder has an __init__.py file. > > I haven't edited the following files yet: processor.py, urls.py & > views.py. (Do I have to for now?) > > I just want my custom module to appear in the admin area. And that is > what I haven't been able to achieve yet... > > I tried comparing some other payment config.py with mine[3] and well I > can't see anything wrong... > > What's wrong in my code? > > [1]:http://www.satchmoproject.com/docs/svn/custom-payment.html > [2]:http://dpaste.com/hold/113116/ > [3]:http://dpaste.com/hold/113115/ --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
