WordPress.org

Support

Support » Plugins and Hacks » [Resolved] [Plugin: WooCommerce SagePay Direct Payment Gateway] WC v1.651 compatibilty

[Resolved] [Plugin: WooCommerce SagePay Direct Payment Gateway] WC v1.651 compatibilty

  • joesmalley

    @joesmalley

    I got the following error when I upgraded WC to the latest version:

    Fatal error: Class ‘WC_Payment_Gateway’ not found

    This results in the whole site going down. I think the problem is, when you upgrade WC, the WC plugin is deactivated for a short while, then the SagePay plugin can’t find the class, and you get an error. I guess a way around this is to deactivate the SagePay plugin before you update WC, then reactivate. But this isn’t easy to remember.

    I think the SagePay plugin needs to check whether ‘WC_Payment_Gateway’ is a valid class to prevent this.

    http://wordpress.org/extend/plugins/sagepay-direct-for-woocommerce-payment-gateway/

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

    @joesmalley

    PS. I got around this by deleting the SagePay plugin from my plugins folder, activating WC plugin, then re-upload and activate SagePay.

    I tried the okpay 1st. It killed my site. I deleted it. I tried woocommerce. I don’t see it my wordpress site. I tried woocommerce sagepay, that killed my site. I have an account with okpay. Which one is going to work ? Or how do I see the one I did install (assuming it will let me use my Okpay ??? Please help !!!

    Smooches,
    Nilou Achtland

    Also, does it work with regular download or do I need to install a paid download that it will work with ?

    Plugin Author swicks

    @swicks

    OKpay is a different service – to use SagePay Direct you firstly need to have a SagePay account setup.

    The latest version now checks that woocommerce is already activated.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Resolved] [Plugin: WooCommerce SagePay Direct Payment Gateway] WC v1.651 compatibilty’ is closed to new replies.