#Sinduri-woo-checkout-address
1 messages · Page 1 of 1 (latest)
Hey. You would need to speak to WooCommerce about that really as they manage that plugin and determine which parameters and data to pass to us when creating the Checkout Session
Can you share an example cs_xxx ID?
Our concern is can we pass billing/shipping address to stripe checkout ? We need to prefil the address
Since our plugin uses in WooCommerce store, the end customer need to enter twice the address. It seems that Stripe checkout session API doesn't have parameter to pass the address!
Req req_PdQpVnqfw43sXe
This API is explicitly telling us to make Checkout capture the billing and shipping address:
billing_address_collection: "required",
shipping_address_collection: {
allowed_countries: ["US"]
}
You can only really do that if you're using Customer objects and pass them with the customer parameter
Yes we passing it, see - req_7XxVvk2nNAHvbb
But it's not prefil in Stripe checkout page
Yep, because you're not passing that cus_xxx ID to the customer parameter when creating the Checkout Session: https://stripe.com/docs/api/checkout/sessions/create#create_checkout_session-customer
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 imagine that's because WooCommerce doesn't do that
Let me check