django-paypal wpp express checkout

279 views
Skip to first unread message

Josh Cartmell

unread,
May 9, 2011, 7:30:45 PM5/9/11
to django-paypal
I'm working on setting up Paypal Payments Pro. My understanding is
that this is supposed to support both the direct payment by the
customer giving you their cc number and express checkout where they
would be taken to the paypal website.

Reviewing the source this seems to be what the PayPalPro object does
(paypal.pro.views.PayPalPro). The readme section for wpp even
instructs you to set up an ipn endpoint in your urls. But you never
tell paypal what this endpoint is as you do in paypal payments
standard with the notify_url. Also, when you put the form in a
template as per the example there is not option to use express
checkout.

My question is how do you use express checkout with WPP? Any further
documentation or an explanation would be greatly appreciated.

Thanks,
Josh

p.s. I'm using dcramer's version of django-paypal on django 1.3.

IvG

unread,
May 20, 2011, 3:01:30 PM5/20/11
to django-paypal
I am having the same problem
Also I am using django 1.3
Any help is appreciated
Thanks IvG

Craig

unread,
May 25, 2011, 12:48:35 PM5/25/11
to django...@googlegroups.com
For WPP it is done automatically when you map django-paypal's urls.py in your own urls.py

Not sure how it works with standard, or why you even need to include notify_url.




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




--
-co

Josh Cartmell

unread,
May 26, 2011, 3:47:14 PM5/26/11
to django...@googlegroups.com
I did end up figuring this out to some degree.  You set the ipn endpoint in your paypal account.  If you click profile there will be an option about ipn within the list of links.

django-paypal will use express if it sees express in the GET data.  So for example if your payment url is /pay/ going to /pay?express will cause django-paypal to use the express checkout.  Going to /pay sans ?express will result in the direct payment process.

Regards,

Josh

p.s.  This https://github.com/dcramer/django-paypal/ is the current "official" version according to another message I read on the group, in case you didn't know that.

Reply all
Reply to author
Forward
0 new messages