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

    Can a user provide a price for use with Google Checkout?

    Asked by VicMatson on January 26, 2011 at 05:50 AM

    I'm a courier and I've made a form that collects two addresses. I need the 2 addresses to qute a price, being a courier you understand. So far I have had to get the points, calculate the distance using Google maps and emailing them a Google Checkout invoice

     

    Can I make a payment form for the user to add my price and use Google Checkout as a payment method automatically. My situation is unique because prices are based on distance not product cost.

     

    http://handofflogistics.blogspot.com/

  • Profile Image
    JotForm Founder

    Answered by aytekin on January 26, 2011 at 06:03 AM

    I think you should use the "donation" option which allow you to set any amount to be charged by Google Checkout. So, what you will do is use either JavaScript or PHP to calculate the total amount from the distance and then set the donation field with that amount on the form source code. 

    Here is how you can get full form source code. Open your form on the Form Builder:
    1. Open "Setup & Share" tab on toolbar,
    2. Click on "Embed Code"
    3. Click on "Source" button and copy it to your web site.


  • Profile Image

    Answered by VicMatson on January 26, 2011 at 06:23 AM

    Thanks for the speedy responce, not being a coder, I'll have to find someone to supply a script for the distance. I've been looking myself but haven't found one.

    Anyhow, If the user fills out the form and I get it by email can you see any advantaes or disadvantages of creating a new form (called "Payment") with an input for the price and a Checkout link. Or better yet have the distance script come up with a price and after submission the return page would be the Payment form would have the price in it

    Btw, I'm speaking for many couriers, we use these sites in combination with buisness cards and postcards. The site shows my position in real time. I just log out of Google Lattitude when I'm off.

  • Profile Image
    JotForm Founder

    Answered by aytekin on January 26, 2011 at 08:36 AM

    Either way is possible. I think the best solution is to calculate it right on the page and show the user how much they will pay and when they submit the form, immediately redirect them to PayPal for payment. 

  • Profile Image

    Answered by VicMatson on January 27, 2011 at 03:28 PM

    Very nice. a JS calculater! I'm going to try to get the price and have it on the summary page with a Google Checkout and a COD button with some text to explain and encourage them to call.