PayPal Adaptive Payments

96 views
Skip to first unread message

Ian

unread,
Oct 8, 2011, 3:50:17 PM10/8/11
to Django users
I've been looking at this:
https://www.x.com/docs/DOC-3084

but I'm trying to set it up with Adaptive Payments.

Basically, I need a payment to be split between a few users... so if I
purchase something from seller A:
seller A gets 90%
person B gets 5%
person C gets 5%

This is easy to do with PayPal's Adaptive Payments, and I've done it
with PHP, but I'm trying to get it working on Django. Any advice?

Shawn Milochik

unread,
Oct 8, 2011, 3:58:24 PM10/8/11
to django...@googlegroups.com
Please read this:


Your question is so vague that it's gives the impression you haven't actually tried to solve your own problem and you want someone to do your work for you.

Assuming that's not the case, please let us know what you've tried and what your technical hurdle is. If you can ask a specific, detailed question that can be given a specific answer then you'll generally find that more people will take the time to try to help you.

Shawn

Markus Gattol

unread,
Oct 8, 2011, 4:26:47 PM10/8/11
to django...@googlegroups.com
Rather than reinventing the wheel take a look at https://github.com/agiliq/merchant It's possible to split one payment into 90,5,5 as you want, all you need to do is write a little logic atop merchant.

Ian

unread,
Oct 9, 2011, 3:02:39 PM10/9/11
to Django users
Thanks, Markus! That looks perfect!

Shawn, I was more curious if this is even possible to do with django.
I was just doing research and wanted to know if there was a better
payment system tailored for django (the 'merchant' project looks
perfect)

thanks guys!

On Oct 8, 4:26 pm, Markus Gattol <markus.gat...@gmail.com> wrote:
> Rather than reinventing the wheel take a look athttps://github.com/agiliq/merchantIt's possible to split one payment into

Ian

unread,
Oct 9, 2011, 10:25:51 PM10/9/11
to Django users
So I got the basic merchant functionality working, but I can't figure
out the best way to automatically split the payment 3 ways... advice?

On Oct 9, 3:02 pm, Ian <icinna...@gmail.com> wrote:
> Thanks, Markus! That looks perfect!
>
> Shawn, I was more curious if this is even possible to do with django.
> I was just doing research and wanted to know if there was a better
> payment system tailored for django (the 'merchant' project looks
> perfect)
>
> thanks guys!
>
> On Oct 8, 4:26 pm, Markus Gattol <markus.gat...@gmail.com> wrote:
>
>
>
>
>
>
>
> > Rather than reinventing the wheel take a look athttps://github.com/agiliq/merchantIt'spossible to split one payment into

Andy McKay

unread,
Oct 10, 2011, 12:10:32 AM10/10/11
to django...@googlegroups.com

On 2011-10-08, at 12:50 PM, Ian wrote:
> This is easy to do with PayPal's Adaptive Payments, and I've done it
> with PHP, but I'm trying to get it working on Django. Any advice?

That's more a PayPal question than a Django one. But at Mozilla we use adapative payments with Django. Our codebase is rather big so might be hard to follow, but the key PayPal stuff is here:

https://github.com/jbalogh/zamboni/blob/master/apps/paypal/__init__.py

It doesn't answer your question, but gives you something to look at ;)

Cheers.
--
Andy McKay
an...@clearwind.ca
twitter: @andymckay

Reply all
Reply to author
Forward
0 new messages