PLEASE NOTE: These forums are no longer utilized and are provided as an archive for informational purposes only. All support issues will be handled via email using our support ticket system. For more detailed information on this change, please see this blog post.

Using Gravity Forms for high-traffic sales

  1. Hello!
    I'm hoping that Gravity Forms will handle this for me... Basically I have a company (http://indiegiftbox.com) where we release curated boxes every month. We have a limited supply and I was using Jigoshop to sell them, but Jigoshop doesn't update the stock until AFTER Paypal payment has been received, and since we had about a hundred people trying to buy 12 boxes this past month all at exactly the same time, a lot of people were able to "check out" of the website and get to Paypal, send payment, and then Jigoshop "back-ordered" 30+ boxes I didn't have since payment had been received. These people were clicking the checkout button within milliseconds of each other and Jigoshop couldn't handle it.

    If I use Gravity Forms and restrict the number of entries on a form, will it update immediately and prevent additional entries from going through? I know it will update before it gets to Paypal, but I still need it to update within milliseconds to prevent people trying to click the submit button at the same time from being able to purchases boxes that are not there.

    Has anyone done a high-traffic sale like this using Gravity Forms before? Will it work?

    Thank you!

    Posted 12 years ago on Wednesday August 15, 2012 | Permalink
  2. I don't have any experience with a high-traffic site like that, but I think Gravity Forms will work for this. The number of entries is compared to the entry limit you have set, twice: once when the form is first displayed, and once again when the form is submitted. If the number of entries is equal to the limit, this latest form submission will not go through. By default, this is the error message shown to visitors: "Sorry. This form is no longer accepting new submissions."

    So, even if the browser were loaded and the visitor were filling it out, and others have filled theirs out more quickly, the latest submission, the one which would exceed your limit, will not go through.

    Does that help?

    Posted 12 years ago on Wednesday August 15, 2012 | Permalink
  3. Sounds like it will work! I'll give it a shot, thank you! =]

    Posted 12 years ago on Wednesday August 15, 2012 | Permalink
  4. Please let us know how it goes. Thanks

    Posted 12 years ago on Wednesday August 15, 2012 | Permalink