#chordoncode

1 messages ยท Page 1 of 1 (latest)

plucky needleBOT
whole jackal
#

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 ?

stiff breach
#

๐Ÿ™‚ HI ๐Ÿ–๏ธ

whole jackal
#

Yes using expand: ['payment_intent.latest_charge'] should work. What is the issue?

stiff breach
#

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? ๐Ÿ™‚

whole jackal
#

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.

stiff breach
#

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..

whole jackal
#

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

stiff breach
#

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~ ๐Ÿ™‚

whole jackal
#

No worries! Happy to help ๐Ÿ™‚