#thedigitalmc-Subscriptions + Connect
1 messages ยท Page 1 of 1 (latest)
AWesome thanks @rapid shore
sorry it's taking me a sec to get your Q
No worries
this is what you need to use https://stripe.com/docs/api/subscriptions/create#create_subscription-transfer_data
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
Can I set up the transfer to happen automaticlly?
this will do that
Got it, so need to manually lsiten to webhooks?
you would specify the destination (the Connect Account Id) and the amount_percent
I'm still talking about the first approach
no not really
Awesome let me take a look
you can accomplish that by listening to the webhook events but it's a hassle and no real gain if you just want the transfer to happen automatically
Perfect! This is what I hopped
Now I have products in Stripe that include a subscription. Can I use these or are you saying I need to manually create subscriptions every time. For instance can I templatize the subscription package and then set the transfer on signup depending on the sales rep -- OR after the fact modify the customer's subscription to add the transfer
Subscriptions are related to a customer and it can have multiple items (Prices)
each Price is related to a Product
Got it, so I can keep my products manually managed in my platform account (which is preferred). Then when a customer signs up, we create a subscription agasint that product and we can create the transfer at that time
Is that correct
yes correct
you can read more about this here https://stripe.com/docs/connect/subscriptions
Sorry just reading through this a bit
let me know if you need any more help
So to update existing subscriptions, I could use this: https://stripe.com/docs/api/subscriptions/update
This way I can update subscriptions as sales reps commisons change ect. For example, if I just update to add "transfer_data", it won't re-bill the client will it. The cadence will stay the same correct - just adding an additional distribution to a connect account for payments moving forward
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
AFAICT yes but I've never done it to be honest, so it needs some testing
you could use test clocks to test your integration https://stripe.com/docs/billing/testing/test-clocks
Gotcha, so these clocks simulate month/month subscriptions. I get it