#SenorKarlos-Georestrict
1 messages ยท Page 1 of 1 (latest)
Hi there, do you mean that customers can purchase the products if they are from certain locations ?
Exactly, I'm a Canadian service provider and don't need/want the hassle of accounting for foreign transactions without sales tax (plus the product is only 'legitimately' used locally)
so I want them all to be Canadians with Canadian billing addresses. I was going to try and cheese it with shipping address restriction on checkout sessions, but I a) don't ship anything and b) that doesn't help the Cx portal ๐
OK, so you don't to accept a payment if the credit card is not issued in Canada? or just based on the billing address?
Billing Address is my main concern, if they're a local with a US/other card I'll take their money from it lol
OK, what integration are you using now? Checkout, PaymentElements or CardElement?
I'm working on a new system based in nodeJS, using the CX portal for management and the Stripe hosted Checkout for new subscriptions/one-time access payments
OK, so you are using Checkout
as of tomorrow (or whenever I finish debugging) yes lol
I was using the legacy checkout that just collects a card token, but decided to learn to code and get with the times
hand-me down program on it's last legs ๐
There's a param called shipping_address_collection https://stripe.com/docs/api/checkout/sessions/create?lang=node#create_checkout_session-shipping_address_collection, and you can specify an array of country codes representing which countries Checkout should provide as options for shipping locations.
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
When I realized I had to use Stripe Tax, I was greeted with this and said "that needs to stop now" lol
So if I set the allowed_countries to ['US, 'CA'], only these two countries will be displayed on the Checkout page
I said I don't ship anything, and the CX portal isn't restricted at all...
my plan was to ez cheese it, but I want to avoid complaints and not deal with sneaky updaters
There's no restriction param for billing address (https://stripe.com/docs/api/checkout/sessions/create?lang=node#create_checkout_session-billing_address_collection).
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
So I'd suggest you to detect the customer location in your webpage, and don't allow your customer to visit the checkout page if they are not from Canada.
yeah I know... I discussed this a little with someone here and they mentioned Rules, which is what i started the Q with ๐
I also just said I'm learning to code as I go here, half of this I am shocked even works ๐ Not sure about how to do somethin like that at all, unless it's a CloudFlare setting ๐
Are you talking about Radar Rules?
only Rules I could find
You can use the Radar to to block a transaction based on the card country and/or IP country.
But my personal opinion is that the user experience may not be smooth, your overseas customers will be surprised to find out the payment is blocked and will contact you about this problem.
and i set those rules in the Dashboard? which is where I think I stopped because it looked like a paid product and I wasn't sure how much etc
Yeah I guess that makes sense... get all the way to checkout and then error error error
I guess I have more learning to do about website administration ๐ I assume most website geo-restrictions can be dodged by VPN's though eh
so I MIGHT want both regardless, but ๐ฌ this journey is becoming an adventure LOL
https://stripe.com/pricing#radar-pricing You can find more about the Radar pricing here.
thanks much! I'll research some more
well that whole page is being very informative ๐ extra thanks. I don't think I want international cards either ๐ and the radar rules are only 3c because I have standard pricing I think?
You can always reach out to Stripe Sales to discuss custom package if you have large payments volume, high value transactions, or unique business models https://stripe.com/contact/sales
hopefully one day ๐ ๐