Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

WordPress

Anyone know how to set up PayPal Adaptive Payments? (Anyone Up for a Challenging Question?)

Hey Guys,

I am running a BuddyPress site which allows members to pay each other with PayPal. I was using a Gravity form to capture user identities but due to legal reasons the client had to switch to an Adaptive Payment API. What this means is the entirety of the payment process occurs between the two variable users and a small slice gets paid to my client.

I have found zero plugins that support this, so I need to find a way to create a PayPal button that is dynamic.

Essentially the idea is:

  • User A wants to Pay to User B
  • User A navigates to User B's profile page
  • User A clicks on User B's Paypal button
  • The PayPal button captures who is who and sends it off to PayPal
  • This button will use the Adaptive Payment API to send the client a piece of that transaction.

Any help or steering in the right direction would be greatly appreciated! And yes I have gone over the PayPal Docs and am now more confused :P