Woo-Rewards 0.1.8 — SANDBOX TEST UPDATE

- Adjust horizontal padding only inside Woo-Rewards checkout panels, for both
  Classic and Blocks checkout. Use an explicit 16px gutter at left and right
  to resist theme/WooCommerce overrides.
- Existing reward math, checkout controls/scripts, wallet ledger, refund logic,
  admin/customer reports, messaging, and software update code are unchanged.
- Woo-Rewards Server v0.1.2 does not require an update.
- Verify on the sandbox checkout at mobile and desktop widths.

Woo-Rewards 0.1.7 — SANDBOX TEST UPDATE

CHANGES IN v0.1.7
- Admin Rewards Customer Reports shows Reward Activity reasons and amounts below purchase history, 8 entries per page.
- Allows an authenticated server-initiated Refresh connection from Woo-Rewards Server v0.1.2.
- Successful remote refresh checks the existing server manifest, updates the normal last-contact timestamp,
  and restarts the 6-hour WP-Cron schedule from that moment.
- Existing reward wallets, checkout, refunds, Stripe checkout, order reporting and software updater remain unchanged.
- The local rewards program never depends on the server being reachable.

INSTALL ORDER: Update Woo-Rewards Server to v0.1.2, then Woo-Rewards customer to v0.1.7.
If the server's initial refresh attempt fails, visit Other Software on the customer site and click
Check for updates once to acquire the new authenticated refresh key, then retry from the server.
No user shopping records or rewards balances are sent to the central server.

Woo-Rewards 0.1.6 — TEST UPDATE

INSTALL ON A SEPARATE WOOCOMMERCE TEST STORE (e.g. sliceofpi.shop demo site).
Woo-Rewards Server v0.1.1 remains compatible; no server update is required. Do not uninstall/modify MarketSync Pro.

CHANGED IN v0.1.6
- Show existing wallet entry reasons, including manual adjustment reasons, in customer Reward Activity.
- Display a reminder by the admin adjustment form explaining that reasons are customer-visible.
- No wallet logic, checkout, server check, update mechanism, or database schema changes.

FEATURES IN THIS BUILD
- Completely free, no license and no Stripe billing.
- Configurable reward rate (2% default, in 0.25% increments) and checkout redemption cap (50% default).
- Logged-in customers earn rewards only after WooCommerce marks an order Completed.
- Earn rewards on line-item subtotal after coupons and rewards, not on tax or shipping.
- Apply up to allowed rewards at checkout or save rewards for later.
- My Account > My Rewards: balance and transaction history.
- Reward figures displayed on order details, admin order details, order confirmation emails and My Orders.
- Refunds and cancellations adjust both redeemed and earned rewards with audit records.
- Connection to Woo-Rewards Server: initial registration, 6-hour checks, manual check,
  admin-only messages, software library, admin-approved WP plugin updates with SHA-256 verification.
- No shopper information sent to Woo-Rewards Server.

INSTALL AND FIRST TEST
1. BACK UP store files and database; use a staging/demo WooCommerce store, not live payments.
2. WordPress > Plugins > Add New > Upload > woo-rewards-0.1.6.zip > Install/Activate.
3. WooCommerce > Woo-Rewards: confirm 2.00% earning and 50.00% maximum redemption.
4. WooCommerce > Other Software: the plugin registers and checks the server on activation.
   Click Check for updates, then refresh Woo-Rewards Server > Installations on marketsyncpro.com.
5. Create a customer account and a $100 test order with $0 tax and shipping using a testing/manual
   payment method. Mark order Completed. Expected earned reward: $2.00.
6. Log in as that customer. My Account > My Rewards must show $2.00.
7. Create a second $100 test order. Apply $2.00 rewards during checkout. The amount paid
   toward merchandise is $98.00. On Completed, new earned reward should be $1.96.
8. Verify order detail, completed-order email and admin order display both earned and redeemed figures.
9. On the server, publish an Announcement. Click Check for updates on customer site; check WooCommerce
   admin screens for message and dismiss it.
10. OPTIONAL: upload a newer Woo-Rewards ZIP to server software library as Update. On customer site
    click Check Server Now; then visit Plugins to approve/install, with checksum verification.
11. Test partial refunds, canceled orders, a second checkout in a separate session, and Blocks checkout.

IMPORTANT FOR TESTING
- My Rewards endpoint requires pretty permalinks; if it returns 404, resave WordPress > Settings > Permalinks.
- WooCommerce checkout must have logged-in customers to apply rewards.
- WP-Cron requires site traffic to execute six-hour checks; manual checks are provided.
- If marketsyncpro.com is offline, local rewards continue operating normally.
- For refund clawbacks where a customer has already spent credited rewards, spendable wallet
  balance displays zero and future credits first offset that deficit.
- Product exclusion, promotion multipliers, welcome bonuses, aggregate reports, and centralized
  email campaigns are roadmap items, NOT included in this first test build.
- v0.1.2 uses WooCommerce Blocks official SlotFill + extensionCartUpdate instead of inserting HTML into render_block. Live Stripe Sandbox, Checkout Blocks, and HPOS integration still need confirmation.
- Do not uninstall the plugin on a store with rewards balances without making a database backup.

