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 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. 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 platform to enable digital scratch card functionality.

External API Calls:

  1. https://scratchcardai.com/api/get-user-key/{license-key}

    • This call is made when a user enters their license key.
    • Purpose: To retrieve an OTP ID for account verification.
  2. https://scratchcardai.com/api/verify-user-otp/{otp-id}/{otp-value}

    • 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
  • OTP verification screen
  • 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 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

Translate “Scratch Card AI” into your language.

Interested in development?

Browse the code, check out the SVN repository, or subscribe to the development log by 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