#machineau
1 messages · Page 1 of 1 (latest)
How can I help?
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.
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?
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
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.
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 ?
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.
ok how can we let stripe know that the fees are included ?
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
and then the fee calculation wil defer from my calculated fee and stripes calculated fee, as stripe will be caluclatring on the total amount ?
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
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.
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.
ok
can you tell me in the payment intent structure how can i specify if fees are included or not?
Do you mean you would like indicate in the Payment Intent whether your system has included the fee in the final amount? If so, metadata can be used to keep track information for your own reference: https://stripe.com/docs/api/payment_intents/object#payment_intent_object-metadata
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
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 ?
Stripe will not know if you include the Stripe fee amount in your own calculation