#vicente_subscription-connect
1 messages ยท Page 1 of 1 (latest)
๐ Welcome to your new thread!
โฒ๏ธ We'll be here soon! Typically we respond in a few minutes, but sometimes we might take a bit longer if the server is busy or if you have a particularly tricky question.
โฑ๏ธ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can always start a new thread if you have another question.
๐ This thread will always be available, even after it's closed. You can find it again using Discord's search, or you can save this link: https://discord.com/channels/841573134531821608/1461432102166986765
๐ Have more to share? Add more details, code, screenshots, videos, etc. below.
Hey @scarlet turtle
#1 => you have to create a Subscription if you want to charge for a price on a recurring basis, you can't just create an Invoice yourself. Creating the Subscription then handles the Invoices creation
#2 => the fee is taken based on the amount you charge, not per Product/Price
vicente_subscription-connect
right, so it'd be a different flow if the user is subscribing to a plan vs. a physical one or a one-time purchase.
and that subscription would be linked to a product/price that has a periodicity set up, no? Or could it be multiple?
yes it'd be a different flow between a one-off payment and a recurring one. A Subscription can be created with multiple Price(s) too
Thanks a ton!
Regarding the app fees then, i'd have to set up a global % or fixed fee for all of our providers
you can calculate it per Subscription based on the Price(s) you add to it but yes you have to do the calculation/math
We were hoping to do different percentages if it were a one-off vs. a subscription
yep you can do all of this but you have to write the code to calculate
or is it something thats calculated at the time of payout?
It can be either. There are many ways to build a Stripe Connect integration so it's hard to say what's right for you
The most common flow is to take a percentage of each Invoices
Ah. what field is that set in? I can't seem to find it within the Invoice docs...
Invoices: https://docs.stripe.com/connect/invoices => application_fee_amount
Subscriptions: https://docs.stripe.com/connect/subscriptions application_fee_percent
OH. There's a whole Connect docs section, nice. Thanks!
Thanks a ton, everything makes much more sense now, and you saved me a whole lot of time and trouble ๐
yay ๐
Oh one last thing. For customers, how can they cancel a subscription afterwards? Is it something I can use the Customer Session for?
Not exactly, CustomerSession is an unrelated API
The most common flow is that you build your own admin panel where they manage their subscription and add the ability to cancel. You can also use our Customer Portal product: https://docs.stripe.com/customer-management
alright, thanks once again, I'll look into it ๐