Reaching a Backbone.js view from external payment website -


how can reach backbone view external third party website or how can handle real time payment process in website using backbone.js?

router.js route : { // .... // route callback page 'cart/callback/' : 'retrievecallbackpage' } retrievecallbackpage : : function () {             var view = new backbone.view();             view = router.appendpage(new callbackview());             router.changepage(view);                    }, 

i have html file callbackviewtemplate.html rendered using callbackview.js

// includes file dependencies define(["jquery",             "backbone",             "text!templates/cart/callbackviewtemplate.html"], function ($,             backbone,             callbackviewtemplate) {     var callbackview = backbone.view.extend({         // view constructor         initialize: function () {             this.template = _.template(callbackviewtemplate);           },     }); 

how can reach view external third party payment website details them , save in server?


Comments

Popular posts from this blog

php - Why I am getting the Error "Commands out of sync; you can't run this command now" -

linux - Does gcc have any options to add version info in ELF binary file? -

java - Are there any classes that implement javax.persistence.Parameter<T>? -