Especially when there is a new release of the plugin, there are calls that sometimes WordFence or other firewalls may flag. The user is either not able to submit a form - just spins, but never completes. Or they submit more than once and it will finally goes through. If you look at the inspect/console, you may see 403 error for the wp-admin/admin-ajax.php file.
Typically whitelisting the admin-ajax.php should resolve the issue (WordFence example below). Within this ajax call, we use Curl to call the server. The IP address that we call is 173.184.132.96. Depending on your firewall software, you may need to make sure that Curl and this IP are available too.
This is the typical WordFence error that is seen:
A potentially unsafe operation has been detected in your request to this site
Block Technical Data
Block Reason: | A potentially unsafe operation has been detected in your request to this site |
---|---|
Time: | Wed, 10 Nov 2021 3:08:29 GMT |
About Wordfence
Your computer's time: .
On the backend, you may also see "There was an error in the API"
Here are some things to try:
1. Here is how to update Wordfence to whitelist admin-ajax.php:
1. Go to Wordfence > All Options
2. Go down to the Allowlisted URLs section
3. Enter /wp-admin/admin-ajax.php in the URL box
(This is an example, you may have /wp/wp-admin/admin-ajax.php, for example)
4. Select Param Type: POST body for the dropdown
5. Enter actions for the Param Name. Some clients need to enter formHTML here (you can create one of each).
6. Click the Add Button
7. Click Save Changes in the top right corner