Re: interaction of django with paypal

2009-08-30 Thread Ryan Kelly
On Sun, 2009-08-30 at 19:54 -0700, Rafael Ferreira wrote: > you could also use this (I haven't used it myself but looks > promising): > > http://github.com/johnboxall/django-paypal/tree/master I can second this recommendation, I've been doing some basic paypal integration and django-paypal has sa

Re: interaction of django with paypal

2009-08-30 Thread Rafael Ferreira
you could also use this (I haven't used it myself but looks promising): http://github.com/johnboxall/django-paypal/tree/master and it will handle the IPN for you. - raf On Sun, Aug 30, 2009 at 9:07 AM, orschiro wrote: > > Hello guys, > > first thank you for your suggestions. I have to admit I'

Re: interaction of django with paypal

2009-08-30 Thread orschiro
Hello guys, first thank you for your suggestions. I have to admit I'm pretty new to Django and coding itself, so please be patient with me. *g* >From your the ideas I tried to implement the following one. >     if (None == request.META.get('HTTP_REFERER')): >         return HttpResponseRedirect

Re: interaction of django with paypal

2009-08-30 Thread Andy Shaw
orschiro wrote: > Well and that is also the problem with my solution. Everyone who knows > the URL can download the data without to pay before. > > What I'm now looking for is a possibility to inquire whether the > customer has paid before he was visiting the download page. Whilst you could check

Re: interaction of django with paypal

2009-08-30 Thread esatterwh...@wi.rr.com
You would probably want to create a unique key for each user and something to denote whether the key for the download had been used. the django-registration application does this pretty well, you might peek at that code. Or depending on the scope of the project, you could use the Satchmo app to

Re: interaction of django with paypal

2009-08-29 Thread Devang Modi
Hi, can you implement something like below? if (None == request.META.get('HTTP_REFERER')): return HttpResponseRedirect(reverse(YOUR VIEW FUNCTION THAT REDIRECT TO DOWNLOAD URL)) elif (-1 == request.META.get('HTTP_REFERER') .find(reverse(YOUR VIEW FUNCTION THAT RED

interaction of django with paypal

2009-08-29 Thread orschiro
Hello guys, I've set up a Single-Pay-Button via Paypal. After a customer had paid successfully I configured Paypal to redirect the user to download.domain.tld. There he has to fill in his personal data into a html form and then receive some download data. Well and that is also the problem with m