#Cybertheory-checkout-setup-intents
1 messages ยท Page 1 of 1 (latest)
Hi ๐ no, this isn't a test mode limitation. You should still have a payment method at the end of the flow.
hey thanks for the info! any ideas as to what could be going wrong (like usual bugs?)
Well need more info to try and figure that out. When you go through the Checkout flow, what type of payment method are you using?
i tried both google pay and the 4242424242424242 test card
Did you get any sort of error, or did the flow complete successfully? Do you have an ID that you can share (checkout session or setup intent)?
the flow completed without error, the logic error was that the payment_id was null
yup do you want a setupintent id or a session id?
seti_1KkuqHKeB2NzKAYAfzdayLJ7
awesome thank you!
I'm seeing an ID populated in the payment_method field for that intent.
wow
interesting
I think I may be accessing the payment_method member incorrectly then
i'll take another look at the docs
๐ this is the parameter where I'm seeing that ID:
https://stripe.com/docs/api/setup_intents/object#setup_intent_object-payment_method
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
ok thank you for your help!
Any time!
oh dang I was right, crazy how simple mistakes domino into hassles, thanks again
Yeah, the snowball effect is real. Glad to hear that helped!
would there be any way to check a setupintent object in the future myself?
You can find them in the Stripe dashboard, or you can retrieve them via the API:
https://stripe.com/docs/api/setup_intents/retrieve
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.