Claiming & Wallet Credits
If a ticket wins an instant prize, the customer can see the prize in their order and My Account > My Wins. Use TeraWallet for automatic credit of instant win prizes to user’s wallet. Arrange delivery of other tangible and non tangible prizes separately.
1. Automated TeraWallet Store Credit
Section titled “1. Automated TeraWallet Store Credit”Quantum Competitions features native integration with the popular TeraWallet (WooCommerce Wallet) plugin:
- In Competitions > Settings > Wallet, enable Add Instant ticket value to wallet (
qcw_add_instant_to_wallet). - Use Instant ticket category to add (
qcw_instant_wallet_category) to specify which prize categories automatically deposit into the customer’s wallet (for exampleWallet,Site Credit, orAll Categories). Physical merchandise or cash transfer categories can be excluded from wallet deposits. - Instant Deposit: Upon checkout completion, the prize monetary value is credited directly to the customer’s account balance:
Credit instant win prize amount to wallet. Prize: "£50 Site Credit" ticket number: 140
- Instant Reinvestment: Customers can immediately use their credited balance to enter more competitions or purchase other WooCommerce store products.
2. Automated Email Notifications
Section titled “2. Automated Email Notifications”When an instant win occurs, the plugin dispatches two transactional email notifications via WooCommerce (if enabled in WooCommere Settings > Emails):
Customer Win Email (WC_Email_Competition_Instant_Win)
Section titled “Customer Win Email (WC_Email_Competition_Instant_Win)”- Sent to the customer when the plugin records the instant win.
- Contains the competition title, winning ticket number, prize details, and fulfillment instructions.
- Template customizable via standard WooCommerce email management (WooCommerce > Settings > Emails).
Admin Alert Email (WC_Email_Competition_Instant_Win_Admin)
Section titled “Admin Alert Email (WC_Email_Competition_Instant_Win_Admin)”- Sent to site administrators alerting them of the instant win was won.
- Includes winner user details, billing address, phone number, winning ticket, and order ID for physical fulfillment tracking.
3. Customer Account & Order Confirmation
Section titled “3. Customer Account & Order Confirmation”Instant win messages and reveal animations appear for paid orders and orders in the Reward status. Unpaid order details and order emails hide instant win messages. Order emails show up to ten prizes per order item, then a remaining count and a link to My Account.
Customers can find prizes in these locations.
- Order Received / Thank You Page:
- A dedicated win notification banner is embedded in the order summary (
qcw_instant_win_order_message). - Displays the winning ticket number, prize name, and triggers the selected interactive reveal animation.
- A dedicated win notification banner is embedded in the order summary (
- My Account > My Wins > Instant Wins (
wins-instant):- A dedicated account endpoint listing all instant prizes won by the customer across all orders.
- Shows the date, competition title, winning ticket number, and awarded prize.
4. Admin Auditing & Database Tracking
Section titled “4. Admin Auditing & Database Tracking”The instant win log stores these details in {$wpdb->prefix}wc_lottery_pn_instantwin.
- Order ID, User ID, user email, and full name.
- Competition title and ID.
- Winning ticket number and prize title.
- Timestamp of the award.
Administrators can review and manage claimed instant prizes directly from the Competition Instant Prizes metabox on each competition product page or via the admin winner logs.
DNA Payments Credit Card Controls
Section titled “DNA Payments Credit Card Controls”If you use DNA Payments, you can block credit card payments for Instant Win competitions. DNA identifies the card type and applies your monthly limits to payments through its gateway. This integration is optional and requires Quantum Competitions 1.0.3 or later.
- Install and activate DNA Payments for WooCommerce (4.3.0 or later) and DNA Payments - Credit Card Controls.
- In WooCommerce > Settings > Credit Card Controls, enable Credit Card Restrictions.
- Set Instant Win Credit Card Limit to
0to block credit card payments for Instant Win competitions. - Set Competition Credit Card Limit and choose the fallback policies for funding and competition payments.
When Card Controls is active, Quantum Competitions plugins marks each new order item for a competition with Instant winner enabled. By default, DNA uses this marker to recognize the item on payment retries, even after you edit or delete the product.
Before you enable restrictions on your live store, test credit cards, debit cards, carts with both Instant Win and other products, and payment retries in the DNA sandbox.
DNA Payments Credit Card Controls enables sitewide limits and credit / debit card limits, if you need more granular control per user or exlusions you can use our Spending Limits for WooCommerce plugin. This plugin implements more detailed spending limits and exclusions per user and for defined periods. It works for any payment gateway.