#shani_10642
1 messages · Page 1 of 1 (latest)
This might be due to different API versions on your dev account versus customer's production account.
In the latest API versions, we don't generate payment intent until the checkout session has been completed and successfully confirmed.
thanks Hanzo, is this something we can change with configuration in the stripe account? where is the api version being controlled?
You can check the API version the account is on by looking on Developer dashboard here
https://dashboard.stripe.com/developers
In newer API version when the customer gets redirected to success URL, merchants usually rely getting the Checkout Session ID, retreiving the session while expanding it's associated payment intent and checking its status instead
https://stripe.com/docs/payments/checkout/custom-success-page
thanks, until changing the implementation, is there a way to downgrade an api version? what can be the implication of that?
You'll want to talk to our support team about downgrading the API version, they can check and help with that
thanks, then each stripe account is using it own version of the API's? same version for all API's?
Each Stripe account has its own API version, yes
same version for all API's?
not sure what you mean by that
not sure I follow, in the stripe dashboard where exactly do I see the api version?
MY API version I mean
https://dashboard.stripe.com/developers
API version section at the bottom
it should have a "default" tag
👍
Is the screenshot you shared above your own dev account or the customer's prod account?
IIRC the change to checkout API not returning a PaymentIntent was introduced in 2022-xx-xx API version
Ah 2022-08-01 specifically
https://stripe.com/docs/upgrades#2022-08-01
A PaymentIntent is no longer created during Checkout Session creation in payment mode. Instead, a PaymentIntent will be created when the Session is confirmed.