{"id":163135,"date":"2022-10-17T06:06:53","date_gmt":"2022-10-17T06:06:53","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/gravity-auto-coupon-generate\/"},"modified":"2026-04-10T11:01:23","modified_gmt":"2026-04-10T11:01:23","slug":"gf-auto-coupon-generate","status":"publish","type":"plugin","link":"https:\/\/scn.wordpress.org\/plugins\/gf-auto-coupon-generate\/","author":20618697,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"1.1.0","stable_tag":"1.1.0","tested":"6.9.4","requires":"5.2.0","requires_php":"7.4","requires_plugins":null,"header_name":"Auto Coupon Generate for Gravity Forms","header_author":"krishnagajera","header_description":"Allow users to create their own custom Coupon code for the Gravity forms","assets_banners_color":"b7b3b0","last_updated":"2026-04-10 11:01:23","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"","header_author_uri":"","rating":0,"author_block_rating":0,"active_installs":10,"downloads":1313,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":{"1.0.0":{"tag":"1.0.0","author":"krishnagajera","date":"2022-10-17 06:06:47"},"1.0.1":{"tag":"1.0.1","author":"krishnagajera","date":"2022-10-17 06:15:52"},"1.0.2":{"tag":"1.0.2","author":"krishnagajera","date":"2022-11-03 12:52:29"},"1.1.0":{"tag":"1.1.0","author":"krishnagajera","date":"2026-04-10 11:01:23"}},"upgrade_notice":[],"ratings":[],"assets_icons":{"icon-256x256.png":{"filename":"icon-256x256.png","revision":2799797,"resolution":"256x256","location":"assets","locale":""}},"assets_banners":{"banner-772x250.png":{"filename":"banner-772x250.png","revision":2799797,"resolution":"772x250","location":"assets","locale":""}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.0.0","1.0.1","1.0.2","1.1.0"],"block_files":[],"assets_screenshots":{"screenshot-1.png":{"filename":"screenshot-1.png","revision":2799807,"resolution":"1","location":"assets","locale":""},"screenshot-2.png":{"filename":"screenshot-2.png","revision":2799807,"resolution":"2","location":"assets","locale":""},"screenshot-3.png":{"filename":"screenshot-3.png","revision":2799807,"resolution":"3","location":"assets","locale":""},"screenshot-4.png":{"filename":"screenshot-4.png","revision":2799807,"resolution":"4","location":"assets","locale":""},"screenshot-5.png":{"filename":"screenshot-5.png","revision":2799807,"resolution":"5","location":"assets","locale":""}},"screenshots":{"1":"Setting page.","2":"Coupon Generate Form page.","3":"Front-end form page.","4":"Generated Coupon.","5":"Generated Coupon in Admin panel."},"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[326,592,214681,1655,286],"plugin_category":[45],"plugin_contributors":[214682],"plugin_business_model":[],"class_list":["post-163135","plugin","type-plugin","status-publish","hentry","plugin_tags-coupon","plugin_tags-coupon-code","plugin_tags-generate-coupon","plugin_tags-gravity-forms","plugin_tags-woocommerce","plugin_category-ecommerce","plugin_contributors-krishnagajera","plugin_committers-krishnagajera"],"banners":{"banner":"https:\/\/ps.w.org\/gf-auto-coupon-generate\/assets\/banner-772x250.png?rev=2799797","banner_2x":false,"banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":false,"icon":"https:\/\/ps.w.org\/gf-auto-coupon-generate\/assets\/icon-256x256.png?rev=2799797","icon_2x":"https:\/\/ps.w.org\/gf-auto-coupon-generate\/assets\/icon-256x256.png?rev=2799797","generated":false},"screenshots":[{"src":"https:\/\/ps.w.org\/gf-auto-coupon-generate\/assets\/screenshot-1.png?rev=2799807","caption":"Setting page."},{"src":"https:\/\/ps.w.org\/gf-auto-coupon-generate\/assets\/screenshot-2.png?rev=2799807","caption":"Coupon Generate Form page."},{"src":"https:\/\/ps.w.org\/gf-auto-coupon-generate\/assets\/screenshot-3.png?rev=2799807","caption":"Front-end form page."},{"src":"https:\/\/ps.w.org\/gf-auto-coupon-generate\/assets\/screenshot-4.png?rev=2799807","caption":"Generated Coupon."},{"src":"https:\/\/ps.w.org\/gf-auto-coupon-generate\/assets\/screenshot-5.png?rev=2799807","caption":"Generated Coupon in Admin panel."}],"raw_content":"<!--section=description-->\n<p><strong>Auto Coupon Generate for Gravity Forms<\/strong> gives user the ability to dynamically create coupon codes which can be use on a subsequent form.<\/p>\n\n<p><strong>Check requirements<\/strong>\n- Gravity Forms\n- Gravity Forms Coupon Add-on<\/p>\n\n<p><strong>Configure the snippet<\/strong>\nThe basic configuration only requires that you specify the which form should be used to generate coupons (form_id), which field\u2019s value should be used as the coupon code (source_field_id), The length of the coupon code, The maximum number of times the coupon can be used, The minimum price of the product to be eligible, and the type and amount of the coupon.<\/p>\n\n<p>If you have any question or features request, please access the plugin's official support forum.<\/p>\n\n<!--section=installation-->\n<h4>From within WordPress<\/h4>\n\n<ol>\n<li>Visit 'Plugins &gt; Add New'<\/li>\n<li>Search for 'Auto Coupon Generate for Gravity Forms'<\/li>\n<li>Activate 'Auto Coupon Generate for Gravity Forms' for WordPress from your 'Plugins' menu from WordPress.<\/li>\n<li>Visit the 'Generate Coupon Setting' menu and fill in all the required field.<\/li>\n<\/ol>\n\n<h4>Manually<\/h4>\n\n<ol>\n<li>Upload the GF-Coupon-Generate\/ folder to the \/wp-content\/plugins\/ directory. <\/li>\n<li>Activate the plugin through the 'Plugins' menu in WordPress. <\/li>\n<li>Visit the 'Generate Coupon Setting' menu and fill in all the required field.<\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt id=\"1.%20is%20shipping%20amount%20included%20in%20the%20discount%3F\"><h3>1. Is shipping amount included in the discount?<\/h3><\/dt>\n<dd><p>No, discount will be directly applied to the order total.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>1.0.0<\/h4>\n\n<p>Initial release.<\/p>\n\n<h4>1.0.1<\/h4>\n\n<p>Readme Update.<\/p>\n\n<h4>1.0.2<\/h4>\n\n<p>Fix: Assets load issue.<\/p>\n\n<h4>1.1.0<\/h4>\n\n<p>Security: Fixed inverted nonce validation in the admin AJAX handler.\nSecurity: Assigned the <code>wp_unslash()<\/code> result before reading posted values.\nSecurity: Replaced <code>rand()<\/code> with <code>random_int()<\/code> for coupon code generation.\nSecurity: Changed admin page capability from <code>administrator<\/code> to <code>manage_options<\/code>.\nFix: Added a max-attempt safeguard to coupon code generation and fail-safe handling when code generation cannot produce a unique code.\nFix: Replaced deprecated <code>rg_lead_detail<\/code> uniqueness checks with <code>gf_entry_meta<\/code>.\nFix: Added settings for start date, expiration date, code prefix, and code characters.\nFix: Made the minimum price admin field optional in JavaScript validation.\nFix: Corrected escaping in the admin settings UI for attribute contexts and option values.\nFix: Added plugin activation dependency checks for Gravity Forms and the Gravity Forms Coupons Add-On.\nFix: Expanded uninstall cleanup to remove all plugin options.<\/p>","raw_excerpt":"Generate unique Gravity Forms coupon codes for later use with the Gravity Forms Coupons Add-On and WooCommerce.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/scn.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/163135","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/scn.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/scn.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/scn.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=163135"}],"author":[{"embeddable":true,"href":"https:\/\/scn.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/krishnagajera"}],"wp:attachment":[{"href":"https:\/\/scn.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=163135"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/scn.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=163135"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/scn.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=163135"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/scn.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=163135"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/scn.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=163135"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/scn.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=163135"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}