Release 1.10.57
Fix
- Defer direct SoftOne customer sync during WooCommerce checkout customer hooks.
- New-customer checkout no longer calls SoftOne immediately after Woo creates the WP user, before the WooCommerce order exists.
- The order export flow remains responsible for finding or creating the SoftOne customer from the finished order snapshot.
- Logs deferred checkout customer sync events as checkout_customer_sync_deferred in Order Export Logs.
Diagnosis
Live checkout diagnostics in 1.10.56 showed the new-customer AJAX request reached checkout_created_customer and then hung before checkout_customer_created or checkout_create_order, pointing at the synchronous customer sync hook.
Validation
- php -l includes/class-softone-customer-sync.php
- php -l includes/class-softone-checkout-diagnostics.php
- php -l includes/class-softone-woocommerce-integration.php
- php -l softone-woocommerce-integration.php
- php tests/order-export-readiness-test.php
- php tests/legacy-greek-json-decoding-test.php
- git diff --check