#chordoncode
1 messages ยท Page 1 of 1 (latest)
Hi there!
Pasting your other messages here:
but it's not working.. how can I get the info?
do I have to call stripe.checkout.sessions.retrieve ?
๐ HI ๐๏ธ
Yes using expand: ['payment_intent.latest_charge'] should work. What is the issue?
the result does not have card information
sessions.retrieve is working well
but create api does not have card information.
could you please check this? ๐
but create api does not have card information.
What do you mean by "create api"? When you create the Checkout Session the information won't be there. You need to wait for the Checkout Session to be succesfull to see the payment information.
I think, create checkout api can return the customers card information. am I right?
๐
oh...
sorry...
my misunderstood..
it's just create the checkout session page..
it's just create the checkout session page..
Correct. Next you need to send the URL to the user, wait for them to enter their information and submit the page, and then you can retrieve the card information
yes.. you are right.. I spend some time for another work and just back to the checkout task.. so.. I misunderstood.. sorry!
๐ thank you!
I got confused. thanks~ ๐
No worries! Happy to help ๐