<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="bbPress/1.0.1" -->
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title>Gravity Support Forums Topic: Multiple notifications sent when refreshing confirmation page</title>
		<link>https://legacy.forums.gravityhelp.com/topic/multiple-notifications-sent-when-refreshing-confirmation-page</link>
		<description>Gravity Support Forums Topic: Multiple notifications sent when refreshing confirmation page</description>
		<language>en-US</language>
		<pubDate>Mon, 20 Apr 2026 21:31:18 +0000</pubDate>
		<generator>http://bbpress.org/?v=1.0.1</generator>
		<textInput>
			<title><![CDATA[Search]]></title>
			<description><![CDATA[Search all topics from these forums.]]></description>
			<name>q</name>
			<link>https://legacy.forums.gravityhelp.com/search.php</link>
		</textInput>
		<atom:link href="https://legacy.forums.gravityhelp.com/rss/topic/multiple-notifications-sent-when-refreshing-confirmation-page" rel="self" type="application/rss+xml" />

		<item>
			<title>webaware on "Multiple notifications sent when refreshing confirmation page"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/multiple-notifications-sent-when-refreshing-confirmation-page#post-82422</link>
			<pubDate>Sat, 20 Oct 2012 20:06:41 +0000</pubDate>
			<dc:creator>webaware</dc:creator>
			<guid isPermaLink="false">82422@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;@tcs: thanks for testing, and good idea about custom error messages. I'll see what I can do this week, before I release this fix. Regarding multipage forms, it should already work OK because I set the form page to return to the page with the credit card field when invalidating it. This fix will work with both one-off and recurring payments, because the check is done before determining which payment type is required.&#60;/p&#62;
&#60;p&#62;@Gravity Forms: Steve is correct, the AJAX form method should really fall back to regular form submissions when JavaScript is disabled. For stopping form submissions, the unique ID should be a sufficient test if the website is single-hosted. I don't know how/whether you would add this to Gravity Forms core, but I'll be maintaining this fix in my plugin in the meantime (to be releases this week).&#60;/p&#62;
&#60;p&#62;cheers,&#60;br /&#62;
Ross
&#60;/p&#62;</description>
		</item>
		<item>
			<title>tcs on "Multiple notifications sent when refreshing confirmation page"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/multiple-notifications-sent-when-refreshing-confirmation-page#post-82323</link>
			<pubDate>Fri, 19 Oct 2012 23:44:41 +0000</pubDate>
			<dc:creator>tcs</dc:creator>
			<guid isPermaLink="false">82323@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Hi Ross@webaware.&#60;/p&#62;
&#60;p&#62;Thank you for getting this fix out within the hour. It seems in that hour you have found a way to detect and stop accidental form resubmissions on the server side. Maybe the gravity guys could check this out. &#60;/p&#62;
&#60;p&#62;Your updated eWay plugin is now stopping duplicate payments through accidental form resubmisisons. I did not find a problem when I tested using a single and multi page form. On the multi page the credit card field is on the last page so I see the error warning. I suspect if it isn't on the last page your error may not display. They would see your form has errors see below and   not actually see the error if the credit card field isn't on that page. Please also note I only tested with single payments not recurring (not sure if that makes a difference).&#60;/p&#62;
&#60;p&#62;Using ajax seems to stop accidental form re-submissions also but this may not be desirable for all users, In fact I setup a simple payment form and disabled javascript to see what happens. If you have ajax on it seems you are stuck as it doesn't degrade to a regular submit. You click submit and stare at the screen for a while before you realise nothing is going to happen. Turn ajax off and it works fine - duplicate payments nicely protected by your handywork.&#60;/p&#62;
&#60;p&#62;My only suggestion would be to look at the error message text or make it customisable in the admin. A customer may get quite baffled on what to do next when confronted with their accidental resubmission message. Something like - &#34;Payment already submitted and processed - please close your browser window&#34;  to stop them refreshing again, back, forward and such. If that message could also override the generic large 'There was a problem with your submission. Errors have been highlighted below' message that appears at the top of the form it would be even better as they would definitely notice it no matter if the credit card field was on the page or not.&#60;/p&#62;
&#60;p&#62;So at this point for the folks at gravity forms:&#60;br /&#62;
Thanks for your help so far:&#60;br /&#62;
1) If your not using ajax - can the problem of accidental form resubmissions through browser refreshes when using confirmation text be addressed somehow  ?&#60;br /&#62;
2) If you do use ajax and customer has disabled javascript - shouldn't it degrade to a regular submit ? It doesn't seem to do so in my testing.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>webaware on "Multiple notifications sent when refreshing confirmation page"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/multiple-notifications-sent-when-refreshing-confirmation-page#post-82161</link>
			<pubDate>Fri, 19 Oct 2012 03:57:20 +0000</pubDate>
			<dc:creator>webaware</dc:creator>
			<guid isPermaLink="false">82161@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;I have a working fix, I would like to get your help testing it please. You can download an alpha of v1.2.3 from this URL and test. &#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;http://www.webaware.com.au/files/gravityforms-eway-1.2.3-alpha1.zip&#34; rel=&#34;nofollow&#34;&#62;http://www.webaware.com.au/files/gravityforms-eway-1.2.3-alpha1.zip&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;What it does is save the entry's unique ID in a meta value for the form, gfeway_unique_id, and checks to see if that value is present when validating the credit card information. If it finds it there, it invalidates the form with the following error message on the credit card field:&#60;/p&#62;
