#evanS

1 messages · Page 1 of 1 (latest)

normal heartBOT
gaunt lark
#

Hi 👋

What API call are you making that you want to get a Payment Intent or Charge ID from?

wispy mist
#

Hey snufkin! Sorry to trouble you guys again.

My ultimate goal it to get the paymentIntentID in order to pass it and make refunds.

Right now, I am trying to accomplish this through the checkout session object as Its the only Id I seem to have that I can use to retrieve information.

gaunt lark
#

Okay so you have the Checkout Session object?

wispy mist
#

I do, yes

gaunt lark
wispy mist
#

I was trying that approach but am not getting anything back from Stripe, only nulls.

I was/ am tryign to dive into it all a little bit and saw that the paymentIntent is not longer included in the checkoutSession object as of 8/22?

https://stripe.com/docs/upgrades#2022-08-01

Keep track of changes and upgrades to the Stripe API.

gaunt lark
#

What API version are you on?

wispy mist
#

2022-11-15

gaunt lark
#

Wait...what is the status of this checkout session? I'm seeing subscrition as the mode and unpaid

normal heartBOT
gaunt lark
#

A Payment Intent won't be created until the Checkout Session is successful

wispy mist
#

Okay, so after I create the subscription, can I use the session Id to get to the payment intent?

gaunt lark
wispy mist
#

so, I'll use this then to get that, perfect. Thank you. I'll go dig into it now, hopefully I won't come back. I greatly appreciate your help!