1.3.4
Fixed: On the Checkout block, with "Use same address for billing" ticked, the phone number was saved to the delivery address only. Stores that require a phone turned the order away with…
Fixed: On the Checkout block, with “Use same address for billing” ticked, the phone number was saved to the delivery address only. Stores that require a phone turned the order away with “There was a problem with the provided billing address: Phone is required”, and when a customer changed their number, the billing address kept the old one. The number is now copied to billing too, as WooCommerce’s own form does.
New: A safety net on the server. If the billing phone still arrives empty at checkout and the billing name and address match the delivery ones, the delivery phone is used for billing. Each time this happens it’s logged under WooCommerce → Status → Logs (source: smart-phone-field). A billing phone the customer typed is never replaced, and a separate billing address never gets the recipient’s number. Developers can switch this off with the nahnu_spf_fill_billing_phone filter.
Fixed: The number check accepted lengths that only short service numbers can have, so a mobile number missing a digit or two could pass (for example in Australia). It now checks lengths against mobile and landline numbers on the classic checkout, the Checkout block, the phone field shortcode and the admin order screen. Developers can change which kinds of number are accepted with the nahnu_spf_validation_number_types filter.
Changed: Removed the last traces of the old SPF License menu item (the License tab replaced it in 1.1.1).
