#djarfur_api
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/1264912807460212798
๐ Have more to share? Add more details, code, screenshots, videos, etc. below.
You can update the field on existing Subscriptions, sure: https://docs.stripe.com/api/subscriptions/update#update_subscription-application_fee_percent
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
Or can I let in Connect the Provider pay the fee?
Not sure what you mean by this really
I mean, I have to change me fee for subscriptions, because the fee from Stripe is changeing. Currently I am paying Stripes fee and getting Whats left. When It would be possible to let the providers pay stripes fee and Not me ( the marketplace ) I wouldnt habe to Change the fee
Furthermore could u maybe give me a Python line where Subscription is modified with the fee?
hi! I'm taking over this thread.
if you want to connected account to pay the Stripe fee, you need to use Direct Charges. however note that this is only recommended if the connected account has a Standard Stripe account.
you can learn more baout the different types of charges here: https://docs.stripe.com/connect/charges
okay, so when its just an account over my plattform it doesnt work?
not sure I understand your question.
can you try to clarify what you are trying to do and what's the issue exactly?
the issue is that currently I am getting the money from the user and via destination transfer it to the provider. By that I have to pay Stripes Fees and look which cut i take to cover that. Much easier would it be, if the provider has to pay the fees from Stripe. I dont know what my Providers have as Account. I am sending them to stripe for onboarding and connecrt them to my plattform. Maybe you can help me there
Much easier would it be, if the provider has to pay the fees from Stripe. I
like I said, you would need Direct Charges for this.
dont know what my Providers have as Account.
you can find the type of your connected accounts here https://dashboard.stripe.com/test/connect/accounts/overview
Okay I get that. That means when i dont want to add direct charges and so on, I would have to stay with my current workaround? Can you provide a line of code where subscription is modified and the fee percent is changed?
That means when i dont want to add direct charges and so on
what do you mean? your connected accounts are not Standard accounts?
Can you provide a line of code where subscription is modified and the fee percent is changed?
you can find here an example of code to update a Subscripton. and you'll need to setapplication_fee_percent
earlier you said:
dont know what my Providers have as Account.
so I told you, check the url above and check thetypeof your connected accounts to see if they are Standard or not.
yeah they are standard
then you could use Direct Charges, and the connected account wil become the merchant of record. so they'll handle Refunds, Disputes, and also pay the Stripe fees.
you can learn more about this here: https://docs.stripe.com/connect/direct-charges
stripe_account='{{CONNECTED_ACCOUNT_ID}}', so here i give the id of the provider and everything is fine?
yes, you'll need to use the Stripe-Account header when creating the Subscription, and set it to the connected account ID.
to learn more about the Stripe-Account header: https://docs.stripe.com/connect/authentication#stripe-account-header
๐ taking over for my colleague. Let me know if there's any follow-up Qs I can answer!
the problem is that when i use stripe_account, I have to let the providers have their offers on their account. While that I have no controll over them and I can be possible that my data of the offers and their data are not the same, because they changed the offers in stripe
not necessarily, since you are creating the subscription you can either create the price on the go (on their account) or use price_data to pass in manual price data while creating the subscription
no, the price is binded with id, because i have to filter which person has which offer subscribed and then change it
like when a provider changed the price, i have to be able to search for the users for that price
yes that's not a issue
since you are a platform you can create as many prices as you want on the Connected Account
yeah, yeah i know. But how to work around that the provider can change the things over their stripe account?
you can listen to price.updated events and make sure that your prices aren't being changed
unfortunately, the other approach means that you would need to create Express or Custom Accounts and then you wouldn't have the ability to make Direct Charges
currently they are standard, the providers do offers over my account and i can mange them. When I want them to pay stripe fees, i have to accept the not so nice solution?
yes that's true