#harolold
1 messages · Page 1 of 1 (latest)
Hello! If you retrieve the Subscription with pending_setup_intent expanded you should be able to check pending_setup_intent.client_secret with the PaymentElement
and if you're not familiar with expansion you can check out our docs here -> https://stripe.com/docs/expand
yeah that's because you haven't expanded it
Did you read this link that I sent you? https://stripe.com/docs/expand
You can see it in the API ref which I sent you earlier - https://stripe.com/docs/api/subscriptions/object#subscription_object-pending_setup_intent
Your code is complaining because you need to be expanding pending_setup_intent not setup_intent
yeah I figured it out