Releases: GeorgeWebDevCy/softone-woocommerce-integration
Release list
Release 1.10.79
Fixes SoftOne customer creation when the literal C customer-code seed already exists by retrying without CODE so the tenant sequence can assign it.\n\nValidation:\n- php.exe -l softone-woocommerce-integration.php\n- php.exe -l includes/class-softone-woocommerce-integration.php\n- php.exe -l includes/class-softone-order-sync.php\n- php.exe -l includes/class-softone-customer-sync.php\n- php.exe -l tests/order-export-readiness-test.php\n- php.exe tests/order-export-readiness-test.php
Release 1.10.78
Keeps the PT Kids documented WEB + five digit customer code as the primary customer creation attempt, then retries with SoftOne's literal CODE=C seed only when the API returns the Greek form-C code validation error. This combines the documented customer payload shape with the live tenant validation response.\n\nValidated with PHP syntax checks, order export readiness regression, Greek JSON decoding regression, and JS syntax check for the storefront checkout e2e spec.
Release 1.10.77
Aligns generated SoftOne customer codes with the PT Kids interface documentation. New web customers now use the documented WEB + five digit format, such as WEB00047, while CUSEXTRA BOOL01 remains the explicit web-customer marker. Exact-code collision probing is preserved so unrelated getCustomers rows do not block creation.\n\nValidated with PHP syntax checks, order export readiness regression, Greek JSON decoding regression, and JS syntax check for the storefront checkout e2e spec.
Release 1.10.76
Adds a targeted SoftOne customer creation retry for tenants that reject generated customer codes with the Greek error 'Ο κωδικός πρέπει να είναι της μορφής C'. The first request still logs the generated code, then the retry sends CODE=C so SoftOne can allocate the tenant-specific numeric customer code. Applies to customer sync, registered checkout customer creation, and guest customer creation.\n\nValidated with PHP syntax checks, order export readiness regression, Greek JSON decoding regression, and JS syntax check for the storefront checkout e2e spec.
Release 1.10.75
Fixes SoftOne customer creation for new checkout customers by generating plain SoftOne C + five digit customer codes such as C00046 instead of the rejected reserved C8/C9 web ranges. The web-customer marker remains in CUSEXTRA BOOL01, and exact-code collision probing still avoids reusing unrelated SoftOne customer codes.\n\nValidated with PHP syntax checks, order export readiness regression, Greek JSON decoding regression, and JS syntax check for the storefront checkout e2e spec.
Release 1.10.74
Fixes
- Create SoftOne customers for new checkout orders even when getCustomers returns unrelated rows for a CODE or EMAIL filter.
- Treat a generated customer code as taken only when a returned SoftOne row actually has that exact CODE.
- Retry temporarily incomplete order exports instead of permanently skipping not-ready WooCommerce orders.
Validation
- php -l includes/class-softone-order-sync.php
- php -l includes/class-softone-customer-sync.php
- php -l softone-woocommerce-integration.php
- php tests/order-export-readiness-test.php
- php tests/legacy-greek-json-decoding-test.php
- node --check tests/e2e/order-export.spec.js
Release 1.10.73
Fixes
- Return the no-payment WooCommerce checkout success redirect at priority 2 on payment completion, immediately after the diagnostic breadcrumb.
- Avoid slow later payment-complete callbacks delaying the customer redirect while SoftOne export and WooCommerce emails remain backgrounded.
Validation
- php -l includes/class-softone-checkout-diagnostics.php
- php -l softone-woocommerce-integration.php
- php tests/order-export-readiness-test.php
- php tests/legacy-greek-json-decoding-test.php
Release 1.10.72
Fixes
- Return the no-payment WooCommerce checkout success redirect immediately after WooCommerce marks the order paid.
- Avoid relying on the duplicate empty-cart recovery path when late checkout callbacks make the original request feel stuck.
- Keep the existing SoftOne export and WooCommerce email deferrals in place so ERP work remains backgrounded.
Validation
- php -l includes/class-softone-checkout-diagnostics.php
- php -l softone-woocommerce-integration.php
- php tests/order-export-readiness-test.php
- php tests/legacy-greek-json-decoding-test.php
Release 1.10.71
Adds narrow checkout timing diagnostics after order creation: payment-complete, processing-status, and shutdown duration breadcrumbs. Keeps verbose hook snapshots disabled by default.
Release 1.10.70
Fixes checkout slowness by reducing synchronous checkout diagnostic logging and deferring WooCommerce order emails from checkout requests. SoftOne order export remains delayed in the background from 1.10.69.