Reputation: 129
I'm building a site for a client that involves a number of content creator users that other users can subscribe to with automatically recurring monthly payments (think OnlyFans). All transactions are to go through PayPal, which I thought would be the easiest solution. I'm coding in PHP (WordPress environment) using Curl to call the REST API.
I've got the content creators on-boarding fine as merchants. I originally went down the path of creating Orders, and PayPal has a great commission tool in that system so that my client will get their commission every time a user starts a subscription. I was going to take care of the recurring payments at my own end, but then I discovered PayPal's Subscription system - it seemed perfect, but it doesn't have the automatic commission facility of the orders system, which is a bummer. So I could have PayPal automate the commissions while I programmed a subscription system, or I could use their subscription system and ... what?
That's where I'm stuck. I now need to automate PayPal deducting a payment from my merchant and paying it to my client as their commission. This needs to be done whenever a subscription is started and then each month as the subscription payment comes through. I've tapped into web-hooks to get notified when these automated monthly payments are happening (at least I'm hoping I have), but how can I automate a percentage of the initial payment and each subsequent monthly payment to be automatically deducted from the merchant and paid to my client?
I've looked at orders, but that needs to be approved by the merchant. What else is available to me?
Upvotes: 0
Views: 180
Reputation: 30432
To automate sending payments from your own account to creators or affiliates, you could potentially use Payouts.
See here for information on requesting access to Payouts.
Upvotes: 1