Hi Bart,
Would you please share the plugin page URL of WP desk plugin? And do you still face AJAX problems in that plugin?
And can you show me the setup through the screenshots you have done in our plugin and WP desk plugin?
Hi,
Thx for reply. Yes, problem still exist.
When Im using your order number plugin with wp desk invoice plugin if im right remember till 5.5.2 versin there is no ajax problem, if higher there is a problem with ajax
Plugin page URL of WP desk plugin:
https://pl.ww.wp.xz.cn/plugins/flexible-invoices/
https://flexibleinvoices.com/
How can I upload screenshots?
Hi @bartkal,
You can create the ticket here and upload the screenshots. Also, please share the screenshot of the AJAX issue.
While testing WordPress 5.9 with my WooCommerce site, I have experienced the numbers aren’t changed in my case, too. However, if I set an “Order number custom prefix” in the plugin settings, it starts to behave as expected. Could it be your case, @bartkal?
Hi @melebius,
Do you mean that you’re not getting custom order numbers without adding prefix? What’s the setup you have in the plugin?
@bartkal had an issue coming due to “Flexible Invoice” plugin which has been solved by making changes in the file BaseDecorator.php ( located at: wp-content\plugins\flexible-invoices\vendor_prefixed\wpdesk\flexible-invoices-core\src\Invoices\Decorators\ )
On line number 409, there currently the code is
public function get_order_number() : int
which needs to be changed to this :
public function get_order_number() : string
@tychesoftwares Sorry for the delay, I am not actively working on the project currently.
Do you mean that you’re not getting custom order numbers without adding prefix?
Yes, exactly.
This is my setup:
WooCommerce Custom Order Numbers: Enable
Order numbers counter: Sequential
Sequential: Reset counter: Disabled
Order number custom prefix: 1 or empty (this makes the difference)
Enable order tracking by custom number: Enable
Hide … for roles (2 fields): empty
I am using the free version, the fields I have not mentioned are disabled.
Hi @melebius,
Order number custom prefix: 1 or empty (this makes the difference)
Didn’t you set anything in the custom prefix? Can you please create the ticket on our support tool and show me screenshots of the issue you’re referring to?