• Resolved hslix

    (@hslix)


    I had absolutely no problem for generating PDF invoices, neither for packing slips. Problem was : if I would try to generate a credit Note PDF after refund, a bizarre page on my navigator would open, and no PDF generated.

    I contacted the support, and Bruno very nicely – and quickly ! – found the reason of this issue :

    “I did some initial analysis, and it seems that the woocommerce-square plugin is causing this issue. I even found the code that is problematic:
    File includes\Handlers\Order.php:
    public function filter_order_item_totals( $total_rows, $order ) { In this function, they are calling the get_payment_methodon the $order object, and they are not checking if the $orderis of Order type. In this case, it is of type OrderRefund, and that is the problem. I would suggest that you try to deactivate the woocommerce-square plugin to see if it works that way, and if you are using it, try to contact their developers to see if they can resolve this issue.”

    I tried this immediately, desactivated the woocommerce-square plugin for 1 minute and tried to generate a credit Note PDF : everthing was fine then !

    Thank you very much Bruno, I am now going to contact this plugin admin to fix this definitively !

    • This topic was modified 1 month, 3 weeks ago by hslix.
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.