*** Dodo Payments for WooCommerce Changelog ***

2026-05-27 - version 0.4.1
* Fix: trim checkout session billing/customer fields and send blanks as null so hosted checkout can collect missing values.

2026-05-19 - version 0.4.0
* Migration: Switched payment and subscription creation from the deprecated `POST /payments` and `POST /subscriptions` endpoints to the unified Checkout Sessions API (`POST /checkouts`).
* Enhancement: WooCommerce order id (and subscription id, when applicable) are now passed as Dodo Payments checkout-session metadata so webhooks can resolve the originating order even before the first payment id is known.
* Enhancement: Webhook handlers now lazily create the local order/subscription mapping from the metadata on the first inbound event, since checkout sessions no longer return `payment_id`/`subscription_id` at creation time.

2026-04-17 - version 0.3.5
* Fix: truncate product names to 100 characters to prevent API validation errors

2025-07-09 - version 0.3.1
* Fix: use plain permalink structure for webhook url which is more widely supported

2025-06-18 - version 0.3.0
* Feature: Add comprehensive subscription support
* Feature: Subscription product management and synchronization
* Feature: Subscription lifecycle management (cancel, suspend, reactivate)
* Feature: Webhook handling for subscription events and renewals
* Feature: Database mapping for WooCommerce and Dodo subscription IDs
* Feature: API integration for subscription operations
* Enhancement: Improved product synchronization for subscription vs regular products
* Enhancement: Enhanced webhook processing with dedicated handlers

2025-05-19 - version 0.2.0
* Feature: Add support for coupon codes(Fixed percentage type only).
