- devincornellAsked on December 14, 2016 at 09:11 AM
I have a stripe account set up to collect both CDN and USD. How can I set up my form to determine which country the payer is in and charge them the correct currency?
- IanAnswered on December 14, 2016 at 09:56 AM
This can be achieved using our Widget "GET VISITOR LOCATION" and adding some Logical conditions
I created a sample form at https://form.jotform.com/63484340872965 that can be cloned easily
I applied 2 conditions
Condition1 : If Widget returns the value (contains) 'CANADA'
then Currency = CAD
Condition2 : If Widget returns the value (contains) 'UNITED STATES'
then Currency = USD
Hope this helps.
- devincornellAnswered on December 14, 2016 at 10:18 AM
Yes - thank you that helps a lot. I've got everything set up, but I don't want to have the "get location" data shown. When I click hide in the widgets wizard it stops functioning.
- IanAnswered on December 14, 2016 at 11:12 AM
Here is the work around to hide the getlocation data which gets displayed on the screen
Paste the script mentioned below under CUSTOM CSS area of the widget