ess_sebastian
Member
Posted 3 months 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/
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.
ess_sebastian
Member
Posted 3 months 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!!
ess_sebastian
Member
Posted 3 months ago #
Guys, i will pay if someone can update my payment gateway to woocommerce 2.0