The Raffle Ticket Generator creates the raffle tickets when the order is paid. In WooCommerce, the order status tells us whether an order has been paid. WooCommerce “processing” status tells the plugin that it is time to generate a ticket. Pending or on-hold tells us that the order has not been paid for. This is important because most of the support issues we see are regarding these order status. When an order is placed and the status is properly set to a “paid” status, the tickets will show up in the order confirmation and the email confirmation.
A Note About PayPal:
Many charities use PayPal for their donations and for fundraising. Using Paypal with the Raffle Ticket Generator has a few issues. First you need to check with PayPal and using it for online raffles. Paypal’s normal terms and conditions expressly prohibits using Paypal for charity fundraising raffles. Second, there are technical challenges with PayPal and WooCommerce. This is not an issue with our plugin, but most of the PayPal payment gateways return a “pending” order status. In WooCommerce, that means that the order has not been paid. As developers we have been torn about this and after polling hundreds of customers, the decision was made to only generate Raffle Tickets for PAID orders. So, when a PayPal order returns to WooCommerce as a “pending” status, we do not generate a ticket. The site or store admin, will need to manually change the order status to “processing” In some cases, a few PayPal plugins return a “pending” status and then some IPN info. You may need to switch the order to “on-hold” and then update the order, then to “processing” and then update the order to generate the tickets.
There are some automatic order status management plugins that will change the order status in bulk. While a great idea in concept, all of them that we have tested simply are changing the order status in the database. They do not trigger the order status hook. Since we look for the WooCommerce order status as a trigger, if the bulk status manager never issue the trigger, the Raffle Ticket Generator plugin is never told that order is now paid.
A Note About Payment Options:
We get a lot of questions regarding payment processors. We like and recommend Stripe. It works perfectly and is easy to setup. As for the currency or do we work with this processor or that processor. Our plugin is simply an add-on to WooCommerce. We generate based on the WooCommerce order status. The Raffle Ticket Generator plugin does not care about pricing or payment other than we have to know the order is paid.