Ok, I've overcome the ViewDoesNotExist error by modifying my urls.py
like this:
config = config_get_group('PAYMENT_CHECK')
urlpatterns = patterns('satchmo',
(r'^success/$', 'payment.common.views.checkout.success',
{'SSL':config.SSL.value}, 'CHECK_satchmo_checkout-success'),
)
urlpatterns += patterns('delices',
(r'^$', 'payment.check.views.pay_ship_info',
{'SSL':config.SSL.value}, 'CHECK_satchmo_checkout-step2'),
(r'^confirm/$', 'payment.check.views.confirm_info',
{'SSL':config.SSL.value}, 'CHECK_satchmo_checkout-step3'),
)
Simply += ing the correct search pattern ('delices' instead of
'satchmo') to urlpatterns fixed it.
Hopefully this we be helpful to someone someday :)
Sam
On Oct 1, 11:19 am, nostradamnit <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I'm trying to create a simple payment module that will allow payment
> by check or bank transfer. I copied the code from dummy and made the
> changes in the Custom Payment Module documentation. When I activate
> the module, the test site stops working, giving a "ViewDoesNotExist:
> Could not import satchmo.payment.check.views. Error was: No module
> named check.views" error.
>
> I think my problem is very similar to the problem posted here (http://
> groups.google.com/group/satchmo-users/browse_thread/thread/
> 92a94aa8f977b76f/27e2cb0d34ed43b3?lnk=gst&q=Custom+payment
> +module#27e2cb0d34ed43b3) , but the poster never replied back...
>
> Thanks in advance for you help,
> Sam
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---