RaffleWP adds a Site credit panel to classic cart and checkout hooks and compatible WooCommerce cart or checkout blocks. The Store Credit block or [rafflewp_store_credit] shortcode can render the same panel manually.
- Logged-in customers can quick-apply active credit; guests can enter a code and its linked email.
- The balance is debited once when the order is processed or reaches Processing or Completed.
- The discount applied to the order determines the debit, capped by the remaining balance.
- When the order becomes Cancelled, Failed or Refunded, recorded debits are restored once.
- Order notes record debit and restoration summaries.
WooCommerce calculates the actual coupon discount, including its interaction with taxes, other coupons and cart contents. RaffleWP tracks the amount WooCommerce records.
