Also send user details alongside billing details
This commit is contained in:
parent
673d50c215
commit
72691abf50
@ -118,7 +118,14 @@ AppStore.prototype.setupBilling = function (user, callback) {
|
|||||||
debug('Got stripe token', token.id);
|
debug('Got stripe token', token.id);
|
||||||
|
|
||||||
var data = {
|
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
|
billingToken: token.id
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user