#ws2644
1 messages ยท Page 1 of 1 (latest)
hi
๐ How can I help?
hi river \
wonder why this check out sesion data - address showing "null"
I put address info there
even I enter those information on website during stripe sign up process
This is the Checkout Session creation request. Checkout Session is Stripe hosted payment page and it will collect the billing address from the customer, not the information from your account signup process with Stripe
yes, how we make sure we collect those info
the checkout page looks like this
thre is no billing address
can you try signing out from Link? before attempting payment?
anything related with address is full
is like this
I can see the zip and name not address though
can you key in your zip?
where is that screenshot from?
oh just my website
I try to pull data from stripe to my email templete
When I check out that's the information stripe ask
Where is address
the billing address that is collected in the Checkout Session, should be saved to the PaymentMethod that's collected
can you share the checkout session id of a completed / paid Checkout Session?
I will do a screen shots
I mean the verify process have a place to enter address but it won't show in the data section
We were talking about the Checkout Session previously
have you solved that issue already?
no i don't
I'm not quite sure why we're suddenly discussing Account Links (hosted onboarding flow)?
I just want to show where i am able to enter address
okay, so why are we suddenly jumping to Account Links, if the previous issue isn't resolved yet?
ok
Like i mentioned, can you provide the Checkout Session id of a Checkout Session that has been paid?
"session_id": "cs_test_a1H3b4GFukkbPxr41j59TqWVlCiB78mh3peKja8nVIMYyL0kjn13GymvLC"
this Checkout Session hasn't been paid yet
please Share a Checkout Session id of a Checkout Session that has been paid
"session_id": "cs_test_a1jdU5GxgjopkYO7ILQhFNXB9WDAHqiQbgsmGC5wUEG84qHOiFKhlWglpG",
"customer_id": "cus_ONGseukLh38ZZ1",
is it beacause i am in test mode?
so that Checkout Session, has this corresponding PaymentIntent : pi_3NaWKgLrDggncBDp1aYGqUst, and the corresponding PaymentMethod : pm_1NaWKfLrDggncBDpkUO9KSjn
if you retrieve the PaymentMethod : pm_1NaWKfLrDggncBDpkUO9KSjn
you should be able to see the zip code and country for that payment method at least
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
oh should I add this Api to my site ?
i mean, that's up to you?
you should test it all out throughly and implement the relevant logic if you need it
ok thanks
just so you're aware, you don't necessarily need to make multiple API calls, you can also expand objects : https://stripe.com/docs/api/expanding_objects to receive more information in a single API call
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
for example, you can simply retrieve the Checkout Session and expand the PaymentIntent and PaymentMethod
Sorry I have one more question about this
I don't know why the email is test23@test.com and is there anyway I can use my own account ?
that's probably because you're passing an existing customer id