#B33fb0n3
1 messages ยท Page 1 of 1 (latest)
Hi ๐
Can you share a request ID?
Here's how you can find a request ID: https://support.stripe.com/questions/finding-the-id-for-an-api-request
sure: "requestId": "req_7kSyGa6CM1UB18"
You need to pass an array of hashes, that's what the API expects.
https://stripe.com/docs/api/checkout/sessions/create#create_checkout_session-shipping_options
so something like
shipping_options: [
{shipping_rate: 'shr_XXXXX' }
]
worked! Thanks ๐
Great ๐ Happy to help ๐
Do you know how to add the bar so that the customer can enter the shipping adress if its not the same like the billing adress?
Havent found it in the api
WE've got a doc on that here: https://stripe.com/docs/payments/checkout/shipping#shipping-address-collection
how can I add all countries to it?
Specify them individually here: https://stripe.com/docs/api/checkout/sessions/create?lang=python#create_checkout_session-shipping_address_collection
List them individually, as I said
all 237? ๐ฎ
If that's what you want
We don't have an all option
And I think we only support 237
I want to collect the shipping adress, if its not the same as the billing adress. Not more ๐
How is the Checkout Session to know whether it's different or not? We don't currently expose a checkbox to the customer for that distinction
oh ok. Than I will enter the 237 Country Codes. Thanks for the help
You could always try to collect some of this info on your integration and use it when creating the Checkout Session to, say, specify only a single country
I not allowed to locate the customer :/