WooCommerce SagePay Direct Payment Gateway
[resolved] WC v1.651 compatibilty (4 posts)

  1. joesmalley
    Posted 3 years ago #

    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.


  2. joesmalley
    Posted 3 years ago #

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

  3. 2Nilou
    Posted 3 years ago #

    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 !!!

    Nilou Achtland

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

  4. swicks
    Plugin Author

    Posted 3 years ago #

    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.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic


No tags yet.