&#60;p&#62;&#60;code&#62;Attempt to submit form multiple times; already processed.&#60;/code&#62;&#60;/p&#62;
&#60;p&#62;Please let me know how you go.&#60;/p&#62;
&#60;p&#62;cheers,&#60;br /&#62;
Ross
&#60;/p&#62;</description>
		</item>
		<item>
			<title>tcs on "Multiple notifications sent when refreshing confirmation page"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/multiple-notifications-sent-when-refreshing-confirmation-page#post-82160</link>
			<pubDate>Fri, 19 Oct 2012 03:48:15 +0000</pubDate>
			<dc:creator>tcs</dc:creator>
			<guid isPermaLink="false">82160@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;@webaware: I have AJax off so thanks for the tip - I will check with Ajax enabled. Yes also to a caching plugin (quick cache) however this is disabled on all form pages and I don't use it in my sandbox test environment and the problem is apparent there.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>webaware on "Multiple notifications sent when refreshing confirmation page"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/multiple-notifications-sent-when-refreshing-confirmation-page#post-82158</link>
			<pubDate>Fri, 19 Oct 2012 03:18:34 +0000</pubDate>
			<dc:creator>webaware</dc:creator>
			<guid isPermaLink="false">82158@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;@tcs: I just noticed I had AJAX form submission turned on, which avoids this problem.&#60;/p&#62;
&#60;p&#62;So, quick fix for most users: use AJAX form submission and they can't accidentally resubmit the form. Of course, this doesn't resolve the problem for users with JavaScript disabled / broken / limited by policies.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>webaware on "Multiple notifications sent when refreshing confirmation page"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/multiple-notifications-sent-when-refreshing-confirmation-page#post-82157</link>
			<pubDate>Fri, 19 Oct 2012 03:10:40 +0000</pubDate>
			<dc:creator>webaware</dc:creator>
			<guid isPermaLink="false">82157@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;@tcs: are you using a caching plugin?
&#60;/p&#62;</description>
		</item>
		<item>
			<title>webaware on "Multiple notifications sent when refreshing confirmation page"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/multiple-notifications-sent-when-refreshing-confirmation-page#post-82152</link>
			<pubDate>Fri, 19 Oct 2012 03:02:47 +0000</pubDate>
			<dc:creator>webaware</dc:creator>
			<guid isPermaLink="false">82152@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Scratch that, although GF generates a unique ID for a form entry, it doesn't actually store the bugger! If it did, it would be a simple matter to grab the saved lead with that unique ID; finding it saved would indicate that the form has been processed, so don't do it again (in fact, GF ought to be doing that itself).&#60;/p&#62;
