{"id":378652,"date":"2026-10-01T07:25:18","date_gmt":"2026-10-01T07:25:18","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/4a-scratch\/"},"modified":"2026-10-01T07:25:00","modified_gmt":"2026-10-01T07:25:00","slug":"4a-scratch","status":"publish","type":"plugin","link":"https:\/\/wordpress.org\/plugins\/4a-scratch\/","author":23573508,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"1.0.4","stable_tag":"1.0.4","tested":"7.1.2","requires":"6.5","requires_php":"8.0","requires_plugins":null,"header_name":"4A Scratch","header_author":"4A Works","header_description":"Add a polished scratch-card reward to WooCommerce orders. Create percentage or fixed discount prizes, show the card after checkout and in My Account, and track results.","assets_banners_color":"b99772","last_updated":"2026-10-01 07:25:00","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"https:\/\/4a.nl\/index.php\/4a-scratch\/","header_author_uri":"https:\/\/4a.nl\/","rating":0,"author_block_rating":0,"active_installs":0,"downloads":66,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":{"1.0.4":{"tag":"1.0.4","author":"4aworks","date":"2026-10-01 07:25:00","revision":3722569}},"upgrade_notice":[],"ratings":[],"assets_icons":{"icon-128x128.png":{"filename":"icon-128x128.png","revision":3722590,"resolution":"128x128","location":"assets","locale":"","width":128,"height":128},"icon-256x256.png":{"filename":"icon-256x256.png","revision":3722590,"resolution":"256x256","location":"assets","locale":"","width":256,"height":256}},"assets_banners":{"banner-1544x500.png":{"filename":"banner-1544x500.png","revision":3722684,"resolution":"1544x500","location":"assets","locale":"","width":1544,"height":500},"banner-772x250.png":{"filename":"banner-772x250.png","revision":3722684,"resolution":"772x250","location":"assets","locale":"","width":772,"height":250}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.0.4"],"block_files":[],"assets_screenshots":{"screenshot-1.png":{"filename":"screenshot-1.png","revision":3722632,"resolution":"1","location":"assets","locale":"","width":828,"height":462},"screenshot-2.png":{"filename":"screenshot-2.png","revision":3722632,"resolution":"2","location":"assets","locale":"","width":828,"height":462},"screenshot-3.png":{"filename":"screenshot-3.png","revision":3722632,"resolution":"3","location":"assets","locale":"","width":828,"height":463},"screenshot-4.png":{"filename":"screenshot-4.png","revision":3722632,"resolution":"4","location":"assets","locale":"","width":828,"height":463},"screenshot-5.png":{"filename":"screenshot-5.png","revision":3722632,"resolution":"5","location":"assets","locale":"","width":1672,"height":941}},"screenshots":[]},"plugin_section":[],"plugin_tags":[591,140846,294,239108,286],"plugin_category":[45],"plugin_contributors":[283112],"plugin_business_model":[],"class_list":["post-378652","plugin","type-plugin","status-publish","hentry","plugin_tags-coupons","plugin_tags-customer-retention","plugin_tags-rewards","plugin_tags-scratch-card","plugin_tags-woocommerce","plugin_category-ecommerce","plugin_contributors-4aworks","plugin_committers-4aworks"],"banners":{"banner":"https:\/\/ps.w.org\/4a-scratch\/assets\/banner-772x250.png?rev=3722684","banner_2x":"https:\/\/ps.w.org\/4a-scratch\/assets\/banner-1544x500.png?rev=3722684","banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":false,"icon":"https:\/\/ps.w.org\/4a-scratch\/assets\/icon-128x128.png?rev=3722590","icon_2x":"https:\/\/ps.w.org\/4a-scratch\/assets\/icon-256x256.png?rev=3722590","generated":false},"screenshots":[{"src":"https:\/\/ps.w.org\/4a-scratch\/assets\/screenshot-1.png?rev=3722632","caption":""},{"src":"https:\/\/ps.w.org\/4a-scratch\/assets\/screenshot-2.png?rev=3722632","caption":""},{"src":"https:\/\/ps.w.org\/4a-scratch\/assets\/screenshot-3.png?rev=3722632","caption":""},{"src":"https:\/\/ps.w.org\/4a-scratch\/assets\/screenshot-4.png?rev=3722632","caption":""},{"src":"https:\/\/ps.w.org\/4a-scratch\/assets\/screenshot-5.png?rev=3722632","caption":""}],"raw_content":"<!--section=description-->\n<p>4A Scratch gives eligible WooCommerce orders one digital scratch card. Customers scratch with mouse or touch to reveal a reward. Winning discount coupons are generated server-side, limited to one use and restricted to the order email address.<\/p>\n\n<p>Free includes:\n* One active scratch campaign\n* Two coupon prizes plus a no-prize outcome\n* Relative prize weights\n* Percentage and fixed-cart discounts\n* Unique one-use coupons\n* Configurable coupon expiry\n* Scratch card on the order-received page\n* Scratch card in My Account order details\n* Basic result counters\n* Safe admin test mode\n* Editable no-prize message\n* Touch and mouse support<\/p>\n\n<p>4A Scratch Pro is designed to add public\/homepage scratch campaigns, multiple campaigns, free-product rewards, scheduling, advanced conditions, design controls and deeper analytics. Learn more at https:\/\/4a.nl\/index.php\/4a-scratch\/.<\/p>\n\n<!--section=installation-->\n<ol>\n<li>Upload and activate 4A Scratch.<\/li>\n<li>Make sure WooCommerce is active.<\/li>\n<li>Open 4A Scratch in the WordPress admin menu.<\/li>\n<li>Configure your campaign and reward weights.<\/li>\n<li>Place a test order before using the campaign on a live store.<\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt id=\"can%20a%20customer%20scratch%20the%20same%20order%20twice%3F\"><h3>Can a customer scratch the same order twice?<\/h3><\/dt>\n<dd><p>No. The first revealed result is stored on the WooCommerce order and subsequent views show that same result.<\/p><\/dd>\n<dt id=\"are%20winning%20coupons%20reusable%3F\"><h3>Are winning coupons reusable?<\/h3><\/dt>\n<dd><p>No. Free creates a unique coupon with a usage limit of one and restricts it to the billing email address of the order.<\/p><\/dd>\n<dt id=\"how%20do%20the%20chances%20work%3F\"><h3>How do the chances work?<\/h3><\/dt>\n<dd><p>The weights are relative. For example, weights 20, 10 and 70 result in 20%, 10% and 70% chances.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>1.0.4<\/h4>\n\n<ul>\n<li><p>WordPress.org submission hardening: request validation, sanitization and valid internal prefixes.<\/p><\/li>\n<li><p>Faster automatic reveal after roughly 10% of the scratch surface is cleared.<\/p><\/li>\n<li>Default no-prize heading is now fully English: \"NO LUCK THIS TIME\".<\/li>\n<li>Default no-prize message is now: \"No prize this time. Better luck next time!\".<\/li>\n<\/ul>\n\n<h4>1.0.3<\/h4>\n\n<ul>\n<li>Faster scratch reveal: larger scratch area and automatic reveal after roughly 18% is cleared.<\/li>\n<li>Improved no-prize result with a separate editable heading and customer message.<\/li>\n<li>Default no-prize copy now uses a clearer \"Helaas\u2026\" message.<\/li>\n<\/ul>\n\n<h4>1.0.2<\/h4>\n\n<ul>\n<li>Added safe admin Test Mode.<\/li>\n<li>Force Random, Prize 01, Prize 02 or No Prize.<\/li>\n<li>Test scratches create no real coupons, orders or statistics.<\/li>\n<li>Added instant reset\/retest flow.<\/li>\n<\/ul>\n\n<h4>1.0.1<\/h4>\n\n<ul>\n<li>Refined scratch interaction with a branded 4A scratch coin.<\/li>\n<li>Added smoother reward reveal animation.<\/li>\n<li>Added live reward chance percentages in the admin.<\/li>\n<li>Added live scratch-card preview text updates.<\/li>\n<li>Added clearer paused campaign state and Pro labels.<\/li>\n<\/ul>\n\n<h4>1.0.0<\/h4>\n\n<ul>\n<li>Initial release.<\/li>\n<li>Scratch interaction for touch and mouse.<\/li>\n<li>Server-side reward selection.<\/li>\n<li>Unique WooCommerce coupon rewards.<\/li>\n<li>Thank-you and My Account integration.<\/li>\n<li>Styled 4A Works admin experience.<\/li>\n<li>Pro feature preview built into Free.<\/li>\n<\/ul>","raw_excerpt":"A polished WooCommerce scratch-card reward for the moment after checkout.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/378652","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=378652"}],"author":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/4aworks"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=378652"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=378652"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=378652"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=378652"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=378652"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=378652"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}