#machineau

1 messages · Page 1 of 1 (latest)

whole oracleBOT
ocean widget
#

How can I help?

clever field
#

with this one i have question and clarification

#

we are using stripe connect standard

#

and we use destination charge

#

currently the stripe fee is coming out of the owners cost. We want to pass the stripe fee to the customer

#

so if we calculate the stripe fee using the formula in the above link, and then raise the payment intent on the full amount, will stripe again add fee on top of the full amount?

ocean widget
#

Hi. I wish I could help, but this chat is focused on developers and technical questions. Our support team will be able to assist you better than I can: https://support.stripe.com/contact

clever field
#

i just want to know as a dev for the payment intent how to pass the cost to the user?

#

the page says how to calculate it

#

but does not say how to make the intent call, with details so stripe does not add another fee on top of the total ?

ocean widget
#

You can specify the total amount (i.e., the amount you want to charge + and calculated fees) in PaymentIntent's amount field.

Again, please reach out to support for questions related to fees.

clever field
#

ok how can we let stripe know that the fees are included ?

ocean widget
#

No you don't need to. For example, the amount you want to charge is 100 and you want to add on a 10 fee, you just specify 110 as the amount when creating a payment intent

clever field
#

and then the fee calculation wil defer from my calculated fee and stripes calculated fee, as stripe will be caluclatring on the total amount ?

whole oracleBOT
clever field
#

so it will be a few cents different?

#

total_amount_cents = 30.0
calculated_stripe_fee = (total_amount_cents * 0.0175) + 0.3
print(calculated_stripe_fee) # 0.825

new_total_amount_cents = total_amount_cents + calculated_stripe_fee
print(new_total_amount_cents) # 30.825

stripe_side_calculated_stripe_fee = (new_total_amount_cents * 0.0175) + 0.3
print(stripe_side_calculated_stripe_fee) # 0.8394375000000001
print(stripe_side_calculated_stripe_fee - calculated_stripe_fee) # 0.014437500000000103

valid lynx
#

As mentioned by Jack, this channel is for technical integration questions, and we don't know how the fees are being calculated and the different in cents. I'd recommend reaching out to Support https://support.stripe.com/contact for the fee related query.

clever field
#

ok

#

can you tell me in the payment intent structure how can i specify if fees are included or not?

valid lynx
clever field
#

how will stripe know that it is included? and does not have to charge the fee again on total. will strip backlend logic use the metadata ?

valid lynx
#

Stripe will not know if you include the Stripe fee amount in your own calculation