&#60;p&#62;@Chris Hajer: once an entry has been saved, is there a way to test for that if the page is refreshed? A cursory look here hasn't found such a way. Storing the unique ID of the entry would help.&#60;/p&#62;
&#60;p&#62;I could work around this by storing the unique ID in my plugin's field data (thus complicating storage / retrieval of that data) or storing it in a separate, meta field (probably better as easier to search on), but...&#60;/p&#62;
&#60;p&#62;I can't actually reproduce the problem here on my browsers. I've tried a few times, but can't seem to make it submit another payment attempt; refreshing either brings up the confirmation again, or brings up a blank form. Steve, maybe you could email me the XML export of your form so that I could have a play with it. Maybe I need to try it specifically on Safari, which I have an old (5.11) copy on Windows or the mobile version on iPad.&#60;/p&#62;
&#60;p&#62;cheers,&#60;br /&#62;
Ross
&#60;/p&#62;</description>
		</item>
		<item>
			<title>webaware on "Multiple notifications sent when refreshing confirmation page"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/multiple-notifications-sent-when-refreshing-confirmation-page#post-82144</link>
			<pubDate>Fri, 19 Oct 2012 02:18:40 +0000</pubDate>
			<dc:creator>webaware</dc:creator>
			<guid isPermaLink="false">82144@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;@tcs: I reckon the simple answer for your specific problem is if I modify the payment gateway to always check for a successful transaction number recorded in the form data, before submitting to eWAY again. I'll have a play with that and the result should be a new release of the eWAY plugin soon.&#60;/p&#62;
&#60;p&#62;cheers,&#60;br /&#62;
Ross
&#60;/p&#62;</description>
		</item>
		<item>
			<title>tcs on "Multiple notifications sent when refreshing confirmation page"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/multiple-notifications-sent-when-refreshing-confirmation-page#post-81978</link>
			<pubDate>Thu, 18 Oct 2012 06:52:59 +0000</pubDate>
			<dc:creator>tcs</dc:creator>
			<guid isPermaLink="false">81978@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;I think refreshing any browser when you have the confirmation option set to text on a confirmation page is resubmitting the form data. Definitely on ie9 as well.&#60;/p&#62;
&#60;p&#62;I am happy to test 303 redirect (for my text based confirmation) to see if it stops form data being resubmitted when users click the browser refresh but how can this be implemented ? Is there some filter or hook - could someone at gf post the code ? If I switch from the text confirmation to a page confirmation does that use a 303 redirect?&#60;/p&#62;
&#60;p&#62;Thanks for posting the reading. It seems there are a number of ways to stop accidental resubmission and that it can be done if you want to. Is it on the road map at gravity forms?
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Chris Hajer on "Multiple notifications sent when refreshing confirmation page"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/multiple-notifications-sent-when-refreshing-confirmation-page#post-81966</link>
			<pubDate>Thu, 18 Oct 2012 06:15:27 +0000</pubDate>
			<dc:creator>Chris Hajer</dc:creator>
			<guid isPermaLink="false">81966@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;I wonder if this is a problem with any form submitted with a page refresh, in Safari, as you described, or if it is somehow related just to Gravity Forms? If the problem is unique to Gravity Forms, I wonder how it's prevented with other form solutions (or forms in general.)&#60;/p&#62;
&#60;p&#62;How about using a 303 redirect on the thank you page?&#60;br /&#62;
&#60;a href=&#34;http://tumblr.jonthornton.com/post/7902581999/preventing-form-re-submission-with-http-303-redirects&#34; rel=&#34;nofollow&#34;&#62;http://tumblr.jonthornton.com/post/7902581999/preventing-form-re-submission-with-http-303-redirects&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;More reading:&#60;br /&#62;
&#60;a href=&#34;http://bjw.co.nz/developer/general/75-how-to-prevent-form-resubmission&#34; rel=&#34;nofollow&#34;&#62;http://bjw.co.nz/developer/general/75-how-to-prevent-form-resubmission&#60;/a&#62;&#60;br /&#62;
&#60;a href=&#34;http://stackoverflow.com/q/2136954&#34; rel=&#34;nofollow&#34;&#62;http://stackoverflow.com/q/2136954&#60;/a&#62;
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
