Release v0.2.2
What's fixed in 0.2.2
"Store credit balance" is back on POS receipts under WCPOS 1.10
After updating to WCPOS 1.10.x, the — Store credit balance: $X.XX text vanished from the discount line on POS receipts. Gift cards still applied and balances still deducted; only the receipt label was missing.
WCPOS 1.10 moved the POS app onto the new wcpos/v2 REST namespace, so receipts are now fetched from /wcpos/v2/receipts/{order_id}. This extension only recognised receipt requests on /wcpos/v1/receipts/, so it never knew a receipt was being built and never appended the balance. It now matches any wcpos/v{n} receipts route, so both older and current WCPOS versions work.
No settings change is needed. Receipts for existing orders show the balance again as soon as this version is installed, because the POS app rebuilds the receipt each time it is viewed.
Balance label included in WCPOS 1.10 fiscal receipt snapshots
WCPOS 1.10 also captures an immutable "fiscal" receipt snapshot when an order's payment completes and serves it when a receipt is requested in fiscal mode. Snapshots are written once and never rebuilt, so the extension now makes the balance label available at capture time for POS orders. The POS app requests live receipts today, so this only matters if fiscal receipt mode is enabled later; orders paid before this update keep their existing snapshot.
Verified live against WCPOS Pro 1.10.2 (bundled free plugin 1.10.6) with StoreApps Smart Coupons 9.77.0, using the exact receipt request the 1.10 POS app sends.
Full changelog: https://github.com/wcpos/wcpos-storeapps-smart-coupons/blob/main/CHANGELOG.md