Title: Scratch and Win
Author: sosidee
Published: <strong>14.03.2022</strong>
Last modified: 22.05.2025

---

Поиск плагинов

![](https://ps.w.org/scratch-and-win/assets/banner-772x250.jpg?rev=2693776)

![](https://ps.w.org/scratch-and-win/assets/icon-256x256.png?rev=2693776)

# Scratch and Win

 Автор: [sosidee](https://profiles.wordpress.org/sosidee/)

[Скачать](https://downloads.wordpress.org/plugin/scratch-and-win.1.1.3.zip)

 * [Детали](https://ru.wordpress.org/plugins/scratch-and-win/#description)
 * [Отзывы](https://ru.wordpress.org/plugins/scratch-and-win/#reviews)
 * [Разработка](https://ru.wordpress.org/plugins/scratch-and-win/#developers)

 [Поддержка](https://wordpress.org/support/plugin/scratch-and-win/)

## Описание

### Create a Scratch and Win game for your users

With this plugin you can create and manage **Scratch and Win** cards that allow 
your users to win what you decide will be the prizes:

 * discount coupons for your e-commerce
 * reserved links to download useful documents
 * giveaways and gifts
 * loyalty programs
 * free products or services
 * etc. (your imagination will be the limit)

After playing, users will be redirected to the pages you choose where to display
the prizes or the unlucky result.

### How it works

Create a game by setting the number of total tickets, one or more prizes and their
winning criteria.
 Then insert a simple shortcode in the page/article where you 
want the Scratch and Win card will appear. Logged users will be able to play, and
the winners will receive an email whose content was decided by you.

You can customize:

 * the total number of tickets (winning and not) for a game
 * the number of tickets for each prize (it defines the winning probability)
 * the cover image to be scratched
 * the win image
 * the loss image
 * each prize image
 * the scratcher (generally a coin) image
 * the maximum number of times a single user can play a game (total / by hour / 
   by day / by week)

…and other details like endless game, anonymous users allowed, etc.

### Statistics

Playings statistics are displayed for all active games.

### Disclaimer

This plugin does use a **pseudorandom** (that is, not _true_ random) number generator
to draw results (see FAQ for details): therefore, do not use this plugin to create
true lotteries or gambling games.
 The author declines all responsibility for any
violation (of any law of any Country) related to the use of this plugin.

## Часто задаваемые вопросы

### What are random numbers ?

They are numbers whose generated sequence cannot be predicted by any computer algorithm.

To achieve that, computers must use unbiased and unpredictable mechanisms, such 
as thermal noise or quantum phenomena (e.g. radioactive decay of isotopes, photons
reflection vs refraction count, etc.).

### What are pseudorandom numbers ?

They are numbers generated by computer algorithms that try to approximate the properties
of random number sequences.
 Since they are completely determined by an initial 
value _(seed)_, they are not _«true»_ random numbers.

### Are results predictable ?

Even if they can be considered predictable by a strictly theoretical point of view,
in practice they are not.
 In fact, it would require to hack your web server system,
but in that case you would have a security problem that goes far beyond the plugin
issue.

## Отзывы

![](https://secure.gravatar.com/avatar/dcde25935d1b9d3cffddcf33c76de4092af3fe93a8ef670db406669f502aae0b?
s=60&d=retro&r=g)

### 󠀁[It’s OK](https://wordpress.org/support/topic/its-ok-181/)󠁿

 [relivin](https://profiles.wordpress.org/relivin/) 05.06.2025 1 ответ

Should be able to adjust the odds of winning.

![](https://secure.gravatar.com/avatar/600975de6f37f8aac58da9e8a55282eeba1fd2727daa8db68e13a40363b2e99c?
s=60&d=retro&r=g)

### 󠀁[Excellent Support](https://wordpress.org/support/topic/excellent-support-2465/)󠁿

 [wupples](https://profiles.wordpress.org/wupples/) 25.04.2025

Great plugin and even better support. Highly recommended.

![](https://secure.gravatar.com/avatar/285754a0c67f50f44ec1d74e570067f90ca8b785e00262f64921300e31d93e7b?
s=60&d=retro&r=g)

### 󠀁[great plugin!](https://wordpress.org/support/topic/great-plugin-37572/)󠁿

 [Carlos Pinedo](https://profiles.wordpress.org/carlos-pinedo/) 13.09.2023

Great plugin! The best of its kind

![](https://secure.gravatar.com/avatar/d113d1b7a0dbd26bf7e24e449e9eca821a9f74210c261068a84c50d3a43cbc79?
s=60&d=retro&r=g)

### 󠀁[Finally a native scratch card for WordPress](https://wordpress.org/support/topic/finally-a-native-scratch-card-for-wordpress/)󠁿

 [TeamOnAir](https://profiles.wordpress.org/teamonair/) 14.06.2022

All the ones I have found so far were managed by external platforms. With this plugin
you can manage your scratch card directly on your website

 [ Посмотреть все 4 отзыва ](https://wordpress.org/support/plugin/scratch-and-win/reviews/)

## Участники и разработчики

«Scratch and Win» — проект с открытым исходным кодом. В развитие плагина внесли 
свой вклад следующие участники:

Участники

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

[Перевести «Scratch and Win» на ваш язык.](https://translate.wordpress.org/projects/wp-plugins/scratch-and-win)

### Заинтересованы в разработке?

[Посмотрите код](https://plugins.trac.wordpress.org/browser/scratch-and-win/), проверьте
[SVN репозиторий](https://plugins.svn.wordpress.org/scratch-and-win/), или подпишитесь
на [журнал разработки](https://plugins.trac.wordpress.org/log/scratch-and-win/) 
по [RSS](https://plugins.trac.wordpress.org/log/scratch-and-win/?limit=100&mode=stop_on_copy&format=rss).

## Журнал изменений

#### 1.1.3

 * Fixed early translation loading issue on WP 6.7+

#### 1.1.2

 * The ticket code can be displayed below the cover.
 * The shortcode attribute get=»code» shows the ticket code in redirected pages/
   posts.
 * Added an option to add a random key-value couple to the query-string of redirecting
   URLs.
 * Added a workaround to load the core file ‘pluggable.php’ before using the cache_users()
   function [WordPress 6.1 bug]

#### 1.1.1

 * Fixed a javascript issue with the library media (images).

#### 1.1

 * Fixed a datetime problem when server and database have different timezones.
 * Added a user cache system for search parameters in admin console pages Game List,
   Tickets and Statistics.
 * Added missing translations.
 * Updated the internal PHP library.
 * Other minor changes.

#### 1.0

 * Fixed the user’s limits (number of times) of playing a specific game.
 * Renamed db table columns ‘cancelled’ to ‘deleted’.
 * Renamed db table columns ‘disabled’ to ‘cancelled’.

#### 0.9

First release

## Мета

 *  Версия **1.1.3**
 *  Обновление: **11 месяцев назад**
 *  Активных установок: **100+**
 *  Версия WordPress ** 5.9 или выше **
 *  Совместим вплоть до: **6.8.5**
 *  Версия PHP ** 8.0 или выше **
 *  Язык
 * [English (US)](https://wordpress.org/plugins/scratch-and-win/)
 * Метки:
 * [Loyalty](https://ru.wordpress.org/plugins/tags/loyalty/)[scratch](https://ru.wordpress.org/plugins/tags/scratch/)
   [win](https://ru.wordpress.org/plugins/tags/win/)
 *  [Дополнительно](https://ru.wordpress.org/plugins/scratch-and-win/advanced/)

## Оценки

 4.5 из 5 звёзд.

 *  [  3 5-звездный отзыв     ](https://wordpress.org/support/plugin/scratch-and-win/reviews/?filter=5)
 *  [  0 4-звездный отзыв     ](https://wordpress.org/support/plugin/scratch-and-win/reviews/?filter=4)
 *  [  1 3-звездный отзыв     ](https://wordpress.org/support/plugin/scratch-and-win/reviews/?filter=3)
 *  [  0 2-звездный отзыв     ](https://wordpress.org/support/plugin/scratch-and-win/reviews/?filter=2)
 *  [  0 1-звездный отзыв     ](https://wordpress.org/support/plugin/scratch-and-win/reviews/?filter=1)

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

[Посмотреть всеотзывы](https://wordpress.org/support/plugin/scratch-and-win/reviews/)

## Участники

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

## Поддержка

Есть что сказать? Нужна помощь?

 [Перейти в форум поддержки](https://wordpress.org/support/plugin/scratch-and-win/)