{"id":229778,"date":"2025-06-13T09:53:55","date_gmt":"2025-06-13T09:53:55","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/scratch-card-ai\/"},"modified":"2025-06-13T10:56:39","modified_gmt":"2025-06-13T10:56:39","slug":"scratch-card-ai","status":"publish","type":"plugin","link":"https:\/\/lmo.wordpress.org\/plugins\/scratch-card-ai\/","author":23205587,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"1.0","stable_tag":"trunk","tested":"6.8.5","requires":"5.8","requires_php":"7.4","requires_plugins":null,"header_name":"Scratch Card AI","header_author":"scratchcardai","header_description":"WordPress plugin that allows vendors to display digital scratch card popups using remote data and display front page template.","assets_banners_color":"e2e0fb","last_updated":"2025-06-13 10:56:39","external_support_url":"","external_repository_url":"","donate_link":"https:\/\/buymeacoffee.com\/scratchcardai","header_plugin_uri":"","header_author_uri":"https:\/\/scratchcardai.com\/","rating":0,"author_block_rating":0,"active_installs":0,"downloads":326,"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":"scratchcardai","date":"2025-06-13 09:53:41"}},"upgrade_notice":{"1.0":"<p>Initial release. Supports both popup and homepage scratch card display. Compatible with WordPress 6.7+.<\/p>"},"ratings":[],"assets_icons":{"icon-128x128.png":{"filename":"icon-128x128.png","revision":3313727,"resolution":"128x128","location":"assets","locale":""},"icon-256x256.png":{"filename":"icon-256x256.png","revision":3313727,"resolution":"256x256","location":"assets","locale":""},"icon.svg":{"filename":"icon.svg","revision":3313727,"resolution":false,"location":"assets","locale":false}},"assets_banners":{"banner-1544x500.jpg":{"filename":"banner-1544x500.jpg","revision":3313732,"resolution":"1544x500","location":"assets","locale":""},"banner-1544x500.png":{"filename":"banner-1544x500.png","revision":3313727,"resolution":"1544x500","location":"assets","locale":""},"banner-772x250.jpg":{"filename":"banner-772x250.jpg","revision":3313732,"resolution":"772x250","location":"assets","locale":""},"banner-772x250.png":{"filename":"banner-772x250.png","revision":3313729,"resolution":"772x250","location":"assets","locale":""}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.0.0"],"block_files":[],"assets_screenshots":{"screenshot-1.png":{"filename":"screenshot-1.png","revision":3313732,"resolution":"1","location":"assets","locale":""},"screenshot-2.png":{"filename":"screenshot-2.png","revision":3313732,"resolution":"2","location":"assets","locale":""},"screenshot-3.png":{"filename":"screenshot-3.png","revision":3313886,"resolution":"3","location":"assets","locale":""}},"screenshots":{"1":"Scratch Card plugin setup in the admin dashboard","2":"OTP verification screen","3":"Popup scratch card in action"},"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[21532,23978,239108],"plugin_category":[],"plugin_contributors":[243585],"plugin_business_model":[],"class_list":["post-229778","plugin","type-plugin","status-publish","hentry","plugin_tags-custom-popup","plugin_tags-customer-engagement","plugin_tags-scratch-card","plugin_contributors-scratchcardai","plugin_committers-scratchcardai"],"banners":{"banner":"https:\/\/ps.w.org\/scratch-card-ai\/assets\/banner-772x250.png?rev=3313729","banner_2x":"https:\/\/ps.w.org\/scratch-card-ai\/assets\/banner-1544x500.png?rev=3313727","banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":"https:\/\/ps.w.org\/scratch-card-ai\/assets\/icon.svg?rev=3313727","icon":"https:\/\/ps.w.org\/scratch-card-ai\/assets\/icon.svg?rev=3313727","icon_2x":false,"generated":false},"screenshots":[{"src":"https:\/\/ps.w.org\/scratch-card-ai\/assets\/screenshot-1.png?rev=3313732","caption":"Scratch Card plugin setup in the admin dashboard"},{"src":"https:\/\/ps.w.org\/scratch-card-ai\/assets\/screenshot-2.png?rev=3313732","caption":"OTP verification screen"},{"src":"https:\/\/ps.w.org\/scratch-card-ai\/assets\/screenshot-3.png?rev=3313886","caption":"Popup scratch card in action"}],"raw_content":"<!--section=description-->\n<p>Scratch Card is an interactive WordPress plugin designed to boost user engagement and collect valuable customer data. Seamlessly integrated with the <a href=\"https:\/\/scratchcardai.com\">Scratch Card AI<\/a> system, this plugin enables vendors to display digital scratch cards using either:<\/p>\n\n<ul>\n<li>A <strong>popup<\/strong> on any page  <\/li>\n<li>A <strong>custom homepage template<\/strong> embedding the scratch card as an iframe<\/li>\n<\/ul>\n\n<p><strong>Note:<\/strong><br \/>\nRegistration is free at <a href=\"https:\/\/scratchcardai.com\">scratchcardai.com<\/a>. After registration, navigate to the <strong>Implementation<\/strong> section in the dashboard and copy your <strong>License Key<\/strong> to activate the plugin.<\/p>\n\n<p><strong>Key Features:<\/strong><\/p>\n\n<ul>\n<li>Create digital scratch cards on your WordPress site  <\/li>\n<li>Choose between <strong>popup<\/strong> mode or <strong>custom homepage embedding<\/strong>  <\/li>\n<li>Collect user data such as name, email, etc.  <\/li>\n<li>Fully responsive design, mobile-ready  <\/li>\n<li>OTP verification and license key integration  <\/li>\n<li>Easy-to-use admin interface with preview and disconnect options  <\/li>\n<\/ul>\n\n<p><strong>Short Description:<\/strong><br \/>\nEngage visitors with digital scratch cards using a popup or custom homepage. Easily connect to your Scratch Card AI account.<\/p>\n\n<h3>External Services<\/h3>\n\n<p>This plugin integrates with the <a href=\"https:\/\/scratchcardai.com\">Scratch Card AI<\/a> platform to enable digital scratch card functionality.<\/p>\n\n<p><strong>External API Calls:<\/strong><\/p>\n\n<ol>\n<li><p><code>https:\/\/scratchcardai.com\/api\/get-user-key\/{license-key}<\/code><\/p>\n\n<ul>\n<li>This call is made when a user enters their license key.  <\/li>\n<li>Purpose: To retrieve an OTP ID for account verification.<\/li>\n<\/ul><\/li>\n<li><p><code>https:\/\/scratchcardai.com\/api\/verify-user-otp\/{otp-id}\/{otp-value}<\/code><\/p>\n\n<ul>\n<li>This call is made when the user submits the OTP during license verification.  <\/li>\n<li>Purpose: To verify that the user owns the license key and has entered the correct OTP.<\/li>\n<\/ul><\/li>\n<\/ol>\n\n<p><strong>Data Sent:<\/strong>\n- The plugin sends the following information:\n  - <strong>License Key<\/strong> (user input from admin form)\n  - <strong>OTP characters<\/strong> (user input during verification)<\/p>\n\n<p><strong>Why it's sent:<\/strong>\n- This data is used to authenticate users and retrieve the JavaScript embed code for their scratch card.<\/p>\n\n<p><strong>Service Provider:<\/strong>\n- <strong>Scratch Card AI<\/strong> \u2013 a digital gamification platform<br \/>\n  - <strong>Website:<\/strong> https:\/\/scratchcardai.com<br \/>\n  - <strong>Privacy Policy:<\/strong> https:\/\/scratchcardai.com\/privacy-policy<\/p>\n\n<!--section=installation-->\n<ol>\n<li>Upload the <code>scratch-card<\/code> plugin folder to the <code>\/wp-content\/plugins\/<\/code> directory.<\/li>\n<li>Activate the plugin through the \u201cPlugins\u201d menu in WordPress.<\/li>\n<li>Go to <strong>Scratch Card &gt; Admin Page<\/strong> from the WordPress sidebar.<\/li>\n<li>Register or Sign In using your <a href=\"https:\/\/scratchcardai.com\">Scratch Card AI<\/a> account.<\/li>\n<li>Copy your License Key from the <strong>Implementation<\/strong> section.<\/li>\n<li>Enter your License Key and choose between <strong>popup<\/strong> or <strong>homepage template<\/strong> mode.<\/li>\n<li>Save and verify via OTP.<\/li>\n<li>For <strong>popup mode<\/strong>, add the class <code>open-scratchcard-modal<\/code> to any button or link on your site to trigger the scratch card popup.<br \/>\n<em>Example:<\/em><br \/>\n   Open Modal<\/li>\n<li>You're ready to go!<\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt id='what%20are%20the%20display%20options%3F'><h3>What are the display options?<\/h3><\/dt>\n<dd><p>You can choose between:\n- A popup that appears on your existing pages\n- A custom homepage template that embeds the scratch card experience directly via iframe<\/p><\/dd>\n<dt id='how%20do%20i%20trigger%20the%20popup%20manually%3F'><h3>How do I trigger the popup manually?<\/h3><\/dt>\n<dd><p>If you're using <strong>popup mode<\/strong>, simply add the class <code>open-scratchcard-modal<\/code> to any HTML element like a button or anchor.<br \/>\nExample: <code>&lt;a class=\"open-scratchcard-modal\"&gt;Try Your Luck&lt;\/a&gt;<\/code><\/p><\/dd>\n<dt id='is%20otp%20verification%20required%3F'><h3>Is OTP verification required?<\/h3><\/dt>\n<dd><p>Yes. After entering your license key, you will receive a one-time password (OTP) to verify your integration.<\/p><\/dd>\n<dt id='can%20i%20switch%20from%20popup%20to%20homepage%20mode%20later%3F'><h3>Can I switch from popup to homepage mode later?<\/h3><\/dt>\n<dd><p>Yes, simply disconnect and reconnect using the admin panel and choose the new display type.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>1.0<\/h4>\n\n<ul>\n<li>Initial public release  <\/li>\n<li>Option to embed scratch card via homepage iframe  <\/li>\n<li>Enhanced UI styling and mobile responsiveness  <\/li>\n<li>OTP popup with auto-focus  <\/li>\n<li>Added support for manual trigger via <code>.open-scratchcard-modal<\/code> class<\/li>\n<\/ul>","raw_excerpt":"A WordPress plugin that allows vendors to create digital scratch cards and engage users through a gamified popup or homepage experience.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/lmo.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/229778","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/lmo.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/lmo.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/lmo.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=229778"}],"author":[{"embeddable":true,"href":"https:\/\/lmo.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/scratchcardai"}],"wp:attachment":[{"href":"https:\/\/lmo.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=229778"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/lmo.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=229778"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/lmo.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=229778"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/lmo.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=229778"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/lmo.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=229778"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/lmo.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=229778"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}