Ajax problem
-
Dear support,
Im using Custom Order Numbers for WooCommerce plugin, ane when is active with Flexible Invoices there is a problem Ajax.
After last update I see that error with opening invoice disapeared, but when you generate the invoice and you have set option turned on: Add number ordered to invoice in Woocommerce -> General options then in Comments on invoice ordered number is still 0.I can make few shop orders and everytime this value is 0 (no order number defined via Custom Order Numbers)
I have already reported to support who is responsible for that plugin, I had live call and after few days received answer:
—————–
We are providing you the solution to fix this issue and for that, you would need to make the 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
——————-
I do not if this solution solving ajax problem because after your update ajax disapeared but problem with 0 is still there.
I can attach some screenshots, but please let me know in which way?
Best Regards
Bart
- The topic ‘Ajax problem’ is closed to new replies.