WordPress.org

Ready to get started?Download WordPress

Forums

WooCommerce - excelling eCommerce
[closed] Problem with a payment gateway in Woocommerce 2.1 (5 posts)

  1. ess_sebastian
    Member
    Posted 1 year ago #

    Hi everyone!

    I develop a plugin for a payment gateway in my country, but im having this message when im trying to go to the checkout in woocommerce 2.1:

    Fatal error: Class 'woocommerce_pagos' not found in /home/sbs1985a/public_html/vdc/wp-content/plugins/woocommerce/classes/class-wc-payment-gateways.php on line 45

    But it works great with the other woocommerce versions.

    My code is:

    See the code here

    Hope someone can help me!

    http://wordpress.org/extend/plugins/woocommerce/

  2. bheadrick
    Member
    Posted 1 year ago #

    I just had to update mine a couple days ago - it's not a whole lot of trouble to make it work.

    This gives you most of the info you need: http://wcdocs.woothemes.com/version-notes/woocommerce-1-6-6-2-0-plugin-and-theme-compatibility/

    but also, you need to extend WC_Payment_Gateway instead of woocommerce_payment_gateway

    I haven't yet tested whether this breaks it for previous versions, though.

  3. ess_sebastian
    Member
    Posted 1 year ago #

    Geat!!

    So, rigth now i dont have the Fatal Error. But, now i cant see it in the Payment Gateways tab in the woocommerce 2.1 configuration!!

    Almost done!! Please help!!

  4. ess_sebastian
    Member
    Posted 1 year ago #

    Guys, i will pay if someone can update my payment gateway to woocommerce 2.0

  5. esmi
    Forum Moderator
    Posted 1 year ago #

    Please try http://jobs.wordpress.net/ or http://directory.codepoet.com/

    This topic has now been closed as per the Forum Rules

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic