Is your raffle legal?

Before writing a single line of configuration, you need to answer this question honestly. The legal definition of a raffle — and whether yours is permitted — varies significantly by country, and in some cases by state or province. The platform you run on is neutral software. Compliance is entirely the operator's responsibility.

Here is a region-by-region overview to frame your research:

India. Lotteries in India are state-regulated under the Lotteries (Regulation) Act, 1998. States including Kerala, Goa, Sikkim, and Maharashtra run or permit lotteries; others prohibit them outright. Online lottery in particular is treated differently from paper-based draws in several states. If you're targeting Indian audiences, you'll need either a state license, a skill-game wrapper (where entry requires answering a question correctly), or charitable registration.

United Kingdom. The UK has one of the clearest legal frameworks for raffles. Society lotteries — those run for charitable purposes — require registration with the Gambling Commission if ticket sales exceed certain thresholds (currently £20,000 per lottery or £250,000 per year). Small society lotteries can be registered with a local authority. Commercial raffles that aren't for charity require a full gambling operating licence. The key distinction: is it for profit or for a charitable purpose?

UAE. Raffles in the UAE are legal when operated by licensed entities for approved charitable or promotional purposes. The Dubai Economy and Tourism department oversees promotional raffles. Unlicensed commercial lotteries are prohibited. If you're operating from the UAE or targeting UAE residents, you'll need explicit approval.

USA. Raffle law in the United States is governed at the state level, and the variation is significant. Some states permit charitable raffles with a simple registration process; others require specific gaming licences. A few states prohibit commercial raffles entirely. Federal law prohibits running a lottery by mail. If your platform accepts tickets online across state lines, you're navigating multiple jurisdictions simultaneously — US-based operators should retain legal counsel before launch.

Nigeria. Nigeria's National Lottery Act governs lotteries at the federal level, administered by the National Lottery Regulatory Commission (NLRC). State-level permits may also be required. A number of Nigerian entrepreneurs run raffle platforms successfully under NLRC licensing, particularly for promotional and charitable draws.

Important: This overview is for general orientation only and is not legal advice. Laws change, interpretations vary, and local legal counsel is essential before you accept a single paid ticket. The RaffKing platform provides the technology — compliance is entirely the operator's responsibility.

Choosing your platform model

Once you've confirmed your legal standing, you need to decide which raffle model fits your business. There are three fundamentally different structures, each with different revenue dynamics:

Ticket-based draw. A fixed number of tickets are offered at a fixed price. The draw happens automatically when all tickets sell out — or you close it manually if unsold tickets remain. This model creates natural scarcity: buyers can see how many tickets are left, which accelerates purchases as the draw fills up. It's the most common model for prize raffles and charity campaigns. RaffKing supports this as its default mode.

Time-based draw. The draw happens at a pre-set schedule — every Friday at 8pm, for example — regardless of how many tickets have sold. This is the model used by most lottery-style platforms. It supports recurring engagement because buyers know exactly when to expect the draw. The trade-off is revenue unpredictability: a low-ticket-sale week still triggers a draw. RaffKing's draw scheduler handles this with configurable minimum ticket thresholds — if you haven't reached a minimum before the draw date, it can automatically roll over to the next cycle.

Subscription raffle. Buyers pay a recurring fee (weekly, monthly) for automatic entry into each draw during their subscription period. This model produces the most predictable revenue and the highest lifetime value per customer — subscribers don't need to actively re-purchase. It requires a payment gateway that supports recurring charges (Stripe Subscriptions or Razorpay's subscription API). RaffKing's subscription mode ties into these gateway APIs directly.

Setting up RaffKing

RaffKing installs on any Apache or Nginx hosting with PHP 8.1 or higher and MySQL 5.7 or higher. Most standard shared hosting plans and VPS providers meet this requirement. The installation follows the same pattern as any PHP web application: upload the files, create a database, run the installer wizard, set your admin credentials.

Once inside the admin panel, your first task is creating your initial raffle. Navigate to Raffles → Create New. The creation form has five key sections:

Basic details: Title, description, prize description, and prize image. Write these as if you're marketing the raffle — a compelling prize description drives ticket sales more than any other single factor.

Ticket configuration: Set the ticket price and total ticket count. For your first raffle, start conservative — 100 to 500 tickets priced at a level that makes the prize-to-ticket-cost ratio obviously attractive to buyers. A $500 prize offered through 200 tickets at $5 each means buyers are getting potentially 20x value, which is a clear and compelling proposition.

Draw schedule: Choose between manual draw (you trigger the draw from the admin panel when ready) and automatic draw (triggered when all tickets sell or at a specified date and time). For your first raffle, manual is safer — it gives you time to verify payment completions before the draw runs.

