-
florpublishingAsked on December 19, 2020 at 2:50 AM
I want to use paypal for purchasing the book I am selling. I am going to offer free shipping and include the tax but this is for U.S. orders. What happens if I get an international sale? I don't want to pay the shipping...as I don't know what that will be
-
Richie JotForm SupportReplied on December 19, 2020 at 5:06 AM
You can use the get visitor location to get the country your of the user filling your form.
You may use conditions to hide the submit button once the country is not US.
Guide:https://www.jotform.com/help/316-how-to-show-or-hide-fields-base-on-users-answer
Sample condition:
Please give it a try and let us know if this fits your requirements.
-
florpublishingReplied on December 19, 2020 at 6:44 PMI'm not sure...if I hide this then they can't make a purchase?
Thank you,
Marci Greenberg Cox
Flor Publishing LLC
480-695-9683
... -
Gustavo_HReplied on December 19, 2020 at 9:30 PM
Hi, Marci. I am glad to help you today.
It should be sufficient as your user can only pay after submitting the form. To ensure that only US users will fill your form, you can also hide the entire form and show an error message.
Here is a condition example.
Here is the entire setting up and the user experience from a not US user.
Please, let us know if you need anything else.
Best regards, 😀✨
-
florpublishingReplied on December 19, 2020 at 9:55 PMMine does not show me those options. See attached
Thank you,
Marci Greenberg Cox
Flor Publishing LLC
480-695-9683
... -
Jimmy_DReplied on December 19, 2020 at 11:20 PM
This is what you can do:
- Use the Multiple Choice field to create custom products.
- Add a spinner element as quantity field. (One for each product)
- A calculation widget to calculate the subtotal (one for each product)
(The layout of the fields can be customized)
- Add a number field to your form that will receive the shipping cost.
- Add a calculation widget that will be used to calculate the total cost.
- Select user-defined amount in the PayPal payment settings. And then the Total (calculation widget) in the Get Price From menu.
- Add the Get visitor location to your form and use conditional logic to calculate Calculate the shipping cost based on the country where the user is located.
Example:
Here is a demo created using a clone of your form.- https://form.jotform.com/203538581044959 (This is still customizable). Feel free to check it out.
If this seems to complicated you can create a separate form for International clients only.-
-
florpublishingReplied on December 19, 2020 at 11:44 PMWell I was going to include shipping and tax for US customers but I don’t
want to do that for international
... -
Patrick_RReplied on December 20, 2020 at 1:25 AM
Hello! Our apologies for the confusion.
Kindly note that to ensure that only US residents can order using your form; you'll need to fetch the visitor's country code using the Get Visitor Location widget and then create a SHOW condition to bind the country code value to the visibility of your Submit button and the Products list widget.
I've prepared a demo form which does this: https://form.jotform.com/203540469454962
This will only show the Submit button and the Product list, if the visitor is from the US.This is the screencast that shows how this form was prepared: https://drive.google.com/file/d/1sMhhL0mGbCGQic53e07AGQsxatOLI6f2/view?usp=sharing
You can clone this form into your own account to further check its implementation.
I hope this solves your purpose. In case it doesn't or if you have any further queries, then let us know.
Thank you!
-
florpublishingReplied on December 20, 2020 at 10:55 AMWhen I click on country code is shows Country Code: US but then I can't
copy it. I tried to clone what you have and it shows visitor country in
the preview and I can't hide it.
Thank you,
Marci Greenberg Cox
Flor Publishing LLC
480-695-9683
... -
florpublishingReplied on December 20, 2020 at 11:11 AMDoes it have anything to do with the address? under address properties I
click option and it only shows American states and I can default a country
which I have united states but I don't show country on my form. Will this
alone with out having to do the widget suffice? Also the extensions that
you show in the video when I click on my extensions I don't have those
available.
Thank you,
Marci Greenberg Cox
Flor Publishing LLC
480-695-9683
... -
Jimmy_DReplied on December 20, 2020 at 12:47 PM
Kindly select TEXT BOX in the Address settings to add a country field.
If you are referring to the VPN @Patric_R used. This is part of his computer settings, not a JotForm feature.