#raulgq
1 messages ยท Page 1 of 1 (latest)
Hi ๐
I'm looking for this but so far I'm only seeing a way to provide shipping address data
ok, I'll try with shipping address. Do you know if I can create a rule with Radius to validate for example if the shipping state is equal to FL ?
Do you mean Radar? Looking at the Supported Attributes it looks like we allow using the shipping_address_state as a field you can validate against. https://stripe.com/docs/radar/rules/supported-attributes
yes Radar sorry, thanks for your help!
Sure thing! That's why we are here ๐
Sorry I was checking the api doc but I don't see an attribute to provide the shipping address data
Could you tell me what the parameter is?
IT's in the payment_intent_data parameter here: https://stripe.com/docs/api/checkout/sessions/create#create_checkout_session-payment_intent_data-shipping-address
Hmmm... in that case are you creating the Customer object as part of the Checkout Session or do you create them beforehand?
The customers are already created
I would recommend creating a Checkout Session in Test mode with an existing Customer. Setting billing_address_collection to required and check where that data is saved. https://stripe.com/docs/api/checkout/sessions/create#create_checkout_session-billing_address_collection
ok
You should then able to use that in your Radar rules
ok I'll test, thanks again