#theahmadzai-paymentintent
1 messages · Page 1 of 1 (latest)
Hi there, can you elaborate more? btw you can only issue refund up to the amount that was charged.
hi
yeah
I'm charging customers and after charging I'm storing the paymentIntent in database
it's id
now I want to allow modification to existing product
like they can optionally chose an addon
I want to charge them
I also have a refund feature if you don't like you press refund and your customer gets all it's moeny back
and in the refund I use the paymentIntent I had stored when charging initially
so what's the best way for me to charge for modification so that I can refund the initial amount + modification price at once
from a single paymentIntent id that I store in db
and I am not using stripe products
I just use the payment intent from stripe to charge
OK, is initial amount + modification price > the charged amount?
yep
Hmm, I'm afraid that you can't refund more than the charged amount.
This is the flow
You buy product 1: I charge (10$) u using payment intent and store id
tomorrow you modify it: I want to charge you (5$) more
next day you press refund: I want to refund you all your (15$)
I don't want to refund more than the charged amount
I just want modification price to be included in paymentintent
You buy product 1: I charge (10$) u using payment intent and store id
tomorrow you modify it: I want to charge you (5$) more
next day you press refund: I want to refund you all your (15$)
I want to do this
Was there another paymentIntent for the $5 charge?
that's waht i am doing currently
How can I charge them for modification the way that refund is easy for me
I'm not doing anything at the moment for modification charge
for another 5usd
I want to know what should I do
You can't change the amount once the paymentintent is succeeded, so you will need to create another payment intent for the additional charge,
You can still update a paymentintent when its status is requires_payement