#jensen_84691

1 messages · Page 1 of 1 (latest)

opaque depotBOT
#

Hello! We'll be with you shortly. Below are links to other discussions we've had with you in the past week in case you want to review that information. If your question is related to one of these previous discussions, please provide a comprehensive summary of the current state and what you need help with now. We help many users simultaneously, so a summary allows us to resolve your issue as soon as possible.

frozen lotus
#

hello! I'm afraid i don't quite understand the question. The PaymentIntent object doesn't have any reference to a refund. Can you share more on what you're trying to do?

young agate
#

webhook I only listened to [checkout.session.completed], but there is no ID in it that I think can be refunded. What should I do

frozen lotus
young agate
#

$stripe->refunds->create(['paymentIntent' => 'pi_3Oa7kBJtbMy2qd3L1z6KPb6f']);

#

Is that right?

frozen lotus
#

you can try running it