From 72691abf50f5c178d4fd517d5a03b8e61cb7f9a7 Mon Sep 17 00:00:00 2001 From: Johannes Zellner Date: Thu, 24 Sep 2015 15:48:56 +0200 Subject: [PATCH] Also send user details alongside billing details --- appstore.js | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/appstore.js b/appstore.js index e34d178..90fde5c 100644 --- a/appstore.js +++ b/appstore.js @@ -118,7 +118,14 @@ AppStore.prototype.setupBilling = function (user, callback) { debug('Got stripe token', token.id); var data = { - password: that._credentials.password, + firstName: 'Max', + lastName: 'Mustermann', + company: 'Muster Inc', + street: '200 Muster Blvd.', + city: 'Muenster', + zip: '12312', + state: 'Munster', + country: 'DE', billingToken: token.id };