Refund does not update PaymentIntent's charge
mirceacozarev-golfgenius opened this issue · comments
Mircea-George Cozarev commented
Description
Creating a PaymentIntent, following by confirming it and creating a Refund does not update the charges
of it. I was expecting I could see that charges.refunded
is set to true, amount_refunded
to equal the sum of the payment and the refunds
to contain a "refund" object.
Screenshot presenting the problem
Mircea-George Cozarev commented
The charge is not created correctly also when an application_fee_amount
is specified at the time of the intent's creation