Release v0.2.0
What's new in 0.2.0
Gift cards now work at the POS checkout
StoreApps store-credit (gift card) coupons were accepted at the WCPOS checkout but never changed the amount due. StoreApps only applies smart_coupon credit during admin order edits, WooCommerce REST requests, and block-checkout orders — the POS checkout coupon form is none of those. The extension now reports a REST context while an unpaid POS order carrying a store-credit coupon recalculates totals, so StoreApps' own discount logic runs and the gift card reduces the total due. Verified against WCPOS Pro 1.9.9 and 1.10.1 with StoreApps Smart Coupons 9.77.0, in both store-credit tax modes.
Fixes
- Removing a gift card at the POS checkout now also removes its
smart_coupons_contributionentry, so a removed card is no longer deducted when the order is paid. - Sub-cent float residue on tax-inclusive orders is no longer recorded as store-credit usage (previously could log phantom contributions of fractions of a cent).
Full changelog: https://github.com/wcpos/wcpos-storeapps-smart-coupons/blob/main/CHANGELOG.md