• Resolved Websyflex

    (@photooseu)


    Today I updated to the latest version 2.10.2 and would like to do a refund in the backend but I get an 500 error in chrome console. I’m using multisafepay. I can wait for some minutes but still only an error and no refund.

    I did installed version 2.9.0 and everything was working as before, no problems refunding.

    Is there something wrong with the lastest version?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author tychesoftwares

    (@tychesoftwares)

    Hi @photooseu,

    I apologize for this inconvenience caused to you.

    I was able to replicate the issue at our end too. We have the issue fixed & I am sending you a patch file to address this issue.

    1. You can download the code patch from this link – https://www.dropbox.com/scl/fi/t6hboyodhzfz1tox6i0ml/class-alg-wc-order-fees.php?rlkey=538qu03v16yr4nz4vu9wnyuxt&dl=0
    2. After downloading the file, you can replace with the original file at /wp-content/plugins/checkout-fees-for-woocommerce/includes/ folder.
    3. The patch makes the necessary changes to fix the bug and has been tested thoroughly. But please make sure you take a backup before replacing the file.

    Please let me know if you have any questions or issues with the patch.

    Reüel

    (@pronamic_reuel)

    I ran into the same issue today when creating a refund with a gateway from the Pronamic Pay plugin and can confirm the suggested patch resolves the below fatal error when creating refunds:

    PHP Fatal error: Uncaught Error: Call to undefined method Automattic\WooCommerce\Admin\Overrides\OrderRefund::get_payment_method() in /wp-content/plugins/checkout-fees-for-woocommerce/includes/class-alg-wc-order-fees.php:114

    Would be nice to see this being released in a plugin update, so other users don’t need to search the support forums for known issues and manually patch the plugin ??

    Plugin Author tychesoftwares

    (@tychesoftwares)

    Hi @pronamic_reuel,

    Yes, I can confirm that the error you reported is the same throw when refunding the order. So, the fix I shared will work for you too.

    Yes, the plugin is in the testing phase and we will be releasing the plugin tomorrow.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Error with refund on version 2.10.2’ is closed to new replies.