diff --git a/script.js b/script.js index 61d0fd6..081f66d 100644 --- a/script.js +++ b/script.js @@ -49,8 +49,8 @@ }]).run(['Analytics', function(Analytics) { }]); - scotchApp.constant("BASE_URL", "http://139.59.68.74:4001/api") - //scotchApp.constant("BASE_URL", "http://0.0.0.0:4001/api") + scotchApp.constant("BASE_URL", "http://139.59.68.74:4001/v1") + // scotchApp.constant("BASE_URL", "http://0.0.0.0:4001/v1") // create the controller and inject Angular's $scope scotchApp.controller('mainController', function($scope, $http, $location, $route, $rootScope, BASE_URL, Analytics) { @@ -359,6 +359,7 @@ } else { $scope.check = true; $('#alreadyExist').css('display', 'block'); + } }, function myError(error) {}); } @@ -576,7 +577,7 @@ console.log("$scope.taxTotal----", $scope.payingAmnt) var options = { "key": "rzp_live_mhSE1uOBlXvFyJ", - //"key": "rzp_test_YwHsVFiDIQ2WUQ", + // "key": "rzp_test_YwHsVFiDIQ2WUQ", "amount": $scope.payingAmnt , "name": "Startup Jalsa",