Title: Scratch Card AI
Author: scratchcardai
Published: <strong>Mezheven 13, 2025</strong>
Last modified: Mezheven 13, 2025

---

Search plugins

![](https://ps.w.org/scratch-card-ai/assets/banner-772x250.png?rev=3313729)

This plugin **hasn’t been tested with the latest 3 major releases of WordPress**.
It may no longer be maintained or supported and may have compatibility issues when
used with more recent versions of WordPress.

![](https://ps.w.org/scratch-card-ai/assets/icon.svg?rev=3313727)

# Scratch Card AI

 By [scratchcardai](https://profiles.wordpress.org/scratchcardai/)

[Download](https://downloads.wordpress.org/plugin/scratch-card-ai.zip)

 * [Details](https://bre.wordpress.org/plugins/scratch-card-ai/#description)
 * [Reviews](https://bre.wordpress.org/plugins/scratch-card-ai/#reviews)
 *  [Installation](https://bre.wordpress.org/plugins/scratch-card-ai/#installation)
 * [Development](https://bre.wordpress.org/plugins/scratch-card-ai/#developers)

 [Support](https://wordpress.org/support/plugin/scratch-card-ai/)

## Description

Scratch Card is an interactive WordPress plugin designed to boost user engagement
and collect valuable customer data. Seamlessly integrated with the [Scratch Card AI](https://scratchcardai.com)
system, this plugin enables vendors to display digital scratch cards using either:

 * A **popup** on any page
 * A **custom homepage template** embedding the scratch card as an iframe

**Note:**
 Registration is free at [scratchcardai.com](https://scratchcardai.com).
After registration, navigate to the **Implementation** section in the dashboard 
and copy your **License Key** to activate the plugin.

**Key Features:**

 * Create digital scratch cards on your WordPress site
 * Choose between **popup** mode or **custom homepage embedding**
 * Collect user data such as name, email, etc.
 * Fully responsive design, mobile-ready
 * OTP verification and license key integration
 * Easy-to-use admin interface with preview and disconnect options

**Short Description:**
 Engage visitors with digital scratch cards using a popup
or custom homepage. Easily connect to your Scratch Card AI account.

### External Services

This plugin integrates with the [Scratch Card AI](https://scratchcardai.com) platform
to enable digital scratch card functionality.

**External API Calls:**

 1. `https://scratchcardai.com/api/get-user-key/{license-key}`
 2.  * This call is made when a user enters their license key.
     * Purpose: To retrieve an OTP ID for account verification.
 3. `https://scratchcardai.com/api/verify-user-otp/{otp-id}/{otp-value}`
 4.  * This call is made when the user submits the OTP during license verification.
     * Purpose: To verify that the user owns the license key and has entered the correct
       OTP.

**Data Sent:**
 – The plugin sends the following information: – **License Key** (
user input from admin form) – **OTP characters** (user input during verification)

**Why it’s sent:**
 – This data is used to authenticate users and retrieve the JavaScript
embed code for their scratch card.

**Service Provider:**
 – **Scratch Card AI** – a digital gamification platform –**
Website:** https://scratchcardai.com – **Privacy Policy:** https://scratchcardai.
com/privacy-policy

## Screenshots

[⌊Scratch Card plugin setup in the admin dashboard⌉⌊Scratch Card plugin setup in
the admin dashboard⌉[

Scratch Card plugin setup in the admin dashboard

[⌊OTP verification screen⌉⌊OTP verification screen⌉[

OTP verification screen

[⌊Popup scratch card in action⌉⌊Popup scratch card in action⌉[

Popup scratch card in action

## Installation

 1.  Upload the `scratch-card` plugin folder to the `/wp-content/plugins/` directory.
 2.  Activate the plugin through the “Plugins” menu in WordPress.
 3.  Go to **Scratch Card > Admin Page** from the WordPress sidebar.
 4.  Register or Sign In using your [Scratch Card AI](https://scratchcardai.com) account.
 5.  Copy your License Key from the **Implementation** section.
 6.  Enter your License Key and choose between **popup** or **homepage template** mode.
 7.  Save and verify via OTP.
 8.  For **popup mode**, add the class `open-scratchcard-modal` to any button or link
     on your site to trigger the scratch card popup.
      _Example:_ Open Modal
 9.  You’re ready to go!

## FAQ

### What are the display options?

You can choose between:
 – A popup that appears on your existing pages – A custom
homepage template that embeds the scratch card experience directly via iframe

### How do I trigger the popup manually?

If you’re using **popup mode**, simply add the class `open-scratchcard-modal` to
any HTML element like a button or anchor.
 Example: `<a class="open-scratchcard-
modal">Try Your Luck</a>`

### Is OTP verification required?

Yes. After entering your license key, you will receive a one-time password (OTP)
to verify your integration.

### Can I switch from popup to homepage mode later?

Yes, simply disconnect and reconnect using the admin panel and choose the new display
type.

## Reviews

There are no reviews for this plugin.

## Contributors & Developers

“Scratch Card AI” is open source software. The following people have contributed
to this plugin.

Contributors

 *   [ scratchcardai ](https://profiles.wordpress.org/scratchcardai/)

[Translate “Scratch Card AI” into your language.](https://translate.wordpress.org/projects/wp-plugins/scratch-card-ai)

### Interested in development?

[Browse the code](https://plugins.trac.wordpress.org/browser/scratch-card-ai/), 
check out the [SVN repository](https://plugins.svn.wordpress.org/scratch-card-ai/),
or subscribe to the [development log](https://plugins.trac.wordpress.org/log/scratch-card-ai/)
by [RSS](https://plugins.trac.wordpress.org/log/scratch-card-ai/?limit=100&mode=stop_on_copy&format=rss).

## Changelog

#### 1.0

 * Initial public release
 * Option to embed scratch card via homepage iframe
 * Enhanced UI styling and mobile responsiveness
 * OTP popup with auto-focus
 * Added support for manual trigger via `.open-scratchcard-modal` class

## Meta

 *  Version **1.0**
 *  Last updated **1 year ago**
 *  Active installations **Fewer than 10**
 *  WordPress version ** 5.8 or higher **
 *  Tested up to **6.8.8**
 *  PHP version ** 7.4 or higher **
 *  Language
 * [English (US)](https://wordpress.org/plugins/scratch-card-ai/)
 * Tags
 * [custom popup](https://bre.wordpress.org/plugins/tags/custom-popup/)[customer engagement](https://bre.wordpress.org/plugins/tags/customer-engagement/)
   [scratch-card](https://bre.wordpress.org/plugins/tags/scratch-card/)
 *  [Advanced View](https://bre.wordpress.org/plugins/scratch-card-ai/advanced/)

## Ratings

No reviews have been submitted yet.

[Your review](https://wordpress.org/support/plugin/scratch-card-ai/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/scratch-card-ai/reviews/)

## Contributors

 *   [ scratchcardai ](https://profiles.wordpress.org/scratchcardai/)

## Support

Got something to say? Need help?

 [View support forum](https://wordpress.org/support/plugin/scratch-card-ai/)

## Donate

Would you like to support the advancement of this plugin?

 [ Donate to this plugin ](https://buymeacoffee.com/scratchcardai)