ID); $code = WC()->countries->get_base_country(); $cname = WC()->countries->countries[$code]; $installerUserName = $currentUser->user_login; $installerUserEmail = $currentUser->user_email; $currencyCode = get_woocommerce_currency(); $storeName = get_option('blogname'); $v='3.5'; if ( version_compare( WC_VERSION, $v, ">=" ) ) { $version = "v3"; }else{ $version = "v2"; } $var = "domain=$domain&store_url=$storeUrl&installer_user_name=$installerUserName&installer_user_email=$installerUserEmail¤cy_code=$currencyCode&country_name=$code&store_name=$storeName&api_version=$version"; $var = base64_encode($var); update_option( "minds_redirect_site", "false" ); wp_redirect(MINDS_INSTALL_URL . "?data=$var"); } // end if } $redirect = get_option('minds_redirect_site'); $nonce = wp_create_nonce("minds-nonce"); if($redirect == "true"){ if(get_option('minds_plugin_status') == 'on'){ ?>

99minds platform enables you to create coupons, gift cards, discounts, send out referrals, build loyalty programs, and location-based promotions for your customers.

This will connect 99minds with the plugin.

user_email; $string = "domain=" . $storeUrl . "&email=" . $installerUserEmail; $access = get_option('minds_access'); if($access){ $access = json_decode($access); $secret = $access->key_secret; $sig = hash_hmac('sha256', $string , $secret ); $string = MINDS_SETTINGS_URL . "?domain=" . $storeUrl . "&email=" . $installerUserEmail . "&hmac=" . $sig; if(isset($_POST["apply_giftcard_label"]) && (sanitize_text_field($_POST["apply_giftcard_label"]) != "")){ update_option('apply_giftcard_label', $_POST["apply_giftcard_label"]); } $apply_giftcard_label = get_option('apply_giftcard_label', 'Apply Giftcard'); ?>

99minds Admin Panel

Access your 99minds admin panel by clicking here.

Checkout Page Settings

Plugin is not activated properly