CHANGES IN v0.1.1
- Hide internal server URL, installation ID and technical registration settings from customer administrator UI.
- On activation, register/check immediately. Check approximately every six hours through WordPress cron.
- Other Software uses MarketSync-style image, description, install button and release notes cards.
- Software image and description are supplied by the Woo-Rewards Server v0.1.1 library.

CHANGES IN v0.1.2
- Replace direct Checkout/Cart Block HTML injection with WooCommerce's supported IntegrationInterface and ExperimentalOrderMeta SlotFill; preserve classic checkout support.
- Keep server notices cached and display across WordPress admin pages for authorized administrators, rather than only the Other Software screen.
- Continue automatic check approximately every six hours through WP-Cron, and check opportunistically when an authorized administrator visits after the interval has elapsed. Network failures retain cached notices and never disable local rewards.
- Server plugin remains at v0.1.1, with no server-side code changes needed for these fixes.
- If WP-Cron is disabled or a site receives no traffic and no administrator visits, use a host-configured real cron runner for reliable intervals.

TEST ORDER
1. Back up site first; install v0.1.2 over existing v0.1.1 using Replace current with uploaded. Do not delete v0.1.1 because that can delete plugin files and associated state on some setups.
2. Stripe test mode enabled: verify the Checkout Block fully renders without gray placeholders. Verify Stripe payment UI can load.
3. Log in as a test customer. Complete a $100 test purchase; mark Completed. Verify $2.00 earned at default 2%.
4. Next eligible $100 checkout should permit redeeming $2.00, with new rewards of $1.96 on completion.
5. Server: publish an announcement. Customer: click Check for updates and navigate to Dashboard or Plugins. Verify it appears and dismisses; then test six-hour auto polling (WP-Cron may be traffic-triggered).
6. Block access to marketsyncpro.com temporarily: verify rewards and checkout still work; then restore network and check server messages again.

CHANGES IN v0.1.3
- Improve My Rewards balance display with responsive summary cards and a clear note explaining
  that earned rewards are credited only when the order reaches Completed.
- Show all reward activity with 8 entries per page, newest first, with numbered navigation,
  Previous/Next controls, and an empty-state message.
- Improve checkout rewards panel layout on both classic and Checkout Blocks, without touching
  rewards calculations, Store API interactions, or checkout behavior.
- Prevent My Orders action buttons from breaking the word View on narrow table layouts.
- No server-plugin changes. Woo-Rewards Server v0.1.1 remains the required compatible build.

REGRESSION CHECKS FOR v0.1.3
- Keep reward earning and redemption amounts identical to v0.1.2 after Completed.
- Keep WordPress native plugin updates, 6-hour polling, notices and offline behavior unchanged.
- Make 9+ ledger entries, browse pages 1/2 and confirm newest-first order. Confirm that
  balances and totals stay the same on every page and that pagination never discards history.
- Test both WooCommerce Classic Checkout and Checkout Blocks in Stripe test mode.
- Confirm order emails and order-history reward figures are unchanged.


CHANGES IN v0.1.4
- Add a separate read-only Customer Purchase History report module.
- Click customer email in WooCommerce > Woo-Rewards > Customer Wallets to open report.
- Lifetime order counts, pre-reward paid order value, customer-paid net order totals, refunds, earned/redeemed/available rewards.
- View purchased products, quantities, item prices, totals, discounts, taxes, shipping, payments and refunds on each order.
- Filter screen by date, payment method, order status; 10 orders per page.
- Download complete purchase-history CSV (one row per purchased item) or complete rewards ledger CSV.
- WordPress WooCommerce order CRUD API used for HPOS/legacy order storage.
- All checkout, wallet earning/redemption, refunds, messages, and update distribution code preserved.
- No server plugin update required; keep server v0.1.1.

TEST v0.1.4
1. Back up site and database. Upload v0.1.4 ZIP through Woo-Rewards Server library as an UPDATE.
2. Update customer plugin through WordPress Plugins.
3. WooCommerce > Woo-Rewards > Customer Wallets: click customer email.
4. Confirm #463 and #464 order details and lifetime totals; try filter and CSV downloads.
5. Confirm rewards remain $1.00 and checkout/Stripe Sandbox still load and work.
6. Test normal reward redemption and full server update check; do not remove working plugin data.

CHANGES IN v0.1.5
- Place the WooCommerce > Rewards Customer Reports submenu directly below Woo-Rewards and above Other Software.
- Report URL, permissions, customer data, purchase history, CSV exports and wallet balances are unchanged.
- No change to earning, redemption, checkout, messaging, server checks or the software update process.
- Woo-Rewards Server v0.1.1 remains compatible; no server update needed.

TEST v0.1.5
1. Upload this ZIP as a Woo-Rewards Update to Woo-Rewards Server, version 0.1.5.
2. From the customer Plugins screen, approve the update.
3. Expand WooCommerce sidebar: Woo-Rewards > Rewards Customer Reports > Other Software.
4. Click customer report, check existing order/CSV data, and confirm store checkout still works.
