#sapient_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/1288360711986217033
๐ Have more to share? Add more details, code, screenshots, videos, etc. below.
Below are links to other discussions we've had with you in the past week in case you want to review that information. If your question is related to one of these previous discussions, please provide a comprehensive summary of the current state and what you need help with now. We help many users simultaneously, so a summary allows us to resolve your issue as soon as possible.
- sapient_api, 21 hours ago, 4 messages
- sapient_api, 4 days ago, 38 messages
- sapient_api, 5 days ago, 3 messages
- sapient_api, 6 days ago, 5 messages
payment_intent_data is for payment mode.
subscription mode should use subscription_data: https://docs.stripe.com/api/checkout/sessions/create#create_checkout_session-subscription_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.
ok thank you so much it is very helpfull to me
No problem! Happy to help ๐
but i implemwnt this code now
subscription_data: {
application_fee_percent: processing_fee + platform_fee,
transfer_data: {
destination: stripe_account_id, // The connected account ID
},
},
and i have done 134.74$ payment so i want to add 120$ connected account and 14.74 send to stripe account holder account but in connected account send 114.88$ why ??
Can you share the Checkout Session ID (cs_xxx), so that I can take a look?
this is my subscription id sub_1Q2nG2KH4UZqVNH7LZW2WXUa
The application fee in subscription goes by percentage, not amount. In your https://dashboard.stripe.com/test/logs/req_pPurxVtoLKrqcD, the application fee percentage is set to 14.74% such that 134.74 - 14.74% = $114.88 was transfer to the connected account
Sign in to the Stripe Dashboard to manage business payments and operations in your account. Manage payments and refunds, respond to disputes and more.
every time this prices is changes so how can i mange using percentage ??
means processing_fee + platform_fee,
You have to calculate the percentage by yourself and set it accordingly
means for example my application_fee_percent in amount 120 so i set percentage accordingly this value ??
Application fee percentage is the percentage that the platforms will be kept. The remaining amount after application fee deduction will be transferred to the connected account. You'd need to work out the formula yourself, so that the connected account will receive the correct amount
ok thank you