#thomasnevink
1 messages · Page 1 of 1 (latest)
hello! can you share the PaymentIntent id?
pi_3O0H09JnRs6ZWiPy0ffZy83H
you passed in $15 when creating the PaymentIntent : https://dashboard.stripe.com/test/logs/req_JSe3BbNgLWVQ0O, where did you see that you created it with 14.99?
Sign in to the Stripe Dashboard to manage business payments and operations in your account. Manage payments and refunds, respond to disputes and more.
The amount field is long type , so basically long? orderAmount = Convert.ToInt64(14.99) * 100; orderAmount evaluates to 1400
Could you explain me the calculations of Net and Fee
The final total is $ 15.00 and not $ 14.99 which is what I intend it to be
sorry i don't quite understand what you need me to explain about the calculations of net and fee?
Its quite simple the amount that I'm passing during paymentIntent creation is 14.99 which gets converted to 1400 and stripe ultimately shows the Amount as $15.00 in my dashboard instead of $14.99
Could you help me with a workaround around my Amount calculation
from our end, we're seeing that you're passing in $15. Why that's the case, you need to troubleshoot your own code. From a quick scan, Convert.ToInt64 might be rounding the amount, have you checked that?