'; _e('VC App Settings & Checkout requires the WooCommerce to be activated. Please install / Activate first.', 'VC App'); echo '

'; return; } if ( is_plugin_active( 'json-api/json-api.php' ) == false ) { echo '

'; _e('VC App Settings & Checkout requires the JSON API plugin to be activated. Please install / Activate first.', 'VC App'); echo '

'; return; } } function android_ecommerce_add_app_admin_menu() { add_menu_page( __( 'Android Ecommerce Banner Settings' ), __( 'Android Ecommerce Banner Settings' ), 'manage_options', 'android-banner-settings', 'android_ecommerce_app_banner_setting', '' , 64 ); } function android_ecommerce_add_app_admin_menu_activation() { add_menu_page( __( 'Android Ecommerce Activate' ), __( 'Android Ecommerce Activate' ), 'manage_options', 'android-banner-activate', 'android_ecommerce_activate', '' , 64 ); } function android_curl( $url ) { if ( empty( $url) ) return false; $ch = curl_init(); curl_setopt($ch, CURLOPT_URL, $url); curl_setopt($ch, CURLOPT_FRESH_CONNECT, true); curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); curl_setopt($ch, CURLOPT_VERBOSE, true); $result_cal = curl_exec($ch); curl_close($ch); return $result_cal; } function android_ecommerce_activate(){ ?>
window.location.href='admin.php?page=android-ecommerce'"; }elseif(isset($response['purchase_code']) && $response['purchase_count'] >= 1 && $response['buyer'] != "" ){ update_option('android_ecommerce_purchase_code' , $purchase_code); update_option('android_ecommerce_plugin_active' , 'active'); update_option('android_ecommerce_purchase_detail' , $response); echo ""; } } if(get_option('android_ecommerce_plugin_active') == "active" && get_option('android_ecommerce_purchase_code') != ""){ $android_ecommerce_purchase_code = get_option('android_ecommerce_purchase_code'); $android_ecommerce_plugin_active = get_option('android_ecommerce_plugin_active'); } ?>

Plugin Validation

.

">
Enter Product Purchase Code.
   Settings