#Village_Admin-PHP
1 messages · Page 1 of 1 (latest)
cs_test_a18VHdXXS4Qt4JfJOH9B2apHKyhjzuYb4w8rj1JBsIIoFwJu4wyBG8uLjw
It could be just some PHP syntax issue
$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.
I was just getting to the PI pi_3KjAJ3CPZjnvMsbu1nnYu6YF 😅