Support » Plugin: Business Worldpay Gateway for Woocommerce » Fatal error: Call to a member function get_total()

  • Resolved mttd

    (@mttd)


    Hi,

    I’m running some tests on a staging site and have come across the following error. This was thrown when WorldPay was sending me back to the post payment screens.

    Would anyone be able to shed some light on what’s causing this please?

    Fatal error: Call to a member function get_total() on a non-object in xxxxxxx/wp-content/plugins/business-worldpay-gateway-for-woocommerce/admin/class-mds-worldpay-gateway.php on line 205

    Thanks in advance,
    Tom

    • This topic was modified 4 years, 4 months ago by mttd.
Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author mdsilviu

    (@mdsilviu)

    Hi,

    You might be using some kind of plugin that alters the order id after it’s sent to worldpay so when you get the response back the ids don’t correspond. Let me know the plugin and in a future release i will add a filter if that is possible.

    Thread Starter mttd

    (@mttd)

    Thanks for the reply, I came to the same conclusion! The plugin is WC Sequential Order Numbers

    I’ve disabled for now, but a fix would be amazing!
    Thanks again,
    Tom

    Plugin Author mdsilviu

    (@mdsilviu)

    I’ve made the updates and the plugin should work now, make a test and let me know if you still get any errors.

    Thread Starter mttd

    (@mttd)

    That’s great thanks for doing this. Will take a look on our staging site and let you know.

    Thanks,
    Tom

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Fatal error: Call to a member function get_total()’ is closed to new replies.