*** Wonder Payment Changelog ***

2026-10-26 - version 1.0.10

* Added - "Payment Methods" filter in the setup wizard's Settings step: choose "Show only selected" or "Hide selected" to constrain which payment methods customers see on the payment link page.
* Added - Curated method list for the primary markets (Visa, Mastercard, American Express, Alipay, WeChat Pay, UnionPay, FPS, PayMe, Octopus); unrestricted by default.
* Updated - The filter works per acquirer type, explained in the wizard: e.g. selecting Visa exposes card entry, Google Pay and Samsung Pay together since they all settle through the Visa acquirer.
* Fixed - Invalid or empty selections fall back safely to no restriction, so a payment link can never end up with zero payment methods.

2026-10-10 - version 1.0.9

* Added - "Enable Gateway" switch in the setup wizard's Settings step (defaults to on): finishing the wizard now activates the gateway right away, instead of requiring a second trip to the gateway settings page that newer WooCommerce interfaces no longer expose.
* Fixed - Clicking the gateway's enable toggle on the payments list no longer opens the setup wizard; it simply enables or disables the gateway, as expected.
* Updated - The payments settings page now reloads automatically after saving in the wizard, so the gateway's enabled state is immediately reflected.

2026-10-08 - version 1.0.8

* Fixed - Sandbox payments run against the staging gateway again, where the sandbox business and its App ID live; 1.0.7 pointed them at the wrong domain and sandbox activation always failed.
* Fixed - Sandbox identity derivation and business cloning call the platform's sandbox endpoints again, so enabling sandbox mode no longer fails with "Invalid operation".
* Updated - Legacy staging credentials from versions up to 1.0.6 are migrated into the separate sandbox credential store instead of being discarded.
* Updated - Keeps all 1.0.7 credential-safety fixes: separate live/sandbox credential stores, webhook signature verification accepting both keys, wizard failure messages that keep the sandbox switch in sync with what was actually saved.
* Removed - Unused AJAX handlers left over from earlier versions (order debug data and log export endpoints that no UI ever called).

2026-10-08 - version 1.0.7

* Fixed - "Invalid credential" errors that could happen when sandbox mode was enabled; sandbox now runs as a test mode inside the production domain instead of switching to staging endpoints.
* Updated - Live and sandbox credentials are stored separately, so switching sandbox mode no longer resets or mismatches credentials.
* Updated - Webhook signature verification now accepts both live and sandbox webhook keys.
* Added - Live/sandbox mode switch and clearer in-wizard error messages in the setup wizard.
* Fixed - The setup wizard not showing the generated public key in the activation form.

2026-10-08 - version 1.0.6

* Added - Separate production and sandbox credentials; switching environments no longer wipes the active binding.
* Added - Environment switching now restores the stored credentials of the target environment, or guides the merchant to rebind via QR login.
* Updated - ReCreate now resets only the active environment and keeps the other environment's stored credentials.
* Added - Production and sandbox binding status shown in the setup wizard.
* Fixed - Credentials mismatch when switching the environment on first save, which caused payment requests to fail with HTTP 403.

2026-07-22 - version 1.0.5

* Fixed - Prevented the WooCommerce payment settings page from becoming unresponsive during initial Wonder Payment setup.

2026-05-21 - version 1.0.4

* Added - First public release for Woo Marketplace submission.
* Added - Accept Wonder Payments in WooCommerce with payment links, webhooks, order sync, and refunds.
* Added - Support merchant onboarding, webhook-based payment updates, manual order sync, and full or partial refunds.

2026-05-20 - version 1.0.3

* Fixed - WordPress text domain alignment for plugin review checks.
* Updated - Readme contributors and external services disclosure for WordPress.org review.
* Updated - Admin inline scripts and styles moved into enqueued assets.
* Fixed - Deprecated OpenSSL cleanup calls removed and webhook validation tightened.

2026-05-19 - version 1.0.2

* Added - Initial release.
