Skip to content

Release v0.2.1

Choose a tag to compare

@github-actions github-actions released this 26 Aug 19:29
· 2 commits to main since this release
e7c0df1

What's fixed in 0.2.1

Gift-card balances now deduct when POS orders are paid

Follow-up to 0.2.0: gift cards discounted the total at the POS checkout, but the amount used was not subtracted from the card's balance after payment. StoreApps only deducts balances on pending/failed → paid status transitions, and its third-party status handler ignores transitions into core statuses — so WCPOS orders moving from pos-open/pos-partial to processing/completed never triggered the deduction. The extension now invokes StoreApps' own (idempotent) balance deduction for those transitions, and the order's audit note records the post-deduction balance.

Verified against WCPOS Pro 1.9.9 and 1.10.1 with StoreApps Smart Coupons 9.77.0: a $10 redemption on a $125 gift card leaves $115, with no double-deduction on repeated status events.

Full changelog: https://github.com/wcpos/wcpos-storeapps-smart-coupons/blob/main/CHANGELOG.md