I am using https://woocommerce.com/products/xero/ and when I set a branding theme to link with my invoices generated with online orders, WooCommerce Order places successfully but Xero invoice is not created at Xero dashboard, it is because the Branding Theme ID is deleted from the Xero (by me) which was used at my WordPress site.
Expected behavior
If a branding theme is invalid or it no longer exists, invoice creation should not be prevented, instead, an API should be smart enough and use a default theme template.
This fix should not only be added in the SDK but it should be added in plain API calls so all users get benefit from it.
Describe the bug
I am using https://woocommerce.com/products/xero/ and when I set a branding theme to link with my invoices generated with online orders, WooCommerce Order places successfully but Xero invoice is not created at Xero dashboard, it is because the Branding Theme ID is deleted from the Xero (by me) which was used at my WordPress site.
Expected behavior If a branding theme is invalid or it no longer exists, invoice creation should not be prevented, instead, an API should be smart enough and use a default theme template.
This fix should not only be added in the SDK but it should be added in plain API calls so all users get benefit from it.