Skip to content

Orders & Payments

Competition entries use WooCommerce orders and the store’s payment gateways. Configure and test the gateway’s order status transitions alongside the competition rules.

Status or event Competition behavior
Cart selection or reservation Temporary selection; not completed participation
Pending or on hold Inspect the order and reservations; do not assume payment or final entry processing
Processing or Completed Plugin processes competition participation and eligible instant prizes
Cancelled, Refunded, or Failed Registered handlers remove associated participation
Failed or Cancelled Additional failure cleanup releases reserved ticket handling
Successful payment retry while entries remain open Available tickets can be reserved again and participation restored

The plugin tracks processed entries to prevent normal repeated status notifications from adding the same participation again. Avoid manually inserting ticket records or forcing product counters to match an order.

Customers can retry payment while the competition remains open and the tickets are available. The plugin checks the numbers again before payment. If another customer has bought or reserved a number, the customer must choose another ticket.

Once a competition closes or reaches its end time, the plugin removes Pay from the customer’s order actions and blocks direct payment links. This also applies to sold-out competitions when early closing is enabled. If an order contains several products, one closed competition blocks payment for the whole order.

If DNA Payments Credit Card Controls is active, the plugin identifies competitions with Instant winner enabled for its card controls. This works with classic checkout, Checkout Blocks, and payment retries. Configure the card restrictions in DNA Payments Credit Card Controls and test them with your gateway.

Developers can find the saved order-item flag in Hooks & Integration.

Check the order ID, customer, product, quantity, ticket numbers, answer, and order notes. Then compare the competition entry history and instant win report.

Wrong-answer settings may change eligibility even when payment succeeded. Hidden ticket numbers may also be intentional until the order is paid.

Whole-order status handling and a partial line-item refund are different events. Verify the outcome for partial refunds and gateway-specific transitions instead of assuming that every refund path removes the same entries.