#chirag-savaliya_code

1 messages ¡ Page 1 of 1 (latest)

white kiteBOT
#

👋 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/1463061626633588858

📝 Have more to share? Add more details, code, screenshots, videos, etc. below.

runic gate
#

Hello! I just want to acknowledge the question. I'm working on some other threads but will get to you as soon as I can.

mystic canopy
#

Sure

#

Thanks

runic gate
#

Hi @mystic canopy thanks for waiting. I'm not sure I got your question, could you let me know what you're blocked on?

mystic canopy
#

We want to implement payment flow in which we want to collect payment including stripe fee amount from customer.

(1) We are using express connect account.

(2) We have tried by creating intent of nearest maximum possible amount by calculating stripe fee based on charge currency and connect account country and at the time of capture we capture exact payment amount by calculating stripe fee based on payment method used by customer, so capture amount will may be less than intent amount.

(3) Before we have also tried setup payment intent but in this case in payment sheet amount display as 0 due to 3d secure

Questions:
(1) flow mention in 2 point is valid ?
(2) Is there any other way for this kind of requirement ?

runic gate
#

For 1 - it is possible for capture amount to be less than what's authorized. What's authorized meaning the amount passed during PaymentIntent creation that is presented to the customer for payment.

For 2 - What requirements are your referring to?

mystic canopy
#

I have implemented flow which i have mention in point 2. So in this case amount display in stripe dashboard transaction is actual amount which is authorized by customer and deducted amount will may be less than this amount. So my question is is it valid flow ?

runic gate
#

As I mentioned above, it is possible to capture an amount less than what's authorized.

#

So yes, it is a possible flow on Stripe.

mystic canopy
#

Is there any other way in which i can capture amount including stripe fee from customer ?

runic gate
#

No. Stripe will charge the customer any amount you set (or to be specific, capture). As you increase the total amount to charge, the Stripe fee also increases, as it's a percentage of the total. This means you'll also want to figure out what gross amount you need to charge such that, after Stripe deducts its fee, you receive some predictable net amount.

I should also mention that it's important to ensure that passing on fees to your customers complies with any applicable laws that pertain to you. If you are unsure whether any such laws apply, you should consult with your own legal counsel.

mystic canopy
#

So can you please suggest the best flow for this kind of requirement ?

runic gate
#

I can advice on how specific Stripe product or feature works. But please note that this is a Developer's channel intended to help unblock users on their Stripe integration. We will not be able to make suggestions on passing Stripe fees to your customers.

mystic canopy
#

Okay

native copper
#

This screenshot is attached for your viewing.

Right now, in my flow
I created an intent for 4.38 GBP, and the user used a domestic card, so the amount deducted was like 4.30 GBP.

#

I assume that this flow isn't valid.

#

I had no idea which card the user would use.
such as domestic or international

For example, the Stripe fee is different if a user uses an international card.

Now, this is what I'm most confused about.

#

How can I manage this flow with Payment Intent?

runic gate
#

What do you mean by "managed" ? I have said, repeatedly, that we cannot advise how to pass Stripe fees to your customers.

native copper
#

Payment ID: pi_3SrXpJIxWdxXAOax3uPzi9pa
Can you please suggest what the actual amount needs to be deducted with all changes?

white kiteBOT
native copper
#

Hey Arran

mystic canopy
#

We want to implement payment flow in which we want to collect payment including stripe fee amount from customer.

(1) We are using express connect account.

(2) We have tried by creating intent of nearest maximum possible amount by calculating stripe fee based on charge currency and connect account country and at the time of capture we capture exact payment amount by calculating stripe fee based on payment method used by customer, so capture amount will may be less than intent amount.

(3) Before we have also tried setup payment intent but in this case in payment sheet amount display as 0 due to 3d secure

Questions:
(1) The flow mention in 2 point is valid ?
(2) Is there any other way for this kind of requirement ?