Coupon Merchant
(Lineage II eCommerce - Donation Panel)
An easily configurable full-stack donation system tailored for server owners that generates unique coupons, which can be exchanged for in-game currency using the .coupon command.

Product Content
- Frontend website (fully customizable with CSS & config)
- Backend server (configurable with config)
- Gameserver Java coupon manager (.coupon voice command)
- Config files (for website & server configuration)
- Lifetime license key (bound to server's website domain)
- Step-by-step installation guide (PDF & Video)
- Lifetime support
Donation Process
- Player navigates to server's donation page (e.g. l2server.com/donate)
- Player selects a coupon to purchase
- Player is redirected to a secure payment page (powered by either Stripe or PayPal)
- Player pays by either PayPal or credit card
- If payment is successful, player is redirected to a success page where the generated coupon is displayed
- The generated coupon is saved as a txt file
- The generated coupon is inserted into the server's database
- The generated coupon is sent to player's email (the one used for payment)
- Player exchanges the coupon in server using the command '.coupon COUPON_CODE'
- Player receives the donation reward instantly (restart not needed)
Security
- Encrypted HTTPS communications using SSL/TLS
- IDOR Protection through storage of coupon prices & rewards on the server to prevent manipulation
- Anti-bruteforce measures & rate limits in both the backend & the game server
- Verification of Stripe & PayPal success webhooks' signatures to ensure authenticity
- Enforcement of CORS domain control to restrict unauthorized access to server resources
- XSS attack, MIME-sniffing, Clickjacking protection through automatic security HTTP headers
- SQL injection attack protection with parameterized queries
- Non-disclosure of sensitive payment info in the backend server, exclusively handled by Stripe & PayPal servers
- Secure storage of credentials & API keys in environment variables
Features
- Fully responsive website (desktop & mobile)
- Secure payment processing
- PayPal or Stripe method for receiving payments
- Auto-email coupon to client (both well-known e.g. gmail & custom email providers)
- Analytical info & error logging to a .log file
- Extremely simple configuration of both website & API server through a config file
- Server .coupon voice command with flooding protection to exchange coupon
Config File
- Website tab & panel title
- Payment currency
- Coupon price, name & image
- Reward item name, id & quantity
- Optional old quantity (bonus percentage auto calculated)
- Backend server port
- Owner payment receiving method (Stripe, PayPal)
- Stripe & PayPal API keys
- Database credentials
- Client coupon emailing enablement
- Email provider settings & credentials
- Email sender name, subject, html & logo
Screenshots



