What is JotForm?
JotForm is a free online form builder which helps you create online forms without writing a single line of code. No sign-up required.

At JotForm, we want to make sure that you’re getting the online form builder help that you need. Our friendly customer support team is available 24/7.

We believe that if one user has a question, there could be more users who may have the same question. This is why many of our support forum threads are public and available to be searched and viewed. If you’d like help immediately, feel free to search for a similar question, or submit your question or concern.

  • Profile Image

    Force country selection in authorize billing module?

    Asked by raylon on March 19, 2015 at 01:02 PM

    If i use authorize.net module to collect payment information and i want to force the option for country to be united states (we currently only ship to us) is that possible??


  • Profile Image

    Answered by KadeJM on March 19, 2015 at 02:45 PM

    To my understanding you are looking for a way to force your option to only be united states since you only currently ship to states in the u.s.?

    Please allow us some time to research this some more to see if we can come up with a solution. As soon as we know something more about this then we'll update you here about it.

  • Profile Image

    Answered by raylon on March 19, 2015 at 02:59 PM

    Exactly! I figured there might be some fancy trick to make this happen. It's not a HUGE issue but we have received some orders outside of the u.s. that i've had to cancel. We have a notice on the site that we don't ship outside the u.s. but of course that doesn't stop everyone.

  • Profile Image

    Answered by KadeJM on March 19, 2015 at 03:37 PM

    One way that is coming to mind is you could have a country dropdown at first on your form then associate this via some conditional logic to hide your Authorize.NET Payment Integration if the Address is not a U.S. Address and display a message about "Sorry, but we only currently ship to US-based Addresses" via a text field.

    Here's an Example: http://form.jotformpro.com/form/50775101766961? 

    However, the only downside to this is that it doesn't change the payment dropdown for the country in the actual payment integration which is what I think you wanted to do originally. Though it is possible to hide that from the form but I believe that may cause problems because of the card being used since that selector would be needed I think.

    Another Idea that has come to mind for this as an alternative would be to edit the form's source code an just remove all of the countries listed in the payment integration so that only United States is seen and can be selected. However, in doing this you would need to embed the forms full source code onto a website of yours somewhere to make this work.

    Also, I am exploring options to reject Non-US Payments within Authorize.NET's Settings and Tools but so far I am not finding much so I will continue to try to figure out a better solution if possible.



  • Profile Image

    Answered by raylon on March 19, 2015 at 03:52 PM

    Actually your second suggestion would probably work, i didn't even think of that. I'm going to take a look at that, hopefully today, and see if that takes care of my little problem. 

  • Profile Image
    JotForm Support

    Answered by Mike on March 19, 2015 at 07:18 PM

    Yes, the countries are being listed in form sources, so it should work.

    Please feel free to contact us if you need any further assistance.