#dharmik_code

1 messages · Page 1 of 1 (latest)

raven masonBOT
#

đź‘‹ 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/1463428530393321545

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

polar swallow
#

Hi! You will need to do the calculations yourself to determine the Stripe fee based on the payment method type. We typically don't recommend doing this due to the complexity, and because different countries have different regulations on passing fees to the customer, so you should ensure that it's allowed in the country you're processing in.

old quiver
#

Example I generate intent of 8 USD but after charge of card that change with 8.5 USD so can I use existing intent?

polar swallow
#

Sorry what do you mean by this? You created a payment intent for USD 8 and the customer was charged more than USD 8?

old quiver
#

Yes, After generate intent it open card popup and card entered by user is international so that addition charge is there so so that is 8.5

polar swallow
#

Sorry so what is the question here?

old quiver
#

Example:
If the total transaction amount is $10, out of which $8 needs to be transferred to the merchant and the remaining $2 is my commission, how can I configure Stripe fee calculation so that the merchant receives exactly $8, while my platform retains $2 as commission, after considering Stripe processing fees?

I generate intent of $10 but after user enter card which is international, for example, it charges
$10.5 so how can I manage that?

polar swallow
#

You may want to consider using our two-step confirmation integration. You can collect the payment method, validate what you need on your end and then create the payment intent accordingly. Our pricing is indicated here: https://stripe.com/en-sg/pricing.

old quiver
#

Okay.

First, I create a Payment Intent with an example amount of $10. After that, on the mobile side, the Payment Sheet opens and asks the user to enter their card details.

Once the user enters the card information, we receive a Payment Method ID, which allows us to calculate the applicable fees.

My question is: if the user has entered card details but has not completed or confirmed the payment, does Stripe hold the customer’s money at this stage?

polar swallow
#

My question is: if the user has entered card details but has not completed or confirmed the payment, does Stripe hold the customer’s money at this stage?
Are you saying you have confirmed the payment but not captured it?

#

Can I confirm what is you main goal? Knowing this will be easier for me to advise you.

old quiver
#

My primary goal is to collect the total payment from the customer, including the Stripe processing fee. However, the Stripe fee can vary based on several factors such as card brand, card country, and other parameters.

At the time of creating the Payment Intent, we do not yet know which card the customer will use for the transaction. Because of this, it is not possible to calculate the exact Stripe fee upfront.

I would like to understand the best approach to handle this scenario while ensuring accurate fee calculation and settlement.

polar swallow
#

Are you using iOS or Android?

old quiver
#

Suppose I initially create a Payment Intent with an amount of $5. The user then proceeds to make the payment. However, based on the card used (for example, an international card), additional Stripe fees apply and the final amount becomes $5.50.

In this scenario, how can I update or use the existing Payment Intent to capture the new amount of $5.50, instead of the originally created $5?

#

We are using a React Native application for both

raven masonBOT
forest dirge
#

hi! I'm taking over this thread.