Wordpress Online Contract

Cannot ADD / UPDATE purchase code or settings not remaining set (validatecontractkey 404)

If you are seeing a 404 with /validatecontractkey, please verify the plugin is installed in the primary domain or a primary subdomain. It seems that our plugin does not currently like subfolders. If you installed our plugin in a WordPress subfolder then our plugin routes may not work. We have found if you create a subdomain and point it to the subfolder ten the plugin reads the route correctly. For example Incorrect: youdomain.com/wp/ Correct: wp.yourdomain.com/ If you cannot point the plugi...

Icon spins after signing but never completes

If you are having an issue with the spinner spinning and never actually signing the contract, it may be that our IP address API is being blocked by either a plugin on your server or by an addon on your browser. We have discovered that Ublock and ABP addons for Chrome block access to the API. To resolve this until we can create a workaround, you will need to allow your site to go through on the addon. ABP: Right-click ABP and select "Pause on this site" Ublock: Press the On/Off button for the ...

Sample Contract Templates & Shortcodes

If you are having issues getting started and want to see how we typically set up our shortcodes and contract templates, take a look below: Templates: You can download the txt version of the sample contracts we created and use at the bottom of this document. Once you download the text file, you have can take the code that is provided in the file and switch to code view in the editor for the template you want to modify and just paste the code. Shortcodes: Below is the standard way we create ...

Parse error: syntax error, unexpected '?'

If you are receiving an error that looks like Parse error: syntax error, unexpected '?' , you are using a PHP version that is no longer supported by our plugin. This does not mean you cannot use our plugin, but it means that you cannot use version 5+. Our previous version works on PHP versions lower than 7. This is not recommended since PHP5 has been made obsolete and has security issues that PHP7 resolves. If you do not know how to upgrade your server, please reach out to your host and have the...

I Am Getting A 404 Popover Message When Updating A Shortcode or Template

If you are receiving a popover message with a 404 error message when you are trying to create or edit a shortcode or template please modify your permalink settings or just save what you have to update your cache. This can be accomplished by going to Settings > Permalink Settings. This is typically caused by a new installation of the plugin when the permalinks have not be added. You also may need to do this is when you change the permalink to the plugin itself.

Contract not signing, just spinning

This is typically a security issue. Please verify the contract plugin has 755 permissions and if you have a security plugin installed, please exclude the onlinecontract folder to allow permissions. If you are using a caching plugin, try to exclude the onlinecontract folder from being cached.

Cannot sign contract

This is sometimes caused by a plugin or your host inserting javascript into our plugin's footer. If you look at the contract, below the buttons you will see something that shows a strange scripting code. Something that may look like this: ‘); setInterval(function () { mywindow.document.close(); mywindow.focus(); mywindow.print(); mywindow.close(); }, 10); return true; } If this prevents you from signing the contract, try to disable all plugins and see if it works. If it does, re-enable the pl...

Email is not being sent when I publish a contract

If you are publishing a contract and the email notification is not being sent to the client you should ensure you have the "Send Notification to Client?" checkbox checked in the Default Optionsof the contract. Even if you fill out the email address it will not send it alone, You have to tell the plugin to send the contract and this has to be done per contract. We do this because you may want to test it before sending it to the client, so this gives you an opportunity to verify it before sending ...

Parse error: syntax error, unexpected T_FUNCTION

Parse error: syntax error, unexpected T_FUNCTION in /wp-content/plugins/onlinecontract/includes/functions.php on line 246 This error is caused by your server PHP version being less than 5.3. Please update your PHP version on your server (can easily be done by your hosting company). Finally, we would very strongly recommend upgrading away from 5.2. I know there are cases where this is difficult, but that fact is that PHP 5.2 was declared end of life more than two years ago; it has not ha...

supplied for foreach()

Error Message: supplied for foreach() /plugins/onlinecontract/includes/frontend.php If you are receiving the following error message: supplied for foreach() in /home/content/p3pnexwpnas09_data03/58/2821958/html/wp-content/plugins/onlinecontract/includes/frontend.php It seems to be a bug in the code that will be fixed, but for now the resolution is to just add shortcodes to the plugin. You can see how to properly add shortcodes here: https://youtu.be/GrJzVCj0vx4?list=PLo2_-sTZq6RbgVpS...

I am forcing SSL on my site. When viewing the contract, I get a 301 moved permanently error.

This may be caused by the way SSL is being forced. Try to uncomment your SSL force in the htaccess file and install a plugin like iThemes Security and have it force write your SSL. This solution has worked with other users.

Find your CodeCanyon.net Purchase Code

If you downloaded our plugin from CodeCanyon, please use their website to find your purchase code: https://help.market.envato.com/hc/en-us/articles/202822600-Where-Can-I-Find-my-Purchase-Code-

Add Your Rep's Signature to the Contract

1. In the Shortcodes section create a shortcode that you will use for the rep, we use [signedby]. Save. 2. In the Contract Templates, create or modify a contract template and add [signedby] to it. To have the signature font on the contract, add the shortcode to the contract template like this <span class="signedby">[signedby]</span>. 3. If you look at our demo contract templates, you can see how we added the signature to an existing contract using the shortcode created from above. ...

Contract template is not saving

If you are trying to save a contract template and the template does not save when you click the Save Changes button, please alternate from Visual Editor to Text Editor. If this still does not work, please ensure that you do not have a plugin that is replacing the default WP Editor. Our plugin relies on the default editor to save the contract templates. You can test this by turning the editor plugin off and then trying to resave the template. Secondly, you can see if you have a rouge .ht...

The client is not receiving an email or the email is blank

The email is sent to the client email you designate in the Shortcode for Client Email when creating the contract. If the email is still not sending correctly after you have set this section correctly, please check your Notification Email Template in the Other Templates section. If you have content there, please resave to ensure it has been added to the database for future use. If not, please add your content using the Contract Shortcodes listed on the page. To send a link to the contract cre...

I am not receiving an email when the contract is signed.

The email is sent to the administrative email you designate in the Settings. If you still do not receive the email, please check spam and trash folders on your email server. Also please note that sometimes the email does not get sent out properly if for some reason the email is not being sent from the domain it originates from.

404 Error

If you are receiving a 404 error, please resave or update your permalinks. Sometimes when a new plugin is installed or updated, WordPress can lose the permalink settings for the plugin. This can be accomplished by going to Settings > Permalink Settings and just resaving the permalinks. You do not have to edit the permalinks unless you want to. Just resave them and the 404 error should go away. If that does not work, please ensure you have added shortcodes in the Shortcodes section because th...