• Resolved justinthomasonline

    (@justinthomasonline)


    Hi Team,

    I was using the function WC()->payment_gateways->payment_gateways()[‘payment_id’] and it was working fine. Later we have added new plugin which is woocommerce-gateway-paypal-express-checkout.(https://wordpress.org/plugins/woocommerce-gateway-paypal-express-checkout/). Then we are experiencing an error. Call to a member function get_base_country() on null

    Fatal error: Uncaught Error: Call to a member function get_base_country() on null in C:\wamp64\www\slimcd\wp-content\plugins\woocommerce-gateway-paypal-express-checkout\includes\class-wc-gateway-ppec-ips-handler.php on line 102

    Someone kindly advice me, how to resolve this

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘getting error while using payment_gateways()’ is closed to new replies.