#.captainsunshine
1 messages · Page 1 of 1 (latest)
As of version 2022-08-01 Checkout Sessions create their PaymentIntents on confirmation rather than creation https://stripe.com/docs/upgrades#2022-08-01
Can you tell me more about what you are trying to do and what you need the payment intent for?
I see we are currently on an older API version, and my test account is on a newer version.
We record the payment_intent on creation, and use that to find a "PaymentRequest" object later on when our api catches a checkout.
Currently working on a new feature, and things are breaking since a payment_intent is not returned on creation.
👋 In that case, you have two options.
- You can update the code to not expect a PaymentIntent when checkout is created (so you can use newer API version)
- OR you can ask our support team to downgrade your test account API version (I don't know if they can 100% but you can ask)
Cool. Currently I'm just ignoring the recording of PaymentIntent, but will probably need to ask support to downgrade it so I can actually test what production would be like. Thank you.