Winner notification: Configure the winner announcement email. RaffKing's template editor lets you customize the email with the winner's name, the prize details, and instructions for claiming the prize. Enable this before going live — winners who don't hear from you immediately lose confidence in the platform.

Visibility settings: Set the raffle to draft until you're ready to publish. This lets you configure everything and test without tickets going live prematurely.

Payment gateway setup

RaffKing comes with 39 pre-integrated payment gateways, which is one of its most underappreciated features. Building even a single gateway integration from scratch can cost $500–$2,000 in developer time. Here is the recommended gateway selection by region:

Stripe is the global default. It covers most of the developed world, has excellent developer documentation, robust test mode, and straightforward webhook configuration. Enable Stripe first and test it thoroughly before enabling any other gateway. Go to Admin → Payment Gateways → Stripe, enter your Publishable Key and Secret Key from your Stripe Dashboard, and set your Webhook Endpoint URL to the one shown in RaffKing's gateway settings.

Razorpay + UPI for India. Razorpay is the dominant payment infrastructure provider in India and handles UPI, net banking, and domestic debit and credit cards through a single API. If a significant portion of your audience is Indian, UPI support is essential — it's the payment method a large proportion of Indian buyers prefer over card entry.

Flutterwave for sub-Saharan Africa. Flutterwave supports local bank transfers, mobile money (M-Pesa, MTN MoMo, Airtel Money), and cards across Nigeria, Ghana, Kenya, Uganda, and other markets. For an African audience, Flutterwave coverage dramatically increases payment completion rates versus relying on international cards alone.

PayTabs for the Middle East. PayTabs supports AED, SAR, KWD, and other regional currencies, and is widely accepted by UAE and Saudi merchants for its regulatory compliance track record in the region.

KYC and compliance features

RaffKing includes a built-in KYC (Know Your Customer) module that allows document upload verification before a buyer can purchase tickets or before a winner can claim their prize. In regulated markets, KYC is not optional — it's the mechanism that proves you know who your participants are, which is a common requirement in gaming regulation.

To configure KYC, go to Admin → Compliance → KYC Settings. You can require KYC at different trigger points: before first ticket purchase (stricter, reduces friction for future purchases), before winnings withdrawal (lighter friction for buyers, but still verifies winners before paying out), or both. Required document types are configurable: national ID, passport, proof of address, or a selfie with ID. RaffKing stores documents securely with admin review queue — you approve or reject submissions from the admin panel.

Even if your jurisdiction doesn't formally require KYC, enabling it for prize claims above a certain value is good practice. It prevents fraudulent winner claims and protects you in any dispute.

Your first draw: a 10-item checklist

Before you open ticket sales for your first real draw, work through this checklist in a staging or test environment:

Growing ticket sales

Once your platform is live, the platform itself is not the growth engine — your marketing systems are. Here are the mechanisms that work consistently for raffle platforms:

Referral system. RaffKing includes a multi-level referral commission system where buyers earn a reward for every person they bring in who purchases a ticket. This turns your existing buyers into a distribution network. Set the commission at a level that's meaningful enough to motivate sharing — 10–15% of the referred ticket price is a common starting point. Display each buyer's referral stats in their account dashboard so they can track their earnings.

Email list building. Capture email addresses before the first ticket purchase — a "notify me when tickets go live" form costs you nothing and builds an audience you can market the next draw to directly. Even if your first raffle has 200 buyers, that's 200 people who've already shown interest and are worth remarketing to for your next event.

Social proof through winner announcements. Publicly announcing winners — with their permission — is one of the most effective trust signals for prospective buyers who are considering participating for the first time. A winner announcement post with a photo of the prize and the winner's first name creates concrete evidence that real people win. Skepticism about online raffles is high; visible, verifiable winner announcements address it directly.

Scarcity indicators. Display the remaining ticket count prominently on the raffle listing page. "Only 47 tickets left" creates genuine urgency in a way that countdown timers alone do not. When buyers can see the pool shrinking in real time, purchase decisions accelerate. RaffKing updates this count dynamically as tickets sell.

RaffKing — Online Raffle & Lottery Platform PHP lottery script with KYC, 39+ gateways, referral system, and subscription draws. $59 one-time.

Conclusion

Launching a raffle platform in 2022 is technically accessible — the hard parts are legal clarity and operational preparation, not the technology. Get the legal foundation right for your jurisdiction first, choose your draw model based on your revenue goals, and run through the pre-launch checklist rigorously before your first public ticket sale. With a platform like RaffKing handling the technical infrastructure, the path from decision to first draw is measured in days, not months.