Hello,

I am using Django to write a sort of web-shop site. For reading
credit
card information, and reserving the money we use a third part company
called DIBS. The flow of the application is roughly like this:

1. The customer peeks around at our site and selects product(s) to
buy.

2. When the customer is ready to commit she is redirected to the site
of
    the third party. The URL redirecting there contains some
information
    about the purchase, i.e. the amount, an order id in our system
and
    so on.
    In addition the url contains three extra URLs which the DIBS
system
    will redirect to, depending on the outcome of the transaction.

3. When a transaction has completed successfully DIBS will redirect
the
    customer to a URL like this on my site:

                http://what.ever/DIBS/accept/ddddd/

    The url mapping of this is just to a simple view function
displaying a
    "Thank you for your purchase blablabla" text. Now this page is not
    rendered, instead I get 403 and CSRF verification failure.
    Now the view I would like to render in this case is not a form, so
I do
    not really understand how the csrf macinery of Django comes into
play?

Summary of redirections:

      Form at my site --> DIBS --> simple view at my site.

Any tips?


Joakim



-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-us...@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.

Reply via email to