bendrucker / angularjs-stripe

Angular Stripe.js service that returns promises for token calls
MIT License
333 stars 72 forks source link

promise not triggered back while created token anuglar-stripe.js #76

Open cullsin opened 5 years ago

cullsin commented 5 years ago

Hello,

I am still using angular 1.x version with stripe. promise is not trigged. But I can see successful token generated in dev tools. Is there any changes ?

FYI : I am using angular-stripe.js directly.


stripe.card.createToken(vm.wallet).then(function(response) { 
            if(response.id) { 
                vm.token = response;
                        var all = $q.all([Wallet.info(vm.token)]);
                        all.then(load);
                        function load(response) {
                    init();
                        }
            }  
        });
        }