#Village_Admin-PHP

1 messages · Page 1 of 1 (latest)

fathom dew
#

Payment Intent Id for double check?

#

I can take a quick look on that PI

twilit cargo
#

cs_test_a18VHdXXS4Qt4JfJOH9B2apHKyhjzuYb4w8rj1JBsIIoFwJu4wyBG8uLjw

fathom dew
#

It could be just some PHP syntax issue

twilit cargo
#

$session = \Stripe\Checkout\Session::retrieve(['id' => $sessId, 'expand' => ['subscription.latest_invoice.payment_intent']]);

#

Yeah, im assuming im accessing the object wrong, i just can't figure it out.

#

I know the data is there, if i dump the entire object i can see it.

#

Oh i finally figured it out, sorry for the trouble. Its

$session->subscription->latest_invoice->payment_intent->status
#

You can close this thread.

fathom dew
#

I was just getting to the PI pi_3KjAJ3CPZjnvMsbu1nnYu6YF 😅