• Resolved Pagecode

    (@pagecode)


    Hi, if you have the plugin enabled and try to refund to any payment gateway or Terawallet, it spins constantly, its broken basically. If you disable the plugin it works fine to refund Terawallet

    I think your plugin is intercepting refunds on orders in the admin order page If I comment out

    add_action(‘woocommerce_create_refund’, array(CLASS, ‘doRefund’));

    then it works, do something in your doRefund function is intercepting Woocommerce refunds that are not using your Cashflows payment gateway, I think you should check the order has your payment method before intercepting

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter Pagecode

    (@pagecode)

    Looks like you are trying to hit the Cashflows API for every order, even if it isnt a Cashflows payment order

    Plugin Author Cashflows

    (@cashflowsgateway2021)

    Hello Pagecode,

    Thanks for the report, we’ll have a look into the plug-in and see what’s going wrong.
    If we can reproduce the issue, we’ll be able to fix it asap.

    However, if we cant; is there a possibility that we could view this on your webshop?

    Thanks in advance,

    Martijn

    Thread Starter Pagecode

    (@pagecode)

    Yes thats fine, let me know

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Refund Option broken’ is closed to new replies.