WordPress.org

Ready to get started?Download WordPress

Forums

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

  1. joesmalley
    Member
    Posted 1 year 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.

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

  2. joesmalley
    Member
    Posted 1 year 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
    Member
    Posted 1 year 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 !!!

    Smooches,
    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
    Member
    Plugin Author

    Posted 1 year 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

Tags

No tags yet.