vyskoczilova / woocommerce-payforpayment-old

Setup individual charges for each payment method in woocommerce.
19 stars 15 forks source link

Fatal error: Class 'cod' not found #41

Open securious-off opened 8 years ago

securious-off commented 8 years ago

After Updating to Woocommerce 2.6.2, the following error occurred: Fatal error: Uncaught Error: Class 'cod' not found in ../public_html/wp-content/plugins/woocommerce-pay-for-payment/admin/class-pay4pay-admin.php:209

I fixed it changes the lines 209 and 210 to: //$class = new $currentsection(); $prefix = 'woocommerce'.$current_section;

But the option "Don’t charge this fee when free shipping is available." is still not working

GosserBox commented 8 years ago

Dear Jörn Lund, how long...

I want to thank you once more your excellent "Pay for Payment WooCommerce" plugin, and inform you of an error that has occurred to me whith an extra charge on "Pay to Delivery".

The error displayed when you click save, is: "Fatal error: Class 'cod' not found in/homepages/3/d218428555/htdocs/purpura/purpura_2.0/wp-content/plugins/woocommerce-pay-for-payment/admin/class-pay4pay-admin.php on line 209 "

I hope to hear from you.

A greeting.

vyskoczilova commented 7 years ago

@GosserBox @AlexandrosZ Fixed and added to the newest version of plugin: https://github.com/vyskoczilova/woocommerce-payforpayment