#karan_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/1399723278846918847
๐ Have more to share? Add more details, code, screenshots, videos, etc. below.
hi there!
@vital elm Hello
I am confused on what charges should I use for stripe, should I use direct charges or destination charges
that's completely up to you. who do you want to manage refunds and disputes (the platform or the connected account)?
I want to split the payment of the order and take some part of the commission into my account and the rest goes to the vendor ( connected account )
if I use the destination charges then it will show my platform details to customer but this will make stipe fee to be cut from my share
and if I use the direct charges then the stripe fee is charged from the vendor ( connected account ) but the customer will also see the details of the vendor ( connected account ) which I dont want
what should I do ? I want to charge stripe fee from vendor ( connect account ) without showing their details to customer.
is this possible ? do I have correct understanding of the charges ?
pls help.
@vital elm are you there!
please be patient.
I want to charge stripe fee from vendor ( connect account ) without showing their details to customer.
that is not possible. for the connected account to pay the Stripe fee, you need to use Direct Charge. but then it will be the connected account information that will be shown to customer.
@vital elm can I change the business profile fields for the connected account and add my platform details instead. will this work ?
that seems like a really bad idea. that information needs to be accurate, so you cannot just change it to whatever you want.
the best solution would be to let the platform pay the Stripe fee, and increase the application_fee to compensate for it.
@vital elm I also thought of that. but I dont have the accurate amount of how much the stripe fee will be
like if user is using international card then its different and if its using domestic card then its different.
and I have to decide the application fee before payment, what should I do in this case?
and I have to decide the application fee before payment, what should I do in this case?
there's a workaround for this. when you create the payment, place a hold on the card. this allow you to check the exact Stripe fee that was paid. next, when you actually capture the funds, update the application_fee.
@vital elm is there any guide or doc for this? I dont know how to implement the hold on the card also thank you for the workaround.
how are you accepting payments? Checkout Session, Payment Element, something else?
@vital elm I am using checkout session and to get details after success payment I am using checkout.session.complete webhook.
then you can use this parameter to place a hold on the card: https://docs.stripe.com/api/checkout/sessions/create#create_checkout_session-payment_intent_data-capture_method
then this endpoint ot capture the PaymentIntent: https://docs.stripe.com/api/payment_intents/capture
and we do have a doc on this: https://docs.stripe.com/payments/place-a-hold-on-a-payment-method
@vital elm Thank you soo much ๐