Commit f57ff334ec72bab404f387d1380fcd0906fc49b4

Authored by Palak Handa
1 parent bb56da0f04
Exists in master and in 1 other branch paytm

update the code

Showing 1 changed file with 11 additions and 8 deletions   Show diff stats
... ... @@ -155,6 +155,16 @@
155 155 }, function myError(error) {});
156 156 };
157 157  
  158 + // $scope.removeNooError = function() {
  159 + // $('#invalidIdea').css('display', 'block');
  160 + // $('#noExist').css('display', 'none');
  161 + // };
  162 + // $scope.valCheck = function(value){
  163 + // if (value!= undefined) {
  164 + // $('#invalidIdea').css('display', 'block');
  165 + // }
  166 + // }
  167 +
158 168 $rootScope.tokenCall = function(val) {
159 169 console.log('val-------->', val);
160 170 if (val == undefined) {
... ... @@ -316,7 +326,7 @@
316 326 var i = 0;
317 327 $scope.payingAmnt = $scope.payingAmnt * 100;
318 328 var options = {
319   - "key": "rzp_test_YwHsVFiDIQ2WUQ",
  329 + "key": "rzp_live_mhSE1uOBlXvFyJ",
320 330 "amount": $scope.payingAmnt,
321 331  
322 332 "name": "Startup Jalsa",
... ... @@ -816,13 +826,6 @@
816 826 //}
817 827  
818 828 };
819   - $scope.removeNoError = function() {
820   - $('#invalidIdea').css('display', 'none');
821   - $('#noExist').css('display', 'none');
822   - };
823   -
824   - // if (val == undefined) {
825   - // $('#invalidIdea').css('display', 'block');
826 829  
827 830 $scope.submit = function() {
828 831 console.log($scope.data.name)
... ...