#eyupensar
1 messages · Page 1 of 1 (latest)
https://stripe.com/docs/api/payment_intents/object#payment_intent_object-shipping did you set the shipping when creating/updating the PaymentIntent?
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
I don't know what is a payment intent sorry. I created a product then I used this method to make a payment
Ok so you are using checkout session. Can you share with me the checkout session ID?
do you mean this one?
prod_Oo5ytda2AyKJ0C
No, this is the product ID.
where do I get the checkout session id
You can find the ID from the response of checkout session creation API request
Btw, you might want to enable shipping_address_collection if you want to collect a shipping address in a checkout session
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
cs_test_a1Nw5rIu67iLCuOA05BtBM5he9vitylTfyH7tKa5yImFcwegGcAM19yPRb
Thanks for the ID, I don't see any shipping details being collected in this checkout session.
You can follow the link I posted earlier to enable shipping address collection.
I've prepared something called a payment link. I want this screen to open when someone makes a payment.
currently this opens
So you want to enable shipping address collection in checkout page created by a payment link?
https://stripe.com/docs/api/payment_links/payment_links/create#create_payment_link-shipping_address_collection you can do the same when creating a payment link.
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
I suppose I got it thank you <3