#dalbeer
1 messages · Page 1 of 1 (latest)
can you elaborate in more detail what exact fees you are looking to calculate?
the total payment is $300 with two items in the order
while cancel one item which has $100 how can i charge the fees because the user refund the item from the order
please check the screenshot https://i.imgur.com/c2YAsr1.png
can i reverse the payment after cancelling the item ?
not sure what that means, can you elaborate? What is "reversing a payment"?
Suppose I have two identical items in my order, and I want to cancel one of the items without going through the refund process. How can I reverse the payment for that item?
Stripe has no idea that there are items in your order, if using a raw PaymentIntent we only know that you are charging e.g. $300
so it's up to you and your code to know and calculate that you want to only refund $100, and pass that amount to the Refunds API, as I explained to you in our other thread earlier today.