checkout / checkout-woocommerce-plugin

Checkout.com plugin for WooCommerce

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

PHP Notice: Undefined variable: is_mada_token

netzkollektiv opened this issue · comments

If error reporting is set to show notices (display_errors = 1) the plugin does break the checkout:

PHP Notice: Undefined variable: is_mada_token in /var/www/html/wp-content/plugins/woocommerce-gateway-checkout-com/includes/class-wc-gateway-checkout-com-cards.php on line 232

This leads to

if(is_mada == 1){ if(this.value === ' Notice: Undefined variable: is_mada_token in /var/www/html/wp-content/plugins/woocommerce-gateway-checkout-com/includes/class-wc-gateway-checkout-com-cards.php on line 232 '){

Hi @netzkollektiv,

Thank you for reporting this issue. Note that this is fixed already and available on our dev branch. We will soon release a new version of the plugin with some bug fix and improvements.

Closing the issue as its been fixed already