We had couple of cases when, during access to ticket system, users might get 401 API forbidden error message. Here is quick explanation of what is really happening here and what is causing this error. Since our support system is integrated via CodeCanyon / Envato API to check and verify your purchase / licence you need to approve API access for your account. This is normally done during registration process (when you open our support page on this URL https://wpgenie.org/support without being logged in). When this process is skipped, support system cannot access data via API for your account and system displays that error.
To resolve that problem log out from Envato / CodeCanyon and then go to https://wpgenie.org/support click login and allow API access. Once this is done and you have valid purchase you will be able to open ticket.
Have you ever purchased lottery or entered lucky draw? Every now and then there is occasion to reward your customers with prizes or give opportunity to enter the draw for an item (with huge discount or for just a fraction of real price). E-store owners who run their webshops on WooCommerce can improve their user experience, boost sales and get more traffic with thousands of plugins and practically with couple of clicks add new premium feature to their store. Our WooCommerce Lottery plugin does just that – implements lotteries in WooCommerce based store. We will describe here what do you need to setup lottery in your webshop which runs on Woo.
Here we will assume you allready have working WordPress website hosted somewhere (if not contact us for help with hosting), domain name and WooCommerce installed with payment processor set up. Other requirements are true cronjobs (just ask your host support to setup cronjobs needed) if you want to have reliable way to send email notifications and end lotteries on time.
Now to get your first lottery online you need to follow couple of simple steps:
you need to purchase and download WooCommerce Lottery plugin here
after plugin activation you will need to go to Producst -> Add new product to setup your first lottery on your website. This part should look like screenshot below. Here you populate details like descriptions and prize for your lottery / competition / draw, min and max number of tickets, max tickets per user, number of winners, price, start / end date, image etc.
Once you publish your first lottery your customers will be able to participate in the draw after they purchase and complete order for ticket(s). On this link here you can see our demo website example and how lottery will look like for customer (this depends on your WordPress theme ofcourse). This part is also customizable via WooCommerce templates and theme’s custom CSS.
So your lottery is running till the date you set in its details. Right after end date and if you reached your min tickets limit plugin will draw winner or winners using PHP’s mt_rand function which provides solid randomization and gives everyone equal chance for winning. Winner(s) will get email notification about winning the prize, others will get better luck next time notification while site owner gets notification about finished or failed lottery. Here site owner usually also contacts winner to define details and deliver the prize.
Some owners want ticket pick or question / answer feature (or manually choose winners when you use 3rd party number generator) which can be added via WooCommerce Lottery Pick Ticket Number Modification (here is how pick number mod looks like). Others would like to end lottery and draw prize as soon as all tickets are sold, change countdown format or disable mixing lotteries with normal products – this is just a matter of changing a setting in Lottery Settings (there are plenty of settings which allows quick customization).
If you installed Lottery plugin and have some questions or encountered a problem which you cannot solve yourself there is always documentation which covers all the details and support which will help you with issues. In case you have a question drop us mail here.