• Resolved mmapolloweb

    (@mmapolloweb)


    Hi,

    I am getting error like below when trying to run PayU plugin (woocomerce) and “Price Based on Country for WooCommerce” plugin (which is officially supported by Woocommerce) togheter.

    Fatal error: Uncaught Error: Call to a member function get_currency_codes() on null in XXX_PATH/wp-content/plugins/woo-payu-payment-gateway/includes/class-woocommerce-payu.php:94 Stack trace: #0 XXX_PATH/wp-content/plugins/woo-payu-payment-gateway/includes/class-woocommerce-payu.php(26): WC_Gateway_PayU->init_form_fields() #1 XXX_PATH/wp-content/plugins/woocommerce-multilingual/inc/class-wcml-wc-gateways.php(48): WC_Gateway_PayU->__construct() #2 XXX_PATH/wp-includes/class-wp-hook.php(286): WCML_WC_Gateways->loaded_woocommerce_payment_gateways(Array) #3 XXX_PATH/wp-includes/plugin.php(208): WP_Hook->apply_filters(Array, Array) #4 XXX_PATH/wp-content/plugins/woocommerce/includes/class-wc-payment-gateways.php(85): apply_filters('woocommerce_pay...', Array) #5 /home/ewabis/domains/cscmpeur in XXX_PATH/wp-content/plugins/woo-payu-payment-gateway/includes/class-woocommerce-payu.php on line 94

    The site has installed plugins like:
    – woocommerce
    – – – Checkout One Page
    – – – Price based on Country (basic)
    – – – Custom Checkout Fields
    – WPML
    – – – WooCommerce Multilingual
    – PayU gateway

    The PayU gateway plugin for working with WPML need to be run with WooCommerce Multilingual and with set on Multi-Currency which is substitute with “Price based on Country” plugin – and that plugin needs to turn off Multi-Currency for proper working.

    It will be a solution which makes PayU compatible with “Price based on Country” plugin or there is other option to get opportunity to set manually prices for different currencies for each product?

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Compatibility with Price Based on Country for WooCommerce’ is closed to new replies.