=== OTP Verification for Gravity Forms === Version: 2.6.0 Stable tag: 2.6.0 Author: BlackSwan Donate link: https://amirhp.com/contact/ Author URI: https://blackswandev.com/ Plugin URI: https://wordpress.org/plugins/gravity-otp-verification/ Contributors: amirhpcom, pigmentdev, blackswanlab Tags: gravity-forms, sms authentication, phone verification Tested up to: 6.8 WC requires at least: 5.0 WC tested up to: 9.7 Text Domain: gravity-otp-verification Domain Path: /languages Copyright: (c) BlackSwanDev, All rights reserved. License: GPLv2 or later License URI: https://www.gnu.org/licenses/gpl-2.0.html This plugin ensures secure form submissions by verifying users’ mobile numbers via OTP before saving. == Description == **OTP Verification for Gravity Forms** allows you to add **One-Time Password (OTP) verification** to Gravity Forms, ensuring that users enter a valid mobile number before submitting a form. It helps prevent spam, fake submissions, and ensures real user authentication. ### **Key Features:** - πŸ”’ **Secure Mobile Verification** – Ensures users verify their phone numbers before submitting. - βœ… **Seamless Gravity Forms Integration** – Works with all versions of Gravity Forms without conflicts. - 🌎 **Supports Persian, Arabic & English Numbers** – Converts and validates all number formats. - πŸ“‘ **Flexible SMS Gateway Support** – Connects to multiple SMS providers via built-in integrations or custom hooks. - βš™οΈ **Easy Setup** – Configure in just a few clicks with user-friendly settings. == Features == - Add an Mobile OTP field to **any Gravity Form**. - Prevent form submission **until mobile verification is successful**. - Support for **multiple SMS gateways** including custom integrations. - Fully compatible with **Gravity Forms’ conditional logic**. - Users can **resend OTP** with a cooldown limit (e.g., **3 attempts, 90 seconds each**). - Supports **hooks & filters** to extend functionality. - Works across **all WordPress and WooCommerce sites**. == Supported SMS Gateways == The plugin supports direct integration with the following SMS providers: - **SMS.ir** - **FarazSMS** - **IPPanel** Additionally, you can add **any other SMS gateway** via **WordPress hooks and filters**. == How to Setup the Plugin == 1. **Install & Activate** the plugin. 2. **Go to Gravity Forms** and create a form. 3. **Add the OTP Field** from the field settings. 4. **Configure your SMS Gateway** in plugin settings. 5. **Save your form**, and OTP verification will be active. == Disclaimer and Warranty == This plugin is provided **"as is"** without any warranties, express or implied. While every effort has been made to ensure reliability and security, the developers are not responsible for any issues arising from its use. Always test in a **staging environment** before deploying to production. == Third-Party & External Resources Used == This plugin utilizes the following third-party libraries to enhance functionality: - **Tippy.js** - **Select2.js** - **Datatables** - **jQuery Confirm** - **jQuery Repeater** - **Font Awesome** (Used only for icons in the settings panel) == Screenshots == 1. **Gravity Form > OTP Field Setting** 2. **Settings > General** 3. **Settings > SMS Configuration** == Installation == 1. Upload the plugin files to the `/wp-content/plugins/` directory, or install the plugin through the **WordPress plugins** screen directly. 2. Activate the plugin through the **Plugins** screen in WordPress. 3. Go to **Gravity Forms > Your Form > Add OTP Field**. 4. Configure your **SMS Gateway** in the plugin settings. 5. Save your form, and you're good to go! == Frequently Asked Questions == = How does OTP Verification work? = Once a user enters their mobile number, they receive an **OTP via SMS**. They must **enter the correct OTP** before submitting the form. = Can I use my own SMS provider? = Yes! The plugin supports **multiple SMS gateways**, and you can **add your own** via hooks. = Does this plugin support Persian & Arabic numbers? = Yes! The plugin **automatically converts** Persian and Arabic numerals to English before validation. = Does it work with all Gravity Forms versions? = Yes! It is tested and compatible with **all recent Gravity Forms versions**. = How can I contribute to this plugin? = You can help us improve our works by committing your changes to [pigment-dev/gravity-otp-verification](https://github.com/pigment-dev/gravity-otp-verification) == Credits == **OTP Verification for Gravity Forms** is developed and maintained by BlackSwanDev, in collaboration with Pigment Development. Together, we focus on **creating powerful WordPress tools** for security and automation. Developed at: **[BlackSwanDev](https://blackswandev.com/)** & **[Pigment.Dev](https://pigment.dev/)** Lead Developer: **[AmirhpCom](https://amirhp.com/)** == Upgrade Notice == Upgrade to enjoy the latest features and security improvements. = v2.6.0 | 2025-04-30 | 1404-02-10 = * Update WordPress version * Fix GF-Panel not Loaded = v2.5.0 | 2025-04-02 | 1404-01-13 = * General fixes and Enhancement = v2.4.0 | 2025-03-31 | 1404-01-11 = * General fixes and Enhancement = v2.3.0 | 2025-03-20 | 1403-12-30 = * Initial release of the plugin for w.org == Changelog == For full changelog please view **[Github Repository](https://github.com/pigment-dev/gravity-otp-verification)**. = v2.6.0 | 2025-04-30 | 1404-02-10 = * Update WordPress version * Fix GF-Panel not Loaded = v2.5.0 | 2025-04-02 | 1404-01-13 = * General fixes and Enhancement = v2.4.0 | 2025-03-31 | 1404-01-11 = * General fixes and Enhancement = v2.3.0 | 2025-03-20 | 1403-12-30 = * Initial release of the plugin for w.org