#shlex
1 messages ยท Page 1 of 1 (latest)
Hello ๐
How exactly are you integrated? Are you using Checkout OR Elements?
Checkout
Gotcha. I believe you can write a block rule for billing address state using the address attribute
https://stripe.com/docs/radar/rules/supported-attributes#address
There's also a new param for IP addresses ip_state
https://stripe.com/docs/radar/rules/supported-attributes#ip-address
Great, and would the first option (address attribute) work if only the ZIP/Postal code is collected?
I believe so, you can always try it out in test mode to be certain
Awesome, and how would I make a "whitelist" or "blacklist" of countries/states not allowed or allowed to purchase?
I tried using if not (:card_country: in ('CA')) but it seems to be blocking more than just payments from Canada
Nevermind haha I was doing it wrong
I had "not"
Ah gotcha ๐ Glad you figured it out
Thanks for the help!
NP! ๐ Happy to help
Good luck
how do you answer so many jeez lol you're everywhere
๐ haha
it was tricky when I started working at Stripe but just used to it by now