Welcome
We have sent the verification OTP Code on
02:00
Resend OTP
|
Edit my number
Or,Give us a call to verify your mobile:
+91-8000 422 133
" + repo.state + "
"; return markup; } function cityformatRepoSelection(repo) { return repo.text; } $(".type_of_firm_pop").select2({ placeholder: "Select type of firm", minimumResultsForSearch: Infinity, language: { inputTooShort: function() { return 'start typing to choose'; } }, allowClear: true, dropdownAutoWidth: true }); }); function setTimer(min) { var fiveMinutes = 60 * min, display = $('#time'); startTimer(fiveMinutes, display); } function addattrfunction(repo) { $(repo.element).attr('country_id', repo.country_id); return repo.text; } function countryformatRepo(repo) { if (repo.loading) { return repo.text; } var markup = repo.country; return markup; } function initTimer(min) { var fiveMinutes = 60 * min, display = $('#time'); startTimer(fiveMinutes, display); } $("#resend_otp").click(function() { $("#otp_mesg").hide(); $("#otp_clock").show(); clearInterval(set_timer); setTimer(2); }); function preMobileVarification(mobile_number,location_id,location_text,country_text) { old_num = mobile_number; $("#user_selection").hide(); $("#ppimodel").modal('hide'); $("#popupmodel").modal('hide'); $('#popupmodelotpnew').modal('show'); $("#mobile_number_otp").val(mobile_number); $("#current_mobilenum").text($("#mobile_number_otp").val()); //$("#country_code_otp").val(original_country_code); //var country_text = $('#nl-form #country_list option:selected').text(); if(country_text == ''){ var country_text = 'India'; } if(country_text != 'India'){ $("#p_loc_div").hide(); } else { $("#p_loc_div").show(); } $('#country_code_otp').append(''); $('#basicaddon2').css('visibility', 'visible'); $(".otp_popup_header1").text("Complete your free account setup"); $(".otp_popup_header_small").text("We are glad to see you here!"); if($('select[name=country_code_otp]').val()){ $('#basicaddon2').html("+" + $('select[name=country_code_otp]').val().split("|")[1]); }else if($('select[name=country_code]').val()){ $('#basicaddon2').html("+" + $('select[name=country_code]').val().split("|")[1]); } $('#pop_location').append(''); setTimer(2); } function inactiveUserMobileVarification(country_code, mobile_number,original_country_code) { old_num = mobile_number; // / var country_string=original_country_code+"|"+country_code; $("#user_selection").hide(); // $("#p_loc_div").hide(); $('#popupmodelotpnew').modal('show'); $("#mobile_number_otp").val(mobile_number); $("#current_mobilenum").text($("#mobile_number_otp").val()); // $("#country_code_otp").val(original_country_code); $("#country_code_otp").val("IN|91|102"); $('#basicaddon2').css('visibility', 'visible'); $('#basicaddon2').html("+" + country_code); setTimer(2); } function apiMobileVerification(response) { var checked_selection = $("input[name='reg_type_sel']:checked").val(); old_num = 0; if (checked_selection == '' || checked_selection == undefined) { $("#user_selection").show(); $("#type_selection").hide(); } else { $("#user_selection").hide(); $("#type_selection").show(); set_checkboxinpopup(checked_selection); } if(response.user_name && response.user_name !=""){ fullname = response.user_name.split(" "); }else{ fullname =""; fullname[0]=""; fullname[1]=""; } if(response.source && response.source=="Whatsapp"){ $('#waba_optin_status').prop('checked', true); // $('#p_loc_div').show(); $(".wa-login-block").show(); $("#country_select_div").hide(); $(".wa-update-block").hide(); } if(response.country_code && response.country_code !="91"){ $("#p_loc_div").hide(); } if(response.mobile_number && response.mobile_number !=''){ $("#mobile_number_otp").val(response.mobile_number); } $("#otp_block").hide(); $("#editmynumber").show(); $('#popupmodelotpnew').modal('show'); $("#ppimodel").modal('hide'); $("#popupmodel").modal('hide'); $("#footer_call").hide(); $("#api_user_name").html(response.user_name); $("#country_code_otp").val("IN|91|102"); $('#basicaddon2').css('visibility', 'visible'); $('#basicaddon2').html("+" + $('select[name=country_code_otp]').val().split("|")[1]); if(response.user_name && response.user_name !=""){ $(".otp_popup_header1").text("Welcome, "+response.user_name); }else if(fullname[0] && fullname[0] !=""){ $(".otp_popup_header1").text("Welcome, "+fullname[0]); }else{ $(".otp_popup_header1").text("Welcome"); } // $(".otp_popup_header_small").text(response.user_email); $(".otp_popup_header2").text( "Start your journey with IndiaBiz to access and explore business opportunities, articles, business valuation & more" ); if(fullname[0] && fullname[0] !='' && fullname[0] !=null){ $("#fname").val(fullname[0]); } if(fullname[1] && fullname[1]!='' && fullname[1] !=null){ $("#lname").val(fullname[1]); } $("#info-source").text(response.source); $("#info-source").val(response.source); } function editNumberVarification(mobile_number) { old_num = mobile_number; $("#user_selection").hide(); $("#editmynumber").show(); $("#otpBody").show(); $("#close_div").show(); $("#otp_block").hide(); $('#popupmodelotpnew').modal('show'); $("#action-buttons-div").css("padding-bottom", "3%"); $("#action-buttons-div").css("padding-top", "3%"); $(".modal-footer").hide(); $("#otpSuccess").hide(); $("#mobile_number_otp").val(mobile_number); $("#current_mobilenum").text($("#mobile_number_otp").val()); $("#country_code_otp").val(original_country_code); $('#basicaddon2').css('visibility', 'visible'); $('#basicaddon2').html("+" + original_country_code.split("|")[1].replace(/"/g, "")); setTimer(0); $(".message_otp_response").hide(); $("#edit_link").hide(); } $("#edit_my_num").click(function() { $(".message_otp_response").hide(); $("#edit_link").fadeOut("slow"); $("#googledetailsdiv").fadeOut("slow"); $(".const_info").hide(); $("#editmynumber").fadeIn("slow"); $("#number_update").val("Save number & Send otp"); clearInterval(set_timer); $("#time").text('02:00'); }); function number_update_callback(status) { $("#editmynumber").hide(); $("#edit_link").fadeIn("slow"); if (typeof set_timer != 'undefined') { clearInterval(set_timer); } setTimer(2); if (otp_referrer == "change_number") { $("#otp_block").fadeIn("slow"); $(".modal-footer").fadeIn("slow"); $(".message_otp_rset_checkbox_popupesponse").show(); $("#otp_mesg").hide(); $("#otp_clock").show(); } } function set_otp_window() { $("#user_selection").hide(); $("#otp_block").show(); $("#footer_call").show(); $(".otp_popup_header1").text("Mobile Number Verification"); $(".otp_popup_header_small").text(" "); $(".otp_popup_header2").text("Please verify your number using the OTP sent to activate your account"); setTimer(2); } $("#country_code_otp").change(function() { var country_code_otp = $("#country_code_otp").val().split("|")[1]; var country_iso = $("#country_code_otp").val().split("|")[0]; var mobileNumber = $("#mobile_number_otp").val(); if (country_code_otp == '91') { $("#p_loc_div").show(); } else { $("#p_loc_div").hide(); } if (!country_iso) { $('#country_code_otp').html("Please Select Country from list."); return false; } if (country_iso == "Country" || country_iso == "00" || country_iso == undefined) { document.getElementById('err_country_code_otp').innerHTML = "Please Select Country from list."; document.getElementById('err_mobile_number_otp').innerHTML = ""; $('#basicaddon2').css('visibility', 'hidden'); $('#basicaddon2').html(" "); } else { $('#basicaddon2').css('visibility', 'visible'); $('#basicaddon2').html("+" + $('select[name=country_code_otp]').val().split("|")[1]); document.getElementById('err_country_code_otp').innerHTML = ""; document.getElementById('err_mobile_number_otp').innerHTML = ""; if (mobileNumber && mobile_validation_otp(country_iso)) { $("#number_update").prop( "disabled",true); mobile_exists_otp(mobileNumber); } } }); $("#fname").blur(function() { var name_regexp = /^[A-z ]+$/; var first_name = $('#fname').val(); if (first_name == '') { $('#err_name').html("Enter First Name"); data_error = true; } else if (!name_regexp.test(first_name)) { $('#err_name').html("Enter First Name without special characters"); data_error = true; } else { var last_name = $('#lname').val(); if (last_name == '') { $('#err_name').html("Enter Last Name"); data_error = true; } else if (!name_regexp.test(last_name)) { $('#err_name').html("Enter Last Name without special characters"); data_error = true; } else { $('#err_name').html(""); } } }); $("#lname").blur(function() { var name_regexp = /^[A-z ]+$/; var last_name = $('#lname').val(); if (last_name == '') { $('#err_name').html("Enter Last Name"); data_error = true; } else if (!name_regexp.test(last_name)) { $('#err_name').html("Enter Last Name without special characters"); data_error = true; } else { var first_name = $('#fname').val(); if (first_name == '') { $('#err_name').html("Enter First Name"); data_error = true; } else if (!name_regexp.test(first_name)) { $('#err_name').html("Enter First Name without special characters"); data_error = true; } else { $('#err_name').html(""); } } }); $("#mobile_number_otp").blur(function(event) { event.stopImmediatePropagation(); var country_iso = $("#country_code_otp").val().split("|")[0]; var country_code_otp = $("#country_code_otp").val().split("|")[1]; var mobileNumber = $("#mobile_number_otp").val(); if (!mobileNumber) { $('#err_mobile_number_otp').html("Please enter mobile number."); return false; } if (country_iso == "Country" || country_iso == "00" || country_iso == undefined) { document.getElementById('err_country_code_otp').innerHTML = "Please Select Country from list."; document.getElementById('err_mobile_number_otp').innerHTML = "Mobile number is not valid for selected country"; } else { document.getElementById('err_country_code_otp').innerHTML = ""; document.getElementById('err_mobile_number_otp').innerHTML = ""; var old_number = $("#current_mobilenum").text(); if (mobileNumber && mobile_validation_otp(country_iso) && old_number != mobileNumber) { $("#number_update").prop( "disabled",true); mobile_exists_otp(mobileNumber); } } }); function mobile_validation_otp(country_list) { var country_code_otp = $("#country_code_otp").val().split("|")[1]; var mobileNumber = country_code_otp + $("#mobile_number_otp").val(); var mobileNumberWithoutCC = $("#mobile_number_otp").val(); var mobile_regex = /^[0-9]*$/; var mobile_zero_regex = /^[1-9][0-9]*$/; if (!mobile_regex.test(mobileNumberWithoutCC)) { document.getElementById('err_mobile_number_otp').innerHTML = "Mobile number should contains only digits."; return false; } if (!mobile_zero_regex.test(mobileNumberWithoutCC)) { document.getElementById('err_mobile_number_otp').innerHTML = "Remove '0' from the begining of your mobile number."; return false; } if (mobileNumber && !isNumberValid(mobileNumberWithoutCC, country_list)) { document.getElementById('err_mobile_number_otp').innerHTML = "Mobile number is not valid."; return false; } else { document.getElementById('err_mobile_number_otp').innerHTML = ""; return true; } } function mobile_exists_otp(mobileNumber) { var country_iso = $("#country_code_otp").val().split("|")[0]; var str = 'https://www.indiabizforsale.com/business/'; var dataAjax = { mobilenumber: mobileNumber, country_list: country_iso, get_userid: true }; var url = str + 'user/mobilenumberduplication'; $.ajax({ type: "POST", url: url, data: dataAjax }).success(function(result) { setTimeout(() => { $("#number_update").prop( "disabled",false); }, 500); var result = JSON.parse(result); if (result.error == true) { document.getElementById('err_mobile_number_otp').innerHTML = result.message; return false; } if (result.mobile_duplicate == 1) { document.getElementById('err_mobile_number_otp').innerHTML = result.message; } else { document.getElementById('err_mobile_number_otp').innerHTML = ""; } }); } function skip_registration(){ loginurl='https://www.indiabizforsale.com/business/index/skipregistration'; $.ajax({ type: 'POST', url: loginurl, async: true, success: function(result) { var response = JSON.parse(result); if (response.allow) { dataLayer.push({'event':'close_pop_up', 'method':response.registeredBy, 'route':response.registeredByPopup }); location.reload(true); } else { } }, error: function (jqXHR, textStatus, errorThrown) { setNotification('Error', 'Some strange error occurred.' + errorThrown, 'danger'); return false; } }); $("#popupmodelotpnew").modal('hide'); } function skip_otp_registration(){ loginurl='https://www.indiabizforsale.com/business/index/skipotpregistration'; $.ajax({ type: 'POST', url: loginurl, async: true, success: function(result) { var response = JSON.parse(result); var str = 'https://www.indiabizforsale.com/business/'; dataLayer.push({'event':'close_pop_up', 'method':response.registeredBy, 'route':response.registeredByPopup }); if (response.allow) { if(response.isuserlisting && response.isuserlisting=='1'){ location.reload(true); }else{ if(response.registration_type==1){ window.location.href= str+"business/sellerbusiness"; }else if(response.registration_type==3){ window.location.href= str+"buyerlisting/buyerlisting"; }else if(response.registration_type==2){ window.location.href= str+"business/sellerbusiness"; }else{ location.reload(true); } } } }, error: function (jqXHR, textStatus, errorThrown) { setNotification('Error', 'Some strange error occurred.' + errorThrown, 'danger'); return false; } }); $("#popupmodelotpnew").modal('hide'); } function skip_socialotp_registration(){ loginurl='https://www.indiabizforsale.com/business/index/skipsocialotpregistration'; var str = 'https://www.indiabizforsale.com/business/'; $.ajax({ type: 'POST', url: loginurl, async: true, success: function(result) { var response = JSON.parse(result); dataLayer.push({'event':'close_pop_up', 'method':response.registeredBy, 'route':response.registeredByPopup }); if (response.allow) { if(response.registration_type==1 && response.profile_complete_status==1){ window.location.href= str+"business/sellerbusiness"; }else if(response.registration_type==3 && response.profile_complete_status==1){ window.location.href= str+"buyerlisting/buyerlisting"; }else if(response.registration_type==2 && response.profile_complete_status==1){ window.location.href= str+"business/sellerbusiness"; }else{ location.reload(true); } } }, error: function (jqXHR, textStatus, errorThrown) { setNotification('Error', 'Some strange error occurred.' + errorThrown, 'danger'); return false; } }); $("#popupmodelotpnew").modal('hide'); } function close_pop_up_ga4_event_call() { dataLayer.push({'event':'close_pop_up', 'method':'NA', 'route':'NA' }); } function startTimer(duration, display) { var timer = duration, minutes, seconds; set_timer = setInterval(function() { minutes = parseInt(timer / 60, 10) seconds = parseInt(timer % 60, 10); minutes = minutes < 10 ? "0" + minutes : minutes; seconds = seconds < 10 ? "0" + seconds : seconds; display.text(minutes + ":" + seconds); if (--timer < 0) { timer = duration; $("#otp_mesg").show(); $("#otp_clock").hide(); clearInterval(set_timer); } }, 1000); } function displyIcon(ele_s_id, ele_f_id) { $(ele_s_id).show(); $(ele_f_id).hide(); } function addSuccessClass(ele_div) { $(ele_div).removeClass("has-error").addClass("has-success"); } function addErrorClass(ele_div) { $(ele_div).removeClass("has-success").addClass("has-error"); } $(".pop_location").change(function() { var optionSelected = $(this).find("option:selected"); var location = optionSelected.val(); if (country_code_otp == 91 && location == 0 || location == '' || location == null) { setNotification('Error', "Please select 'Location' field1", 'danger'); $('.loc_err').html("Please select your Location."); return false; } else { $('.loc_err').html(""); } }); $("#wa_email").blur(function(){ var email = $('#wa_email').val(); var email_regexp = /^([a-zA-Z0-9_\.\-])+\@(([a-zA-Z0-9\-])+\.)+([a-zA-Z0-9]{2,4})+$/; var str = "https://www.indiabizforsale.com/business/"; if(!email.match(email_regexp) || email==""){ $('#err_wa_email').html("Enter valid Email ID"); }else if(email){ var dataAjax = {emailId:email}; var url = str+'business/emailduplicationedit'; $.ajax({ type: "POST", url: url, data: dataAjax }).success(function(result) { if(result == 1) { $('#err_wa_email').html("Email ID is already exists."); return false; }else { $('#err_wa_email').html(""); return true; } }); }else{ $('#err_wa_email').html(""); } }); $(".organization").blur(function() { var organization = $('.organization').val(); var alphaExp = /^[a-zA-Z0-9& ]*$/; if (organization == '') { displyIcon(".fn_org_f", ".fn_org_s"); addErrorClass(".fn_org_div"); $('.err_organization_reg').html("Please input your Organization name"); } else { displyIcon(".fn_org_s", ".fn_org_f"); addSuccessClass(".fn_org_div"); $('.err_organization_reg').html(""); } }); $(".type_of_firm_pop").on('change', function() { var element = $(this).find('option:selected'); var select_val = element.attr("value"); if (select_val == 0 || select_val == null) { displyIcon(".cn_firm_f", ".cn_firm_s"); addErrorClass(".fn_firm_div"); $('.err_type_of_firm').html("Please select type of Firm."); data_error = true; } else { $('.err_type_of_firm').html(""); displyIcon(".cn_firm_s", ".cn_firm_f"); addSuccessClass(".fn_firm_div"); } }); $("#number_update").click(function(e){ e.stopImmediatePropagation(); var email_regexp = /^([a-zA-Z0-9_\.\-])+\@(([a-zA-Z0-9\-])+\.)+([a-zA-Z0-9]{2,4})+$/; var email = $("#wa_email").val(); var firstname = $("#fname").val(); var lastname = $("#lname").val(); var country_id = $("#country_code_otp option:selected").attr("country_id"); var old_number = old_num; var new_num = $("#mobile_number_otp").val(); var country_code_otp = $("#country_code_otp").val().split("|")[1]; var whole_number = country_code_otp + new_num; var optionSelected = $('.pl_location').find("option:selected"); var location = optionSelected.val(); var reg_form = $(this).attr("reg-form"); var reg_form_with = $(this).attr("reg-form-with"); var type_of_firm = $('.type_of_firm_pop').val(); var user_registration_type = $(".social_registration_type").val(); var source = $("#info-source").val(); var country_iso = $("#country_code_otp").val().split("|")[0]; var organization = $('.organization').val(); var alphaExp = /^[a-zA-Z]+$/; if ($("#waba_optin_status").is(':checked')) { var waba_optin_status = 1; } else { var waba_optin_status = 0; } var error=""; // if ($('#err_mobile_number_otp').html() != '' || $('#err_country_code_otp').html() != '' || new_num =='') { if (email =='' && source =='Whatsapp') { $("#err_wa_email").html("Enter Valid Email"); setNotification('Error', "Enter Valid Email", 'danger'); error=1; savehalfprofile(); }else if(!email_regexp.test(email) && source =='Whatsapp'){ $("#err_wa_email").html("Enter Valid Email"); setNotification('Error', "Enter Valid Email", 'danger'); error=1; savehalfprofile(); }else if($('#err_wa_email').text() != '' && source =='Whatsapp'){ $("#err_wa_email").html("Email Already Exists!"); setNotification('Error', "Email Already Exists!", 'danger'); error=1; savehalfprofile(); } else if (($('#err_mobile_number_otp').html() != '') || ($('#err_country_code_otp').html() != '') && (new_num =='') && (source !='Whatsapp')) { var actual_message = $('#err_mobile_number_otp').text(); if(actual_message !=''){ $("#err_mobile_number_otp").html(actual_message); setNotification('Error', actual_message, 'danger'); error=1; } savehalfprofile(); } else if (country_code_otp == 91 && (location == 0 || location == '' || location == null)) { setNotification('Error', "Please select 'Location' field", 'danger'); $('.loc_err').html("Please select your Location."); error=1; savehalfprofile(); }else if ((otp_referrer == "api_registration" || otp_referrer == "gen_api_registration")) { if (($('#fname').val() == '') && (source !='Whatsapp')) { setNotification('Error', "Please enter valid First Name", 'danger'); error=1; } //if ($('#lname').val() == '' && (source !='Whatsapp')) { if ($('#lname').val() == '' && (source =='direct')) { setNotification('Error', "Please enter valid Last Name", 'danger'); error=1; } if (!user_registration_type || user_registration_type === undefined) { setNotification('Error', "Select a suitable option", 'danger'); $("#err_registration_type_reg").html("Select a suitable option"); error=1; }else{ $("#err_registration_type_reg").html(""); } if (user_registration_type == 2) { if (type_of_firm == '') { $('.err_type_of_firm').html("Please select type of firm"); error=1; } else { $('.err_type_of_firm').html(""); } if (organization == '') { $('.err_organization_reg').html("Please input your Organization name"); error=1; } else { $('.err_organization_reg').html(""); } } if(error){ savehalfprofile(); return false; } if (user_registration_type == 1) { var disclose_contact_div = '.se_disclose_mobile_email_popup'; var disclose_recent_div = '.se_recentactivitydisclose_popup'; } else if (user_registration_type == 2) { var disclose_contact_div = '.con_disclose_mobile_email_popup'; var disclose_recent_div = '.con_recentactivitydisclose_popup'; } else if (user_registration_type == 3) { var disclose_contact_div = '.bu_disclose_mobile_email_popup'; var disclose_recent_div = '.bu_recentactivitydisclose_popup'; } $("#number_update").prop( "disabled",true); //setTimeout(() => { if ((new_num && mobile_validation_otp(country_iso)) || source=="Whatsapp") { var baseurl = 'https://www.indiabizforsale.com/business/'; var url = baseurl + 'index/gmailapisignup'; old_num = new_num; $.ajax({ url: url, type: 'POST', data: $.param({ mobile_number: new_num, email: email, source:source, registrationType: user_registration_type, country_code: country_code_otp, country_id: country_id, location: location, disclose_mobile_email: $(disclose_contact_div).is(':checked'), recentactivitydisclose: $(disclose_recent_div).is(':checked'), waba_optin_status: waba_optin_status, type_of_firm: type_of_firm, organization: organization, firstname: firstname, lastname: lastname }), async: true, success: function(response) { response_login = JSON.parse(response); $("#number_update").prop("disabled",false); if (response_login.success) { if(response_login.process=='registration_initiated'){ dataLayer.push({'event':'proceed_to_register_with_social', 'profile_option':response_login.profile_option, 'country':response_login.country, 'location':response_login.city, 'firm_type':response_login.firm_type, 'organization_name':response_login.organization_name, 'method':response_login.registeredBy, 'route':response_login.registeredByPopup }); }else{ dataLayer.push({'event':'save_and_send_otp', 'user_ID':response_login.user_id, 'user_status':'guest', 'profile_option':response_login.profile_option, 'country':response_login.country, 'location':response_login.city, 'firm_type':response_login.firm_type, 'organization_name':response_login.organization_name, 'method':response_login.registeredBy, 'route':response_login.registeredByPopup }); } $(".show_div").hide(); $(".skip_div").hide(); $(".skip_otp_div").hide(); $(".skip_socialotp_div").show(); if(response_login.otp_email_send==1){ $(".mobile_otp_verify").hide(); $(".edit_num").hide(); $(".email_otp_verify").css("display","inline-block"); $("#current_emailid").text(response_login.otp_email); }else{ $(".mobile_otp_verify").css("display","inline-block"); $(".email_otp_verify").hide(); $(".edit_num").show(); } set_otp_window(); number_update_callback('success'); setNotification('Success! ', response_login.message, 'success'); $("#current_mobilenum").text(new_num); old_number = new_num; return true; } else if(response_login.login_success && response_login.source=='Whatsapp'){ window.location.reload(); }else { setNotification('Error', response_login.message, 'danger'); return false; } }, error: function(xhr, status, errorThrown) { setNotification('Error', 'Some strange error occurred.' + errorThrown, 'danger'); }, cache: false }); }else{ $("#err_mobile_number_otp").html("Mobile number is not valid"); setNotification('Error', "Mobile number is not valid", 'danger'); } //}, 1000); } else if (old_number != new_num || old_number == new_num) { var baseurl = 'https://www.indiabizforsale.com/business/'; var url = baseurl + 'user/changeotpnumber'; $.ajax({ url: url, type: 'POST', data: $.param({ new_number: new_num, whole_number: whole_number, country_code: country_code_otp, country_id: country_id, firstname: firstname, location: location, lastname: lastname }), async: true, success: function(response) { response_login = JSON.parse(response); dataLayer.push({'event':'save_and_send_otp', 'user_ID':response_login.user_id, 'user_status':'guest', 'profile_option':response_login.profile_option, 'country':response_login.country, 'location':response_login.city, 'firm_type':response_login.firm_type, 'organization_name':response_login.organization_name, 'method':response_login.registeredBy, 'route':response_login.registeredByPopup }); if (response_login.success == false && response_login.ratelimit <= 0 && response_login.redirect <= true) { window.location.href = baseurl + response_login.redirect_url; } else if (response_login.success) { number_update_callback('success'); setNotification('Success! ', response_login.message, 'success'); $("#current_mobilenum").text(new_num); return true; } else { setNotification('Error', response_login.message, 'danger'); return false; } }, error: function(xhr, status, errorThrown) { setNotification('Error', 'Some strange error occurred.' + errorThrown, 'danger'); }, cache: false }); } /*else if (old_number == new_num) { number_update_callback('fail'); $("#current_mobilenum").text(new_num); return true; }*/ });function savehalfprofile(){ var firstname = $("#fname").val(); var lastname = $("#lname").val(); var email = $("#wa_email").val(); var source = $("#info-source").val(); var country_id = $("#country_code_otp option:selected").attr("country_id"); var old_number = old_num; var new_num = $("#mobile_number_otp").val(); var country_code_name = $("#country_code_otp").val().split("|")[0]; var country_code_otp = $("#country_code_otp").val().split("|")[1]; var whole_number = country_code_otp + new_num; var optionSelected = $('.pl_location').find("option:selected"); var location = optionSelected.val(); var reg_form = $(this).attr("reg-form"); var reg_form_with = $(this).attr("reg-form-with"); var type_of_firm = $('.type_of_firm_pop').val(); var user_registration_type = $(".social_registration_type").val(); if ($("#waba_optin_status").is(':checked')) { var waba_optin_status = 1; } else { var waba_optin_status = 0; } var organization = $('.organization').val(); var baseurl = 'https://www.indiabizforsale.com/business/'; var url = baseurl + 'index/savehalfprofile'; old_num = new_num; $.ajax({ url: url, type: 'POST', data: $.param({ mobile_number: new_num, email: email, registrationType: user_registration_type, country_code: country_code_otp, country_id: country_id, country_code_name: country_code_name, location: location, disclose_mobile_email: 1, recentactivitydisclose: 1, waba_optin_status: waba_optin_status, type_of_firm: type_of_firm, company_name: organization, firstname: firstname, lastname: lastname, source:source }), async: true, success: function(response) { response_login = JSON.parse(response); if (response_login.success) { } else { } } });} function resendotpwithlogincode(resent_url) { var url = resent_url + 'user/resendotpwithlogincode'; $(".message_otp_response").html(""); $.ajax({ url: url, type: 'POST', async: true, success: function(data1) { var response_on_verify = JSON.parse(data1); dataLayer.push({'event':'resend_otp', 'user_ID':response_on_verify.user_id, 'user_status':'guest', 'profile_option':response_on_verify.profile_option, 'country':response_on_verify.country, 'location':response_on_verify.city, 'firm_type':response_on_verify.firm_type, 'organization_name':response_on_verify.organization_name, 'method':response_on_verify.registeredBy, 'route':response_on_verify.registeredByPopup }); if (response_on_verify.success == false && response_on_verify.ratelimit <= 0 && response_on_verify.redirect <= true) { window.location.href = resent_url + response_on_verify.redirect_url; } else if (response_on_verify.success == true) { $("#otp_text").val(""); $(".message_otp_response").show().html(response_on_verify.message_from_server); if(response_on_verify.otp_email_send==1){ $(".email_otp_verify").css("display","inline-block"); $(".mobile_otp_verify").hide(); $(".edit_num").hide(); $(".current_emailid").html(response_on_verify.otp_email); }else{ $(".email_otp_verify").css("display","none"); $(".mobile_otp_verify").css("display","inline-block"); $(".edit_num").show(); $(".current_otpmobilenum").text(mobileNumber); } if ('message_sent' in response_on_verify) { if (response_on_verify.message_sent != '1') { $("#message_send_failed").css("display", "block"); } else { $("#message_send_failed").css("display", "none"); } } } else { $("#otp_text").val(""); if ('message_sent' in response_on_verify) { if (response_on_verify.message_sent != '1') { $("#message_send_failed").css("display", "block"); } else { $("#message_send_failed").css("display", "none"); } } $(".message_otp_response").show().html(response_on_verify.message_from_server); } }, cache: false }); } function editnumberga4call(resent_url){ var country_code_otp = $("#country_code_otp").val().split("|")[1]; var url = resent_url + 'user/editnumberga4call'; $(".message_otp_response").html(""); $.ajax({ url: url, type: 'POST', data: { country_code: country_code_otp }, async: true, success: function(data1) { var response_on_verify = JSON.parse(data1); if (response_on_verify.success == true) { dataLayer.push({'event':'edit_number', 'user_ID':response_on_verify.user_id, 'user_status':'guest', 'profile_option':response_on_verify.profile_option, 'country':response_on_verify.country, 'location':response_on_verify.city, 'firm_type':response_on_verify.firm_type, 'organization_name':response_on_verify.organization_name, 'method':response_on_verify.registeredBy, 'route':response_on_verify.registeredByPopup }); } }, cache: false }); } function resendverifycode(resent_url) { clearInterval(set_timer); //var country_code_otp = $("#country_code_otp").val().split("|")[1]; var url = resent_url + 'user/resendmobilevaerificationcode'; $(".message_otp_response").html(""); $.ajax({ url: url, type: 'POST', // data: { // country_code: country_code_otp // }, async: true, success: function(data1) { var response_on_verify = JSON.parse(data1); dataLayer.push({'event':'resend_otp', 'user_ID':response_on_verify.user_id, 'user_status':'guest', 'profile_option':response_on_verify.profile_option, 'country':response_on_verify.country, 'location':response_on_verify.city, 'firm_type':response_on_verify.firm_type, 'organization_name':response_on_verify.organization_name, 'method':response_on_verify.registeredBy, 'route':response_on_verify.registeredByPopup }); if (response_on_verify.success == false && response_on_verify.ratelimit <= 0 && response_on_verify.redirect <= true) { window.location.href = resent_url + response_on_verify.redirect_url; } else if (response_on_verify.success == true) { $("#otp_text").val(""); $(".message_otp_response").show().html(response_on_verify.message_from_server); if ('message_sent' in response_on_verify) { if (response_on_verify.message_sent != '1') { $("#message_send_failed").css("display", "block"); } else { $("#message_send_failed").css("display", "none"); } } } else { $("#otp_text").val(""); if ('message_sent' in response_on_verify) { if (response_on_verify.message_sent != '1') { $("#message_send_failed").css("display", "block"); } else { $("#message_send_failed").css("display", "none"); } } $(".message_otp_response").show().html(response_on_verify.message_from_server); } }, cache: false }); } function verifyotpwithloginAction() { $('#verifyLoading').show(); var str = "https://www.indiabizforsale.com/business/"; callbackloginwithotp(str); } function callbackEditNumberAction() { $('#verifyLoading').show(); var str = "https://www.indiabizforsale.com/business/"; switch (otp_referrer) { case "loginwithotp": callbackloginwithotp(str); break; case "normal_registration": concat_set_otp(); afterVerification(str); break; case "seller_popup": concat_set_otp(); callbackSellerRegister(str); break; case "buyer_popup": concat_set_otp(); callbackBuyerRegister(str); break; case "edit_profile": callbackEditNumberFromProfile(str); break; case "apisignup": concat_set_otp(); callbackSocialLoginOtp(str); break; case "api_registration": concat_set_otp(); callbackSocialLogin(str); break; case "gen_api_registration": concat_set_otp(); callbackgenSocialLogin(str); break; case "activate_account": concat_set_otp(); callbackActivation(str); break; case "activate_account_onetap": concat_set_otp(); callbackActivation(str); break; case "activate_account_api": concat_set_otp(); callbackActivation(str); break; case "activate_account_buyer_popup": concat_set_otp(); callbackActivation(str); break; case "activate_account_seller_popup": concat_set_otp(); callbackActivation(str); break; case "change_number": concat_set_otp(); callbackChangeNumber(str); break; default: } } function set_checkboxinpopup(elem_name){ $(".social_registration_type").val(elem_name); switch (elem_name) { case '1': $("#seller_disclose_details").show(); $("#buyer_disclose_details").hide(); $("#consultant_disclose_details").hide(); $(".const_info").hide(); break; case '2': $("#seller_disclose_details").hide(); $("#buyer_disclose_details").hide(); $("#consultant_disclose_details").show(); $(".const_info").show(); break; case '3': $("#seller_disclose_details").hide(); $("#buyer_disclose_details").show(); $("#consultant_disclose_details").hide(); $(".const_info").hide(); break; } } function callbackgenSocialLogin(str){ var url1 = str+'user/verifymobile'; $.ajax({ url: url1, type: 'POST', data: { 'otp_code' : $("#otp_text").val() }, async: true, success: function (data1) { var response_on_verify = JSON.parse(data1); dataLayer.push({'event':'registration_completed', 'user_ID':response_on_verify.user_id, 'user_status':'guest', 'profile_option':response_on_verify.profile_option, 'country':response_on_verify.country, 'location':response_on_verify.city, 'firm_type':response_on_verify.firm_type, 'organization_name':response_on_verify.organization_name, 'method':response_on_verify.registeredBy, 'route':response_on_verify.registeredByPopup }); if(response_on_verify.success == true) { $("#otpBody").fadeOut("slow"); $("#otpSuccess").fadeIn("slow"); $(".message_otp_response").html(response_on_verify.message_from_server); $("#resend_otp_p").html(''); if(response_on_verify.already_login){ if(response_on_verify.isuserlisting==0 && response_on_verify.registration_type !=''){ if(response_on_verify.registration_type==1){ window.location.href= str+"business/sellerbusiness"; return false; }else if(response_on_verify.registration_type==3){ window.location.href= str+"buyerlisting/buyerlisting"; return false; }else{ window.location.href= str+"business/sellerbusiness"; return false; } }else{ location.reload(); return false; } } $.ajax({ url: str + 'index/loginfromnlfform', type: 'POST', data: $.param({ method : 'gen_google_signup', form_type : 'gen_api_form', action_name : form_name}), async: true, success: function (response) { $('#verifyLoading').hide(); response_login = JSON.parse(response); //action perform if(response_login.allow){ localStorage.setItem("global_email", $("#emailId_register").val()); localStorage.setItem("global_mob", $("#mobileNumber").val()); localStorage.setItem("global_full_name", $("#firstName").val() + " " + $("#lastName").val()); response_login.message = "You have Successfully registered"; $("#seller_message_registration_type").val(response_login.registration_type); if(response_login.registration_type==1){ window.location.href= str+"business/sellerbusiness"; }else if(response_login.registration_type==3){ window.location.href= str+"buyerlisting/buyerlisting"; }else{ window.location.href= str+"business/sellerbusiness"; } }else{ gnotAllowedCallback(str, response_login); } }, error : function (xhr, status, errorThrown){ $('#verifyLoading').hide(); setNotification('Error', 'Some strange error occurred.' + errorThrown, 'danger'); }, cache: false }); } else { setNotification('Error', response_on_verify.message_from_server, 'danger'); $(".message_otp_response").html(response_on_verify.message_from_server); $("#resend_otp_p").html(''); $('#verifyLoading').hide(); } }, cache: false }); } function set_checkbox_popup(elem) { var elem_name = elem.value; var elem_checked = elem.checked; $(".social_registration_type").val(elem_name); switch (elem_name) { case '1': $("#seller_disclose_details").show(); $("#buyer_disclose_details").hide(); $("#consultant_disclose_details").hide(); $(".const_info").hide(); dataLayer.push({'event':'select_user_type', 'profile_option':'seller', 'route':'1' }); break; case '2': $("#seller_disclose_details").hide(); $("#buyer_disclose_details").hide(); $("#consultant_disclose_details").show(); $(".const_info").show(); dataLayer.push({'event':'select_user_type', 'profile_option':'consultant', 'route':'1' }); break; case '3': $("#seller_disclose_details").hide(); $("#buyer_disclose_details").show(); $("#consultant_disclose_details").hide(); $(".const_info").hide(); dataLayer.push({'event':'select_user_type', 'profile_option':'buyer', 'route':'1' }); break; } } function gupshupPolling(){ var str = 'https://www.indiabizforsale.com/business/'; var url = str + 'index/getgupshupresponse'; var time = $("#time").html(); $.ajax({ url: url, type: "POST", dataType: "json", success: function(data) { if (!data.gupshup_res || data.gupshup_res == 'FALSE') { if (time != "00:00") { setTimeout(function() { gupshupPolling(); }, 4000); } else if (otp_referrer == "change_number") { } else { setNotification('Error', 'Your number is not reachable. Please email on info@indiabizforsale.com.', 'danger'); } } else { if (data.status == "SUCCESS") { setNotification(' ', data.message, 'success'); } else { setNotification('Error', data.message, 'danger'); } } } }); } function concat_set_otp() { var otp1 = $('#digit-1').val(); var otp2 = $('#digit-2').val(); var otp3 = $('#digit-3').val(); var otp4 = $('#digit-4').val(); var otp = otp1 + otp2 + otp3 + otp4; $('.otp_text').val(otp); } $('.inputs').find('input').each(function() { $(this).attr('maxlength', 1); $(this).on('keyup', function(e) { var parent = $($(this).parent()); if (e.keyCode === 8 || e.keyCode === 37 ) { var prev = parent.find('input#' + $(this).data('previous')); if (prev.length) { $(prev).select(); } } else if ((e.keyCode >= 48 && e.keyCode <= 57) || (e.keyCode >= 65 && e.keyCode <= 90) || (e.keyCode >= 96 && e.keyCode <= 105) || e.keyCode === 39 || e.keyCode === 229) { var next = parent.find('input#' + $(this).data('next')); if (next.length) { $(next).select(); } } }); });'; var w = window.open("", "print"); if (w) { w.document.write(html); w.document.close() } } function toggle_otp_note(elem) { var otp_elem = $("#otp_send_note"); if ($(elem).val() == '91') { otp_elem.css("display", "block"); } else { otp_elem.css("display", "none"); } } function edit_number_validation() { var get_number_value = document.getElementById('edit_number').value; if (get_number_value == "") { $("#edit_number").effect("shake"); document.getElementById('edit_number').style.borderColor = "#ff0000"; } else { var url = baseurl + 'user/changeotpnumber'; $.ajax({ type: "POST", url: url, data: { 'new_number': $("#edit_number").val() } }).success(function(result) { var res = JSON.parse(result); dataLayer.push({'event':'save_and_send_otp', 'user_ID':res.user_id, 'user_status':'guest', 'profile_option':res.profile_option, 'country':res.country, 'location':res.city, 'firm_type':res.firm_type, 'organization_name':res.organization_name, 'method':res.registeredBy, 'route':res.registeredByPopup }); if (res.success == false && res.ratelimit <= 0 && res.redirect <= true) { window.location.href = baseurl + res.redirect_url; } else if (res.success == '1') { $("#edit_number_link").click(); $("#edit_number").val(""); $(".message_otp_response").html(res.message_from_server); setTimeout(function() { $(".message_otp_response").html(""); }, 3000); } else { $(".message_otp_response").html(res.message_from_server); setTimeout(function() { $(".message_otp_response").html(""); }, 3000); } }); } } Edit Alert Mobile 95******4 Listing ID: SL003865 Posted By: Owner Last Active: 1+ year ago Tap to view images Verified User Information Product / Service Unlisted Finance Company offering franchise in Delhi only for Finance business (Loan against Gold, Loan against property, Loan against LIC policy and Loan against other Government approved security.Company will provide Core Banking support with software and Legal Authority to franchise. The company was incorporated in the year 2016 having ROC at Delhi, it's a Public Limited company. The company can accept public deposit and grant secured loans against a deposit, gold property or other government securities like LIC etc. The company is looking to give out Franchise. It is also open for Investment of INR 1 Cr. and above.Business partners are required, after appointment as Director of the company they can handle the complete branch and can do the business after fulfill company's requirement. Reason Need fund for growth of the company Mobile 95******4 Keywords Finance (Other) franchise opportunity in New Delhi, Finance (Other) franchise for sale in New Delhi, Acquire Finance (Other) franchise for sale in New Delhi, Buy Finance (Other) franchise business in New Delhi, Purchase Finance (Other) franchise business for sale in New Delhi, Finance (Other) franchise investment opportunity in New Delhi, Invest in Finance (Other) franchise business in New Delhi, Finance (Other) franchise business investment opportunity in New Delhi Business Tags category B NBFC good potential with affordable investment Looking for Expansion Newly Started Profitable Public Limited Unlisted NBFC Seamless Fundraising/M&A transactions Start your growth journey with our 25+ Years of Experienced Professional Team. You may also like HOLD SOLD FEATURED {{listing.asking_price}} {{listing.city=="Other City"?listing.state:listing.city}} {{sale_type}} Contact details available Contact details kept private Contact Business Show Interest Private Profile View All Frequently Asked Questions How to contact a business opportunity? How does IndiaBiz verify the business information? What support can I expect from IndiaBiz? Click here to see how it works
Business Name Available on request
Website Available on request Name K* K****** Email s*****@*****.com
Industry Finance (Other)
Location New Delhi
Asking Price 50 Lakh-1 Crore
Entity Type Public Limited
Started In 2016
Interested In Investment
Franchise Sales/Turnover INR 1.00 CroreFY 2016-17
Employees 1-10
EBITDA Available on request
Operational Status Running
Industry Finance (Other)
Location New Delhi
Asking Price 50 Lakh-1 Crore
Entity Type Public Limited
Started In 2016
Interested In Investment
Franchise Sales/Turnover INR 1.00 CroreFY 2016-17
Employees 1-10
EBITDA Available on request
Operational Status Running
Email
Phone
Google
LinkedIn
Facebook
Business Name Available on request
Website Available on request Name K* K****** Email s*****@*****.com ₹10 to ₹200 Cr
Complete Investment Banking Solution in 120 Days
Verified
{{listing.title}}
Click on CONTACT BUSINESS button on the business opportunity page to get connected. This allows you to gain access to contact details of opportunity in exchange with your details. Please note, getting contact detail of a business is called an introduction and each membership plan has different introduction credits. If you do not have any introduction credit in your account, you can neither connect nor get the contact details of that business opportunity.
Business opportunity is either posted by the business owner or advisor. After which, our team checks the information for completeness, language and accuracy. Once the basic checks are met; only then the opportunity is published. We also get users feedback for the opportunities they contact and based on their feedback, the opportunity maybe put on HOLD till further clarification. Many opportunities are not published when it does not pass through our internal procedure checks. We sincerely request you to carry out complete due diligence before taking the transaction ahead. In addition, the contact details of the business are verified via phone / email.
Based on your membership plan you can get email/ phone/ online support for communication with the other side, account queries, etc. If you are looking for a specific type of business opportunity - our Assisted Buying services can be useful. Our Advisory team also provides support related to business valuation, business plan documents, franchise expansion plan at a fee. Contact sales team for more details on your requirements.
List of Verified Business Documents
- Please note: Documents collected for review only. These will not be shared with any third party. Verification of the listing does not imply that Asking price reflects the valuation of the business.
Sign In/Register
Contact Business
"+"
"+repo.industry_name+"
"; return markup;}function formatRepoSelection (repo) { return repo.text;}function cityformatRepo (repo) { if (repo.loading) { return repo.text; } var markup = "
" + "
" +"
"+repo.text+"
"+"
"+repo.state+"
"; return markup;}function cityformatRepoSelection (repo) { return repo.text;} function getsubcats(arr){ var data={ type:"IN", industry:arr }; $.post('/business/user/getsubleveldata',data,function(rdata) { data=JSON.parse(rdata); var selected=subcatSelect.val(); subcatSelect.empty(); if(data!=null) { selected = $.grep(data, function(value) { return $.inArray(value.id.toString(), selected) > 0; }); var final = $.map(selected, function(value) { return value.id; }); subcatSelect.select2({ data:data }).val(final).trigger("change"); } else { subcatSelect.empty(); } });}function setmessage(){ var askingpriceoption = $("#askingpriceHiddenOption").val(); var listing_price_id = $("#listing_price_id_seller_popup").val(); var listing_price = $("#listing_price_seller_popup").val().trim(); var budget = $("#askingpriceValue").val().trim().replace(/,/g,''); if(budget>100000){ $("#minval_err").html(''); $("#minval_err").hide(); if(askingpriceoption != 0){ if(parseInt(listing_price_id) > parseInt(askingpriceoption)){ $("#warn_askingpriceoption").html("NOTE: The asking price for this business (" + listing_price + ") exceeds your budget. Do you want to reconsider?"); $("#warn_askingpriceoption").show(); }else{ $("#warn_askingpriceoption").hide(); } } }else{ $("#minval_err").html('Investment budget to be minimum INR 1 Lakh'); $("#minval_err").show(); return false; } }function convertNumberToWords(amount) { var words = new Array(); words[0] = ''; words[1] = 'One'; words[2] = 'Two'; words[3] = 'Three'; words[4] = 'Four'; words[5] = 'Five'; words[6] = 'Six'; words[7] = 'Seven'; words[8] = 'Eight'; words[9] = 'Nine'; words[10] = 'Ten'; words[11] = 'Eleven'; words[12] = 'Twelve'; words[13] = 'Thirteen'; words[14] = 'Fourteen'; words[15] = 'Fifteen'; words[16] = 'Sixteen'; words[17] = 'Seventeen'; words[18] = 'Eighteen'; words[19] = 'Nineteen'; words[20] = 'Twenty'; words[30] = 'Thirty'; words[40] = 'Forty'; words[50] = 'Fifty'; words[60] = 'Sixty'; words[70] = 'Seventy'; words[80] = 'Eighty'; words[90] = 'Ninety'; amount = amount.toString(); var atemp = amount.split("."); var number = atemp[0].split(",").join(""); var n_length = number.length; var words_string = ""; if (n_length <= 9) { var n_array = new Array(0, 0, 0, 0, 0, 0, 0, 0, 0); var received_n_array = new Array(); for (var i = 0; i < n_length; i++) { received_n_array[i] = number.substr(i, 1); } for (var i = 9 - n_length, j = 0; i < 9; i++, j++) { n_array[i] = received_n_array[j]; } for (var i = 0, j = 1; i < 9; i++, j++) { if (i == 0 || i == 2 || i == 4 || i == 7) { if (n_array[i] == 1) { n_array[j] = 10 + parseInt(n_array[j]); n_array[i] = 0; } } } value = ""; for (var i = 0; i < 9; i++) { if (i == 0 || i == 2 || i == 4 || i == 7) { value = n_array[i] * 10; } else { value = n_array[i]; } if (value != 0) { words_string += words[value] + " "; } if ((i == 1 && value != 0) || (i == 0 && value != 0 && n_array[i + 1] == 0)) { words_string += "Crores "; } if ((i == 3 && value != 0) || (i == 2 && value != 0 && n_array[i + 1] == 0)) { words_string += "Lakhs "; } if ((i == 5 && value != 0) || (i == 4 && value != 0 && n_array[i + 1] == 0)) { words_string += "Thousand "; } if (i == 6 && value != 0 && (n_array[i + 1] != 0 && n_array[i + 2] != 0)) { words_string += "Hundred and "; } else if (i == 6 && value != 0) { words_string += "Hundred "; } } words_string = words_string.split(" ").join(" "); }else{ words_string="More Than 100 Crores"; } return words_string+' Rupees';}
Welcome
- We have saved your details here:
- Once your profile is verified, our system would send an email at every month with suitable new matches (free of charge)
- You will receive email inquiry (to invest/acquire) from the sellers for their business opportunities (free of charge)
- Do you want to connect now with business opportunities of your interest, subscribe to suitable Membership Plan
Show My Matches
Subscribe Now
Please wait...
Please wait...
As a seller, you are not allowed to contact another seller.
You cannot contact the seller as the Business Listing is On Hold
Error Occured
You cannot contact the seller as the Business is not available Anymore.
You cannot contact the seller as the Business is Sold.
Your mobile number is verified.
Your message will be sent after you have listed
your Buying requirements (takes 2-3 minutes).
Press Next.
Your message will be sent only after you have
verified your email-id. Please check your email.
Press Next.
Welcome
We have sent the verification OTP Code on
02:00
Resend OTP
|
Edit my number
Or,Give us a call to verify your mobile:
+91-8000 422 133
" + "
" + repo.state + "
"; return markup; } function cityformatRepoSelection(repo) { return repo.text; } $(".type_of_firm_pop").select2({ placeholder: "Select type of firm", minimumResultsForSearch: Infinity, language: { inputTooShort: function() { return 'start typing to choose'; } }, allowClear: true, dropdownAutoWidth: true }); }); function setTimer(min) { var fiveMinutes = 60 * min, display = $('#time'); startTimer(fiveMinutes, display); } function addattrfunction(repo) { $(repo.element).attr('country_id', repo.country_id); return repo.text; } function countryformatRepo(repo) { if (repo.loading) { return repo.text; } var markup = repo.country; return markup; } function initTimer(min) { var fiveMinutes = 60 * min, display = $('#time'); startTimer(fiveMinutes, display); } $("#resend_otp").click(function() { $("#otp_mesg").hide(); $("#otp_clock").show(); clearInterval(set_timer); setTimer(2); }); function preMobileVarification(mobile_number,location_id,location_text,country_text) { old_num = mobile_number; $("#user_selection").hide(); $("#ppimodel").modal('hide'); $("#popupmodel").modal('hide'); $('#popupmodelotpnew').modal('show'); $("#mobile_number_otp").val(mobile_number); $("#current_mobilenum").text($("#mobile_number_otp").val()); //$("#country_code_otp").val(original_country_code); //var country_text = $('#nl-form #country_list option:selected').text(); if(country_text == ''){ var country_text = 'India'; } if(country_text != 'India'){ $("#p_loc_div").hide(); } else { $("#p_loc_div").show(); } $('#country_code_otp').append(''); $('#basicaddon2').css('visibility', 'visible'); $(".otp_popup_header1").text("Complete your free account setup"); $(".otp_popup_header_small").text("We are glad to see you here!"); if($('select[name=country_code_otp]').val()){ $('#basicaddon2').html("+" + $('select[name=country_code_otp]').val().split("|")[1]); }else if($('select[name=country_code]').val()){ $('#basicaddon2').html("+" + $('select[name=country_code]').val().split("|")[1]); } $('#pop_location').append(''); setTimer(2); } function inactiveUserMobileVarification(country_code, mobile_number,original_country_code) { old_num = mobile_number; // / var country_string=original_country_code+"|"+country_code; $("#user_selection").hide(); // $("#p_loc_div").hide(); $('#popupmodelotpnew').modal('show'); $("#mobile_number_otp").val(mobile_number); $("#current_mobilenum").text($("#mobile_number_otp").val()); // $("#country_code_otp").val(original_country_code); $("#country_code_otp").val("IN|91|102"); $('#basicaddon2').css('visibility', 'visible'); $('#basicaddon2').html("+" + country_code); setTimer(2); } function apiMobileVerification(response) { var checked_selection = $("input[name='reg_type_sel']:checked").val(); old_num = 0; if (checked_selection == '' || checked_selection == undefined) { $("#user_selection").show(); $("#type_selection").hide(); } else { $("#user_selection").hide(); $("#type_selection").show(); set_checkboxinpopup(checked_selection); } if(response.user_name && response.user_name !=""){ fullname = response.user_name.split(" "); }else{ fullname =""; fullname[0]=""; fullname[1]=""; } if(response.source && response.source=="Whatsapp"){ $('#waba_optin_status').prop('checked', true); // $('#p_loc_div').show(); $(".wa-login-block").show(); $("#country_select_div").hide(); $(".wa-update-block").hide(); } if(response.country_code && response.country_code !="91"){ $("#p_loc_div").hide(); } if(response.mobile_number && response.mobile_number !=''){ $("#mobile_number_otp").val(response.mobile_number); } $("#otp_block").hide(); $("#editmynumber").show(); $('#popupmodelotpnew').modal('show'); $("#ppimodel").modal('hide'); $("#popupmodel").modal('hide'); $("#footer_call").hide(); $("#api_user_name").html(response.user_name); $("#country_code_otp").val("IN|91|102"); $('#basicaddon2').css('visibility', 'visible'); $('#basicaddon2').html("+" + $('select[name=country_code_otp]').val().split("|")[1]); if(response.user_name && response.user_name !=""){ $(".otp_popup_header1").text("Welcome, "+response.user_name); }else if(fullname[0] && fullname[0] !=""){ $(".otp_popup_header1").text("Welcome, "+fullname[0]); }else{ $(".otp_popup_header1").text("Welcome"); } // $(".otp_popup_header_small").text(response.user_email); $(".otp_popup_header2").text( "Start your journey with IndiaBiz to access and explore business opportunities, articles, business valuation & more" ); if(fullname[0] && fullname[0] !='' && fullname[0] !=null){ $("#fname").val(fullname[0]); } if(fullname[1] && fullname[1]!='' && fullname[1] !=null){ $("#lname").val(fullname[1]); } $("#info-source").text(response.source); $("#info-source").val(response.source); } function editNumberVarification(mobile_number) { old_num = mobile_number; $("#user_selection").hide(); $("#editmynumber").show(); $("#otpBody").show(); $("#close_div").show(); $("#otp_block").hide(); $('#popupmodelotpnew').modal('show'); $("#action-buttons-div").css("padding-bottom", "3%"); $("#action-buttons-div").css("padding-top", "3%"); $(".modal-footer").hide(); $("#otpSuccess").hide(); $("#mobile_number_otp").val(mobile_number); $("#current_mobilenum").text($("#mobile_number_otp").val()); $("#country_code_otp").val(original_country_code); $('#basicaddon2').css('visibility', 'visible'); $('#basicaddon2').html("+" + original_country_code.split("|")[1].replace(/"/g, "")); setTimer(0); $(".message_otp_response").hide(); $("#edit_link").hide(); } $("#edit_my_num").click(function() { $(".message_otp_response").hide(); $("#edit_link").fadeOut("slow"); $("#googledetailsdiv").fadeOut("slow"); $(".const_info").hide(); $("#editmynumber").fadeIn("slow"); $("#number_update").val("Save number & Send otp"); clearInterval(set_timer); $("#time").text('02:00'); }); function number_update_callback(status) { $("#editmynumber").hide(); $("#edit_link").fadeIn("slow"); if (typeof set_timer != 'undefined') { clearInterval(set_timer); } setTimer(2); if (otp_referrer == "change_number") { $("#otp_block").fadeIn("slow"); $(".modal-footer").fadeIn("slow"); $(".message_otp_rset_checkbox_popupesponse").show(); $("#otp_mesg").hide(); $("#otp_clock").show(); } } function set_otp_window() { $("#user_selection").hide(); $("#otp_block").show(); $("#footer_call").show(); $(".otp_popup_header1").text("Mobile Number Verification"); $(".otp_popup_header_small").text(" "); $(".otp_popup_header2").text("Please verify your number using the OTP sent to activate your account"); setTimer(2); } $("#country_code_otp").change(function() { var country_code_otp = $("#country_code_otp").val().split("|")[1]; var country_iso = $("#country_code_otp").val().split("|")[0]; var mobileNumber = $("#mobile_number_otp").val(); if (country_code_otp == '91') { $("#p_loc_div").show(); } else { $("#p_loc_div").hide(); } if (!country_iso) { $('#country_code_otp').html("Please Select Country from list."); return false; } if (country_iso == "Country" || country_iso == "00" || country_iso == undefined) { document.getElementById('err_country_code_otp').innerHTML = "Please Select Country from list."; document.getElementById('err_mobile_number_otp').innerHTML = ""; $('#basicaddon2').css('visibility', 'hidden'); $('#basicaddon2').html(" "); } else { $('#basicaddon2').css('visibility', 'visible'); $('#basicaddon2').html("+" + $('select[name=country_code_otp]').val().split("|")[1]); document.getElementById('err_country_code_otp').innerHTML = ""; document.getElementById('err_mobile_number_otp').innerHTML = ""; if (mobileNumber && mobile_validation_otp(country_iso)) { $("#number_update").prop( "disabled",true); mobile_exists_otp(mobileNumber); } } }); $("#fname").blur(function() { var name_regexp = /^[A-z ]+$/; var first_name = $('#fname').val(); if (first_name == '') { $('#err_name').html("Enter First Name"); data_error = true; } else if (!name_regexp.test(first_name)) { $('#err_name').html("Enter First Name without special characters"); data_error = true; } else { var last_name = $('#lname').val(); if (last_name == '') { $('#err_name').html("Enter Last Name"); data_error = true; } else if (!name_regexp.test(last_name)) { $('#err_name').html("Enter Last Name without special characters"); data_error = true; } else { $('#err_name').html(""); } } }); $("#lname").blur(function() { var name_regexp = /^[A-z ]+$/; var last_name = $('#lname').val(); if (last_name == '') { $('#err_name').html("Enter Last Name"); data_error = true; } else if (!name_regexp.test(last_name)) { $('#err_name').html("Enter Last Name without special characters"); data_error = true; } else { var first_name = $('#fname').val(); if (first_name == '') { $('#err_name').html("Enter First Name"); data_error = true; } else if (!name_regexp.test(first_name)) { $('#err_name').html("Enter First Name without special characters"); data_error = true; } else { $('#err_name').html(""); } } }); $("#mobile_number_otp").blur(function(event) { event.stopImmediatePropagation(); var country_iso = $("#country_code_otp").val().split("|")[0]; var country_code_otp = $("#country_code_otp").val().split("|")[1]; var mobileNumber = $("#mobile_number_otp").val(); if (!mobileNumber) { $('#err_mobile_number_otp').html("Please enter mobile number."); return false; } if (country_iso == "Country" || country_iso == "00" || country_iso == undefined) { document.getElementById('err_country_code_otp').innerHTML = "Please Select Country from list."; document.getElementById('err_mobile_number_otp').innerHTML = "Mobile number is not valid for selected country"; } else { document.getElementById('err_country_code_otp').innerHTML = ""; document.getElementById('err_mobile_number_otp').innerHTML = ""; var old_number = $("#current_mobilenum").text(); if (mobileNumber && mobile_validation_otp(country_iso) && old_number != mobileNumber) { $("#number_update").prop( "disabled",true); mobile_exists_otp(mobileNumber); } } }); function mobile_validation_otp(country_list) { var country_code_otp = $("#country_code_otp").val().split("|")[1]; var mobileNumber = country_code_otp + $("#mobile_number_otp").val(); var mobileNumberWithoutCC = $("#mobile_number_otp").val(); var mobile_regex = /^[0-9]*$/; var mobile_zero_regex = /^[1-9][0-9]*$/; if (!mobile_regex.test(mobileNumberWithoutCC)) { document.getElementById('err_mobile_number_otp').innerHTML = "Mobile number should contains only digits."; return false; } if (!mobile_zero_regex.test(mobileNumberWithoutCC)) { document.getElementById('err_mobile_number_otp').innerHTML = "Remove '0' from the begining of your mobile number."; return false; } if (mobileNumber && !isNumberValid(mobileNumberWithoutCC, country_list)) { document.getElementById('err_mobile_number_otp').innerHTML = "Mobile number is not valid."; return false; } else { document.getElementById('err_mobile_number_otp').innerHTML = ""; return true; } } function mobile_exists_otp(mobileNumber) { var country_iso = $("#country_code_otp").val().split("|")[0]; var str = 'https://www.indiabizforsale.com/business/'; var dataAjax = { mobilenumber: mobileNumber, country_list: country_iso, get_userid: true }; var url = str + 'user/mobilenumberduplication'; $.ajax({ type: "POST", url: url, data: dataAjax }).success(function(result) { setTimeout(() => { $("#number_update").prop( "disabled",false); }, 500); var result = JSON.parse(result); if (result.error == true) { document.getElementById('err_mobile_number_otp').innerHTML = result.message; return false; } if (result.mobile_duplicate == 1) { document.getElementById('err_mobile_number_otp').innerHTML = result.message; } else { document.getElementById('err_mobile_number_otp').innerHTML = ""; } }); } function skip_registration(){ loginurl='https://www.indiabizforsale.com/business/index/skipregistration'; $.ajax({ type: 'POST', url: loginurl, async: true, success: function(result) { var response = JSON.parse(result); if (response.allow) { dataLayer.push({'event':'close_pop_up', 'method':response.registeredBy, 'route':response.registeredByPopup }); location.reload(true); } else { } }, error: function (jqXHR, textStatus, errorThrown) { setNotification('Error', 'Some strange error occurred.' + errorThrown, 'danger'); return false; } }); $("#popupmodelotpnew").modal('hide'); } function skip_otp_registration(){ loginurl='https://www.indiabizforsale.com/business/index/skipotpregistration'; $.ajax({ type: 'POST', url: loginurl, async: true, success: function(result) { var response = JSON.parse(result); var str = 'https://www.indiabizforsale.com/business/'; dataLayer.push({'event':'close_pop_up', 'method':response.registeredBy, 'route':response.registeredByPopup }); if (response.allow) { if(response.isuserlisting && response.isuserlisting=='1'){ location.reload(true); }else{ if(response.registration_type==1){ window.location.href= str+"business/sellerbusiness"; }else if(response.registration_type==3){ window.location.href= str+"buyerlisting/buyerlisting"; }else if(response.registration_type==2){ window.location.href= str+"business/sellerbusiness"; }else{ location.reload(true); } } } }, error: function (jqXHR, textStatus, errorThrown) { setNotification('Error', 'Some strange error occurred.' + errorThrown, 'danger'); return false; } }); $("#popupmodelotpnew").modal('hide'); } function skip_socialotp_registration(){ loginurl='https://www.indiabizforsale.com/business/index/skipsocialotpregistration'; var str = 'https://www.indiabizforsale.com/business/'; $.ajax({ type: 'POST', url: loginurl, async: true, success: function(result) { var response = JSON.parse(result); dataLayer.push({'event':'close_pop_up', 'method':response.registeredBy, 'route':response.registeredByPopup }); if (response.allow) { if(response.registration_type==1 && response.profile_complete_status==1){ window.location.href= str+"business/sellerbusiness"; }else if(response.registration_type==3 && response.profile_complete_status==1){ window.location.href= str+"buyerlisting/buyerlisting"; }else if(response.registration_type==2 && response.profile_complete_status==1){ window.location.href= str+"business/sellerbusiness"; }else{ location.reload(true); } } }, error: function (jqXHR, textStatus, errorThrown) { setNotification('Error', 'Some strange error occurred.' + errorThrown, 'danger'); return false; } }); $("#popupmodelotpnew").modal('hide'); } function close_pop_up_ga4_event_call() { dataLayer.push({'event':'close_pop_up', 'method':'NA', 'route':'NA' }); } function startTimer(duration, display) { var timer = duration, minutes, seconds; set_timer = setInterval(function() { minutes = parseInt(timer / 60, 10) seconds = parseInt(timer % 60, 10); minutes = minutes < 10 ? "0" + minutes : minutes; seconds = seconds < 10 ? "0" + seconds : seconds; display.text(minutes + ":" + seconds); if (--timer < 0) { timer = duration; $("#otp_mesg").show(); $("#otp_clock").hide(); clearInterval(set_timer); } }, 1000); } function displyIcon(ele_s_id, ele_f_id) { $(ele_s_id).show(); $(ele_f_id).hide(); } function addSuccessClass(ele_div) { $(ele_div).removeClass("has-error").addClass("has-success"); } function addErrorClass(ele_div) { $(ele_div).removeClass("has-success").addClass("has-error"); } $(".pop_location").change(function() { var optionSelected = $(this).find("option:selected"); var location = optionSelected.val(); if (country_code_otp == 91 && location == 0 || location == '' || location == null) { setNotification('Error', "Please select 'Location' field1", 'danger'); $('.loc_err').html("Please select your Location."); return false; } else { $('.loc_err').html(""); } }); $("#wa_email").blur(function(){ var email = $('#wa_email').val(); var email_regexp = /^([a-zA-Z0-9_\.\-])+\@(([a-zA-Z0-9\-])+\.)+([a-zA-Z0-9]{2,4})+$/; var str = "https://www.indiabizforsale.com/business/"; if(!email.match(email_regexp) || email==""){ $('#err_wa_email').html("Enter valid Email ID"); }else if(email){ var dataAjax = {emailId:email}; var url = str+'business/emailduplicationedit'; $.ajax({ type: "POST", url: url, data: dataAjax }).success(function(result) { if(result == 1) { $('#err_wa_email').html("Email ID is already exists."); return false; }else { $('#err_wa_email').html(""); return true; } }); }else{ $('#err_wa_email').html(""); } }); $(".organization").blur(function() { var organization = $('.organization').val(); var alphaExp = /^[a-zA-Z0-9& ]*$/; if (organization == '') { displyIcon(".fn_org_f", ".fn_org_s"); addErrorClass(".fn_org_div"); $('.err_organization_reg').html("Please input your Organization name"); } else { displyIcon(".fn_org_s", ".fn_org_f"); addSuccessClass(".fn_org_div"); $('.err_organization_reg').html(""); } }); $(".type_of_firm_pop").on('change', function() { var element = $(this).find('option:selected'); var select_val = element.attr("value"); if (select_val == 0 || select_val == null) { displyIcon(".cn_firm_f", ".cn_firm_s"); addErrorClass(".fn_firm_div"); $('.err_type_of_firm').html("Please select type of Firm."); data_error = true; } else { $('.err_type_of_firm').html(""); displyIcon(".cn_firm_s", ".cn_firm_f"); addSuccessClass(".fn_firm_div"); } }); $("#number_update").click(function(e){ e.stopImmediatePropagation(); var email_regexp = /^([a-zA-Z0-9_\.\-])+\@(([a-zA-Z0-9\-])+\.)+([a-zA-Z0-9]{2,4})+$/; var email = $("#wa_email").val(); var firstname = $("#fname").val(); var lastname = $("#lname").val(); var country_id = $("#country_code_otp option:selected").attr("country_id"); var old_number = old_num; var new_num = $("#mobile_number_otp").val(); var country_code_otp = $("#country_code_otp").val().split("|")[1]; var whole_number = country_code_otp + new_num; var optionSelected = $('.pl_location').find("option:selected"); var location = optionSelected.val(); var reg_form = $(this).attr("reg-form"); var reg_form_with = $(this).attr("reg-form-with"); var type_of_firm = $('.type_of_firm_pop').val(); var user_registration_type = $(".social_registration_type").val(); var source = $("#info-source").val(); var country_iso = $("#country_code_otp").val().split("|")[0]; var organization = $('.organization').val(); var alphaExp = /^[a-zA-Z]+$/; if ($("#waba_optin_status").is(':checked')) { var waba_optin_status = 1; } else { var waba_optin_status = 0; } var error=""; // if ($('#err_mobile_number_otp').html() != '' || $('#err_country_code_otp').html() != '' || new_num =='') { if (email =='' && source =='Whatsapp') { $("#err_wa_email").html("Enter Valid Email"); setNotification('Error', "Enter Valid Email", 'danger'); error=1; savehalfprofile(); }else if(!email_regexp.test(email) && source =='Whatsapp'){ $("#err_wa_email").html("Enter Valid Email"); setNotification('Error', "Enter Valid Email", 'danger'); error=1; savehalfprofile(); }else if($('#err_wa_email').text() != '' && source =='Whatsapp'){ $("#err_wa_email").html("Email Already Exists!"); setNotification('Error', "Email Already Exists!", 'danger'); error=1; savehalfprofile(); } else if (($('#err_mobile_number_otp').html() != '') || ($('#err_country_code_otp').html() != '') && (new_num =='') && (source !='Whatsapp')) { var actual_message = $('#err_mobile_number_otp').text(); if(actual_message !=''){ $("#err_mobile_number_otp").html(actual_message); setNotification('Error', actual_message, 'danger'); error=1; } savehalfprofile(); } else if (country_code_otp == 91 && (location == 0 || location == '' || location == null)) { setNotification('Error', "Please select 'Location' field", 'danger'); $('.loc_err').html("Please select your Location."); error=1; savehalfprofile(); }else if ((otp_referrer == "api_registration" || otp_referrer == "gen_api_registration")) { if (($('#fname').val() == '') && (source !='Whatsapp')) { setNotification('Error', "Please enter valid First Name", 'danger'); error=1; } //if ($('#lname').val() == '' && (source !='Whatsapp')) { if ($('#lname').val() == '' && (source =='direct')) { setNotification('Error', "Please enter valid Last Name", 'danger'); error=1; } if (!user_registration_type || user_registration_type === undefined) { setNotification('Error', "Select a suitable option", 'danger'); $("#err_registration_type_reg").html("Select a suitable option"); error=1; }else{ $("#err_registration_type_reg").html(""); } if (user_registration_type == 2) { if (type_of_firm == '') { $('.err_type_of_firm').html("Please select type of firm"); error=1; } else { $('.err_type_of_firm').html(""); } if (organization == '') { $('.err_organization_reg').html("Please input your Organization name"); error=1; } else { $('.err_organization_reg').html(""); } } if(error){ savehalfprofile(); return false; } if (user_registration_type == 1) { var disclose_contact_div = '.se_disclose_mobile_email_popup'; var disclose_recent_div = '.se_recentactivitydisclose_popup'; } else if (user_registration_type == 2) { var disclose_contact_div = '.con_disclose_mobile_email_popup'; var disclose_recent_div = '.con_recentactivitydisclose_popup'; } else if (user_registration_type == 3) { var disclose_contact_div = '.bu_disclose_mobile_email_popup'; var disclose_recent_div = '.bu_recentactivitydisclose_popup'; } $("#number_update").prop( "disabled",true); //setTimeout(() => { if ((new_num && mobile_validation_otp(country_iso)) || source=="Whatsapp") { var baseurl = 'https://www.indiabizforsale.com/business/'; var url = baseurl + 'index/gmailapisignup'; old_num = new_num; $.ajax({ url: url, type: 'POST', data: $.param({ mobile_number: new_num, email: email, source:source, registrationType: user_registration_type, country_code: country_code_otp, country_id: country_id, location: location, disclose_mobile_email: $(disclose_contact_div).is(':checked'), recentactivitydisclose: $(disclose_recent_div).is(':checked'), waba_optin_status: waba_optin_status, type_of_firm: type_of_firm, organization: organization, firstname: firstname, lastname: lastname }), async: true, success: function(response) { response_login = JSON.parse(response); $("#number_update").prop("disabled",false); if (response_login.success) { if(response_login.process=='registration_initiated'){ dataLayer.push({'event':'proceed_to_register_with_social', 'profile_option':response_login.profile_option, 'country':response_login.country, 'location':response_login.city, 'firm_type':response_login.firm_type, 'organization_name':response_login.organization_name, 'method':response_login.registeredBy, 'route':response_login.registeredByPopup }); }else{ dataLayer.push({'event':'save_and_send_otp', 'user_ID':response_login.user_id, 'user_status':'guest', 'profile_option':response_login.profile_option, 'country':response_login.country, 'location':response_login.city, 'firm_type':response_login.firm_type, 'organization_name':response_login.organization_name, 'method':response_login.registeredBy, 'route':response_login.registeredByPopup }); } $(".show_div").hide(); $(".skip_div").hide(); $(".skip_otp_div").hide(); $(".skip_socialotp_div").show(); if(response_login.otp_email_send==1){ $(".mobile_otp_verify").hide(); $(".edit_num").hide(); $(".email_otp_verify").css("display","inline-block"); $("#current_emailid").text(response_login.otp_email); }else{ $(".mobile_otp_verify").css("display","inline-block"); $(".email_otp_verify").hide(); $(".edit_num").show(); } set_otp_window(); number_update_callback('success'); setNotification('Success! ', response_login.message, 'success'); $("#current_mobilenum").text(new_num); old_number = new_num; return true; } else if(response_login.login_success && response_login.source=='Whatsapp'){ window.location.reload(); }else { setNotification('Error', response_login.message, 'danger'); return false; } }, error: function(xhr, status, errorThrown) { setNotification('Error', 'Some strange error occurred.' + errorThrown, 'danger'); }, cache: false }); }else{ $("#err_mobile_number_otp").html("Mobile number is not valid"); setNotification('Error', "Mobile number is not valid", 'danger'); } //}, 1000); } else if (old_number != new_num || old_number == new_num) { var baseurl = 'https://www.indiabizforsale.com/business/'; var url = baseurl + 'user/changeotpnumber'; $.ajax({ url: url, type: 'POST', data: $.param({ new_number: new_num, whole_number: whole_number, country_code: country_code_otp, country_id: country_id, firstname: firstname, location: location, lastname: lastname }), async: true, success: function(response) { response_login = JSON.parse(response); dataLayer.push({'event':'save_and_send_otp', 'user_ID':response_login.user_id, 'user_status':'guest', 'profile_option':response_login.profile_option, 'country':response_login.country, 'location':response_login.city, 'firm_type':response_login.firm_type, 'organization_name':response_login.organization_name, 'method':response_login.registeredBy, 'route':response_login.registeredByPopup }); if (response_login.success == false && response_login.ratelimit <= 0 && response_login.redirect <= true) { window.location.href = baseurl + response_login.redirect_url; } else if (response_login.success) { number_update_callback('success'); setNotification('Success! ', response_login.message, 'success'); $("#current_mobilenum").text(new_num); return true; } else { setNotification('Error', response_login.message, 'danger'); return false; } }, error: function(xhr, status, errorThrown) { setNotification('Error', 'Some strange error occurred.' + errorThrown, 'danger'); }, cache: false }); } /*else if (old_number == new_num) { number_update_callback('fail'); $("#current_mobilenum").text(new_num); return true; }*/ });function savehalfprofile(){ var firstname = $("#fname").val(); var lastname = $("#lname").val(); var email = $("#wa_email").val(); var source = $("#info-source").val(); var country_id = $("#country_code_otp option:selected").attr("country_id"); var old_number = old_num; var new_num = $("#mobile_number_otp").val(); var country_code_name = $("#country_code_otp").val().split("|")[0]; var country_code_otp = $("#country_code_otp").val().split("|")[1]; var whole_number = country_code_otp + new_num; var optionSelected = $('.pl_location').find("option:selected"); var location = optionSelected.val(); var reg_form = $(this).attr("reg-form"); var reg_form_with = $(this).attr("reg-form-with"); var type_of_firm = $('.type_of_firm_pop').val(); var user_registration_type = $(".social_registration_type").val(); if ($("#waba_optin_status").is(':checked')) { var waba_optin_status = 1; } else { var waba_optin_status = 0; } var organization = $('.organization').val(); var baseurl = 'https://www.indiabizforsale.com/business/'; var url = baseurl + 'index/savehalfprofile'; old_num = new_num; $.ajax({ url: url, type: 'POST', data: $.param({ mobile_number: new_num, email: email, registrationType: user_registration_type, country_code: country_code_otp, country_id: country_id, country_code_name: country_code_name, location: location, disclose_mobile_email: 1, recentactivitydisclose: 1, waba_optin_status: waba_optin_status, type_of_firm: type_of_firm, company_name: organization, firstname: firstname, lastname: lastname, source:source }), async: true, success: function(response) { response_login = JSON.parse(response); if (response_login.success) { } else { } } });} function resendotpwithlogincode(resent_url) { var url = resent_url + 'user/resendotpwithlogincode'; $(".message_otp_response").html(""); $.ajax({ url: url, type: 'POST', async: true, success: function(data1) { var response_on_verify = JSON.parse(data1); dataLayer.push({'event':'resend_otp', 'user_ID':response_on_verify.user_id, 'user_status':'guest', 'profile_option':response_on_verify.profile_option, 'country':response_on_verify.country, 'location':response_on_verify.city, 'firm_type':response_on_verify.firm_type, 'organization_name':response_on_verify.organization_name, 'method':response_on_verify.registeredBy, 'route':response_on_verify.registeredByPopup }); if (response_on_verify.success == false && response_on_verify.ratelimit <= 0 && response_on_verify.redirect <= true) { window.location.href = resent_url + response_on_verify.redirect_url; } else if (response_on_verify.success == true) { $("#otp_text").val(""); $(".message_otp_response").show().html(response_on_verify.message_from_server); if(response_on_verify.otp_email_send==1){ $(".email_otp_verify").css("display","inline-block"); $(".mobile_otp_verify").hide(); $(".edit_num").hide(); $(".current_emailid").html(response_on_verify.otp_email); }else{ $(".email_otp_verify").css("display","none"); $(".mobile_otp_verify").css("display","inline-block"); $(".edit_num").show(); $(".current_otpmobilenum").text(mobileNumber); } if ('message_sent' in response_on_verify) { if (response_on_verify.message_sent != '1') { $("#message_send_failed").css("display", "block"); } else { $("#message_send_failed").css("display", "none"); } } } else { $("#otp_text").val(""); if ('message_sent' in response_on_verify) { if (response_on_verify.message_sent != '1') { $("#message_send_failed").css("display", "block"); } else { $("#message_send_failed").css("display", "none"); } } $(".message_otp_response").show().html(response_on_verify.message_from_server); } }, cache: false }); } function editnumberga4call(resent_url){ var country_code_otp = $("#country_code_otp").val().split("|")[1]; var url = resent_url + 'user/editnumberga4call'; $(".message_otp_response").html(""); $.ajax({ url: url, type: 'POST', data: { country_code: country_code_otp }, async: true, success: function(data1) { var response_on_verify = JSON.parse(data1); if (response_on_verify.success == true) { dataLayer.push({'event':'edit_number', 'user_ID':response_on_verify.user_id, 'user_status':'guest', 'profile_option':response_on_verify.profile_option, 'country':response_on_verify.country, 'location':response_on_verify.city, 'firm_type':response_on_verify.firm_type, 'organization_name':response_on_verify.organization_name, 'method':response_on_verify.registeredBy, 'route':response_on_verify.registeredByPopup }); } }, cache: false }); } function resendverifycode(resent_url) { clearInterval(set_timer); //var country_code_otp = $("#country_code_otp").val().split("|")[1]; var url = resent_url + 'user/resendmobilevaerificationcode'; $(".message_otp_response").html(""); $.ajax({ url: url, type: 'POST', // data: { // country_code: country_code_otp // }, async: true, success: function(data1) { var response_on_verify = JSON.parse(data1); dataLayer.push({'event':'resend_otp', 'user_ID':response_on_verify.user_id, 'user_status':'guest', 'profile_option':response_on_verify.profile_option, 'country':response_on_verify.country, 'location':response_on_verify.city, 'firm_type':response_on_verify.firm_type, 'organization_name':response_on_verify.organization_name, 'method':response_on_verify.registeredBy, 'route':response_on_verify.registeredByPopup }); if (response_on_verify.success == false && response_on_verify.ratelimit <= 0 && response_on_verify.redirect <= true) { window.location.href = resent_url + response_on_verify.redirect_url; } else if (response_on_verify.success == true) { $("#otp_text").val(""); $(".message_otp_response").show().html(response_on_verify.message_from_server); if ('message_sent' in response_on_verify) { if (response_on_verify.message_sent != '1') { $("#message_send_failed").css("display", "block"); } else { $("#message_send_failed").css("display", "none"); } } } else { $("#otp_text").val(""); if ('message_sent' in response_on_verify) { if (response_on_verify.message_sent != '1') { $("#message_send_failed").css("display", "block"); } else { $("#message_send_failed").css("display", "none"); } } $(".message_otp_response").show().html(response_on_verify.message_from_server); } }, cache: false }); } function verifyotpwithloginAction() { $('#verifyLoading').show(); var str = "https://www.indiabizforsale.com/business/"; callbackloginwithotp(str); } function callbackEditNumberAction() { $('#verifyLoading').show(); var str = "https://www.indiabizforsale.com/business/"; switch (otp_referrer) { case "loginwithotp": callbackloginwithotp(str); break; case "normal_registration": concat_set_otp(); afterVerification(str); break; case "seller_popup": concat_set_otp(); callbackSellerRegister(str); break; case "buyer_popup": concat_set_otp(); callbackBuyerRegister(str); break; case "edit_profile": callbackEditNumberFromProfile(str); break; case "apisignup": concat_set_otp(); callbackSocialLoginOtp(str); break; case "api_registration": concat_set_otp(); callbackSocialLogin(str); break; case "gen_api_registration": concat_set_otp(); callbackgenSocialLogin(str); break; case "activate_account": concat_set_otp(); callbackActivation(str); break; case "activate_account_onetap": concat_set_otp(); callbackActivation(str); break; case "activate_account_api": concat_set_otp(); callbackActivation(str); break; case "activate_account_buyer_popup": concat_set_otp(); callbackActivation(str); break; case "activate_account_seller_popup": concat_set_otp(); callbackActivation(str); break; case "change_number": concat_set_otp(); callbackChangeNumber(str); break; default: } } function set_checkboxinpopup(elem_name){ $(".social_registration_type").val(elem_name); switch (elem_name) { case '1': $("#seller_disclose_details").show(); $("#buyer_disclose_details").hide(); $("#consultant_disclose_details").hide(); $(".const_info").hide(); break; case '2': $("#seller_disclose_details").hide(); $("#buyer_disclose_details").hide(); $("#consultant_disclose_details").show(); $(".const_info").show(); break; case '3': $("#seller_disclose_details").hide(); $("#buyer_disclose_details").show(); $("#consultant_disclose_details").hide(); $(".const_info").hide(); break; } } function callbackgenSocialLogin(str){ var url1 = str+'user/verifymobile'; $.ajax({ url: url1, type: 'POST', data: { 'otp_code' : $("#otp_text").val() }, async: true, success: function (data1) { var response_on_verify = JSON.parse(data1); dataLayer.push({'event':'registration_completed', 'user_ID':response_on_verify.user_id, 'user_status':'guest', 'profile_option':response_on_verify.profile_option, 'country':response_on_verify.country, 'location':response_on_verify.city, 'firm_type':response_on_verify.firm_type, 'organization_name':response_on_verify.organization_name, 'method':response_on_verify.registeredBy, 'route':response_on_verify.registeredByPopup }); if(response_on_verify.success == true) { $("#otpBody").fadeOut("slow"); $("#otpSuccess").fadeIn("slow"); $(".message_otp_response").html(response_on_verify.message_from_server); $("#resend_otp_p").html(''); if(response_on_verify.already_login){ if(response_on_verify.isuserlisting==0 && response_on_verify.registration_type !=''){ if(response_on_verify.registration_type==1){ window.location.href= str+"business/sellerbusiness"; return false; }else if(response_on_verify.registration_type==3){ window.location.href= str+"buyerlisting/buyerlisting"; return false; }else{ window.location.href= str+"business/sellerbusiness"; return false; } }else{ location.reload(); return false; } } $.ajax({ url: str + 'index/loginfromnlfform', type: 'POST', data: $.param({ method : 'gen_google_signup', form_type : 'gen_api_form', action_name : form_name}), async: true, success: function (response) { $('#verifyLoading').hide(); response_login = JSON.parse(response); //action perform if(response_login.allow){ localStorage.setItem("global_email", $("#emailId_register").val()); localStorage.setItem("global_mob", $("#mobileNumber").val()); localStorage.setItem("global_full_name", $("#firstName").val() + " " + $("#lastName").val()); response_login.message = "You have Successfully registered"; $("#seller_message_registration_type").val(response_login.registration_type); if(response_login.registration_type==1){ window.location.href= str+"business/sellerbusiness"; }else if(response_login.registration_type==3){ window.location.href= str+"buyerlisting/buyerlisting"; }else{ window.location.href= str+"business/sellerbusiness"; } }else{ gnotAllowedCallback(str, response_login); } }, error : function (xhr, status, errorThrown){ $('#verifyLoading').hide(); setNotification('Error', 'Some strange error occurred.' + errorThrown, 'danger'); }, cache: false }); } else { setNotification('Error', response_on_verify.message_from_server, 'danger'); $(".message_otp_response").html(response_on_verify.message_from_server); $("#resend_otp_p").html(''); $('#verifyLoading').hide(); } }, cache: false }); } function set_checkbox_popup(elem) { var elem_name = elem.value; var elem_checked = elem.checked; $(".social_registration_type").val(elem_name); switch (elem_name) { case '1': $("#seller_disclose_details").show(); $("#buyer_disclose_details").hide(); $("#consultant_disclose_details").hide(); $(".const_info").hide(); dataLayer.push({'event':'select_user_type', 'profile_option':'seller', 'route':'1' }); break; case '2': $("#seller_disclose_details").hide(); $("#buyer_disclose_details").hide(); $("#consultant_disclose_details").show(); $(".const_info").show(); dataLayer.push({'event':'select_user_type', 'profile_option':'consultant', 'route':'1' }); break; case '3': $("#seller_disclose_details").hide(); $("#buyer_disclose_details").show(); $("#consultant_disclose_details").hide(); $(".const_info").hide(); dataLayer.push({'event':'select_user_type', 'profile_option':'buyer', 'route':'1' }); break; } } function gupshupPolling(){ var str = 'https://www.indiabizforsale.com/business/'; var url = str + 'index/getgupshupresponse'; var time = $("#time").html(); $.ajax({ url: url, type: "POST", dataType: "json", success: function(data) { if (!data.gupshup_res || data.gupshup_res == 'FALSE') { if (time != "00:00") { setTimeout(function() { gupshupPolling(); }, 4000); } else if (otp_referrer == "change_number") { } else { setNotification('Error', 'Your number is not reachable. Please email on info@indiabizforsale.com.', 'danger'); } } else { if (data.status == "SUCCESS") { setNotification(' ', data.message, 'success'); } else { setNotification('Error', data.message, 'danger'); } } } }); } function concat_set_otp() { var otp1 = $('#digit-1').val(); var otp2 = $('#digit-2').val(); var otp3 = $('#digit-3').val(); var otp4 = $('#digit-4').val(); var otp = otp1 + otp2 + otp3 + otp4; $('.otp_text').val(otp); } $('.inputs').find('input').each(function() { $(this).attr('maxlength', 1); $(this).on('keyup', function(e) { var parent = $($(this).parent()); if (e.keyCode === 8 || e.keyCode === 37 ) { var prev = parent.find('input#' + $(this).data('previous')); if (prev.length) { $(prev).select(); } } else if ((e.keyCode >= 48 && e.keyCode <= 57) || (e.keyCode >= 65 && e.keyCode <= 90) || (e.keyCode >= 96 && e.keyCode <= 105) || e.keyCode === 39 || e.keyCode === 229) { var next = parent.find('input#' + $(this).data('next')); if (next.length) { $(next).select(); } } }); });
Forgot Password
Payment Method
Contact
Login/Register
Contact Seller
You have selected below listing :
- Id : SL000012
- Title : 20-YEAR-OLD PROFITABLE POWER SOLUTION PROVIDING BUSINESS FOR SALE IN BANGALORE
Introduction (₹1,150)
OR
Message (FREE)
Manali E-Business Pvt Ltd (CIN: U51109GJ2013PTC073316) 63, Prakruti Bunglows, Sterling City, Bopal, Ahmedabad Guj 380058 [emailprotected] Contact person : Bhavin Bhagat