#theahmadzai-paymentintent

1 messages · Page 1 of 1 (latest)

lament venture
#

Hi there, can you elaborate more? btw you can only issue refund up to the amount that was charged.

alpine spade
#

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

lament venture
#

OK, is initial amount + modification price > the charged amount?

alpine spade
#

yep

lament venture
#

Hmm, I'm afraid that you can't refund more than the charged amount.

alpine spade
#

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

lament venture
#

Was there another paymentIntent for the $5 charge?

alpine spade
#

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

lament venture
#

You can't change the amount once the paymentintent is succeeded, so you will need to create another payment intent for the additional charge,

alpine spade
#

but why is there amount on paymentIntent update

lament venture
#

You can still update a paymentintent when its status is requires_payement