1.6.0 — Dual wallet mode
New feature: Wallet mode setting
Choose how the wallet operates at WooCommerce → Wallets → Settings → Wallet mode:
Payment method (default, unchanged behavior)
- The wallet covers part of the order total after taxes are calculated
- Tax base and invoices remain unchanged — the wallet acts like any other payment gateway
- Suitable when the wallet balance represents real money deposited by the customer
Discount on taxable base (new)
- The wallet reduces the taxable base before taxes are calculated
- Both the base imponible and the resulting VAT/IVA are reduced on the invoice
- Suitable when the wallet balance is a reward or promotional credit (affiliate commissions, loyalty points) and is not actual money
Details
- Each order records which mode was active at checkout, so changing the setting does not affect existing orders
- In discount mode, the wallet appears as a negative taxable fee line on the order — WooCommerce recalculates taxes automatically
- Refund auto-credit now works in discount mode (the wallet portion is independent of the gateway payment)
- Checkout UI, order notes, admin fields, and email totals adapt their labels per mode
Fix
- Admin balance adjustments now correctly show "wp-simple-wallet" as source instead of "—"