#surbhi
1 messages ยท Page 1 of 1 (latest)
i have created a session but payment intent id is null
Can you share the checkout session id?
cs_test_a1fNGnirGqUFpXJBbH6IQ01JJeLwRffRrdFGMfaJwyr3hNxURxSWy5dCiQ
Hm interesting. Looking
sure
Ah it's because you are on the latest API version. This is a recent change with the newest API version: https://stripe.com/docs/upgrades#:~:text=A PaymentIntent is no longer created during Checkout Session creation in payment mode. Instead%2C a PaymentIntent will be created when the Session is confirmed
so which api call gives me the payment intend id?
PI ID won't show up on the checkout session object until the session is confirmed now. I recommend listening to this webhook event: https://stripe.com/docs/api/events/types#event_types-checkout.session.completed
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 u
Hi
Hi there. You have a follow-up question?
yes.
i see here checkout session is completed
but when i try to retrive , it says that this is not avvailable
i am not sure, what i am missing here
Hi...
Can you share the request ID?
requestid is nothing but the stripe account id?
Find help and support for Stripe. Our support center provides answers on all types of situations, including account information, charges and refunds, and subscriptions information. Get your questions answered and find international support for Stripe.
req_cOzOMoAOE7nchB
You made that request with a different api key
That request was made on account: acct_1LSYnXG911NmCyf8
Checkout session exists on acct_1LjgAFAr6RyxNvhF
acct_1LjgAFAr6RyxNvhF is the connected account
i create session on behalf of the acct_1LjgAFAr6RyxNvhF
here, the problem is, i wnt to know his payment intent id