#sajol_code
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/1288099729665822720
đ Have more to share? Add more details, code, screenshots, videos, etc. below.
Can you share the ID (req_xxx) of the API request? https://support.stripe.com/questions/finding-the-id-for-an-api-request
Find help and support for Stripe. Our support site provides answers on all types of situations, including account information, charges and refunds, and subscriptions information. Get your questions answered and find international support for Stripe.
You're doing direct charges, that transfer_data[destination] parameter is completely redundant
That's only relevant for destination charges. What exactly are you trying to do?
actually my system is a SaaS ecommerce. and store admin connect their stripe with our system and collect payment. now we want a plan to get 7% platform chrge for each transaction
Then you'd use application_fee_amount: https://docs.stripe.com/api/payment_intents/create#create_payment_intent-application_fee_amount
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
That will be the fee that the platform keeps and is deducated from the amount
yes. so i don't need to set transfer_data[destination]?
Yes, you can remove it
thanks a lot. you save my day. i was trying for last 2 hours with that params. thanks again. bye bye.
No problem, glad I could help!