feat(amazon-payments): working subscriptions, put donations and gifts on hold

This commit is contained in:
Matteo Pagliazzi
2015-06-30 17:55:25 +02:00
parent 8747cf4cce
commit 65f4aac23c
8 changed files with 222 additions and 64 deletions

View File

@@ -101,8 +101,8 @@ var UserSchema = new Schema({
mobileChat: Boolean,
plan: {
planId: String,
paymentMethod: String, //enum: ['Paypal','Stripe', 'Gift', '']}
customerId: String,
paymentMethod: String, //enum: ['Paypal','Stripe', 'Gift', 'Amazon Payments', '']}
customerId: String, // Billing Agreement Id in case of Amazon Payments
dateCreated: Date,
dateTerminated: Date,
dateUpdated: Date,