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

    google checkout tax and shipping

    Asked by JRSC on May 17, 2010 at 09:28 PM
    I know jotform doesn't do calculations for tax and shipping but from my experience google checkout will take care of adding that when you go to checkout and it bases it on your global google checkout settings. If i was using google checkout to make a buy now button for my website that does not use jotform i can add a line of code to that button that specifies the item is tax exempt or has a flat rate shipping and it overides my google checkout global options. Is there a way to add this same line of code to the submit button on my jotform?
  • Profile Image
    JotForm Founder

    Answered by aytekin on May 18, 2010 at 01:26 AM
    I think we can add such an option to the Google Checkout Payment Wizard. Can you send us the code that needs to be added?
  • Profile Image

    Answered by JRSC on May 18, 2010 at 06:44 PM
    I'm not exactly sure how to do it. I was able to make tax exempt work for one of my buttons but it took me a while and I don't completly understand it since I don't know much about programming. The website that explains it is: http://checkout.google.com/support/sell/bin/answer.py?answer=74284.

    After reading that and a some other google help stuff this is the code I came up with for the current button I am using on my website which seems to work:

    <form action="https://checkout.google.com/api/checkout/v2/checkoutForm/Merchant/165655110857722" id="BB_BuyButtonForm" method="post" name="BB_BuyButtonForm" target="_top">
    <input name="item_name_1" type="hidden" value="Gus Macker Team Shirts"/>
    <input name="item_description_1" type="hidden" value=""/>
    <input name="item_quantity_1" type="hidden" value="1"/>
    <input name="item_price_1" type="hidden" value="50.0"/>
    <input name="item_currency_1" type="hidden" value="USD"/>
    <input name="_charset_" type="hidden" value="utf-8"/>
    <input type="hidden" name="shopping-cart.items.item-1.tax-table-selector" value="tax_exempt"/>
    <input alt="" src="https://checkout.google.com/buttons/buy.gif?merchant_id=165655110857722&amp;w=117&amp;h=48&amp;style=trans&amp;variant=text&amp;loc=en_US" type="image"/>
     The way I am using this now is I have a jotform where product information gets filled out and then when submitting the form it takes the user to a page with this checkout button to complete the transaction. I would like to skip the extra step and have the submit button take them right to google checkout but need to have this functunality. If you want to see how I'm currently using this visit http://www.jamestownrubberstamp.com/shop/gusmackershirts.html.

    I'd like to start adding other similar forms like this to my website but some will be taxed and others won't. I am also considering getting authorize.net so I'm not sure how that all works.
  • Profile Image
    JotForm Founder

    Answered by aytekin on May 24, 2010 at 10:21 AM
    Thanks for the information. So, you would like us to send this to the GCO:
    <input type="hidden" name="shopping-cart.items.item-1.tax-table-selector" value="tax_exempt"/>