angularjs - Stripe popup showing wrong currency -


i've setup stripe checkout using noodliopay example (here) using ionic framework , angularjs. i've set currency pounds on charging amount, popup button still showing dollar symbol. below code snippet factory

self.chargeuser = function(stripetoken, productmeta) {     var qcharge = $q.defer();     var chargeurl = noodlio_pay_api_url + "/charge/token";      var param = {         source: stripetoken,         amount: math.floor(productmeta.pricegbp*100), // amount in penny         currency: "gbp",         description: "",         stripe_account: stripe_account_id,         test: true     };      $http.post(noodlio_pay_api_url + "/charge/token", param)     .success(         function(stripeinvoicedata){             qcharge.resolve(stripeinvoicedata);         }     )     .error(         function(error){             console.log(error)             qcharge.reject(error);         }     );     return qcharge.promise; } 

enter image description here

can me this?is there way change currency symbol?

for payment through stripe there 2 steps:

  1. get stripe token
  2. charge card

earlier, adding currency key on charging card seen in example. but, when added currency on getting stripe token, issue solved.

thanks


Comments

Popular posts from this blog

sql - invalid in the select list because it is not contained in either an aggregate function -

Angularjs unit testing - ng-disabled not working when adding text to textarea -

How to start daemon on android by adb -