【发布时间】:2019-10-01 03:16:31
【问题描述】:
问题 1:
对于braintree,使用计费周期数为1的Add Ons收取押金是否正确?
我正在尝试实现用户按月付费的订阅。但是,在第一次注册时,我希望用户存款。
gateway.subscription.create({
paymentMethodToken: result.customer.paymentMethods[0].token,
planId: "platinumPlanID"
}, function (err, result) {
console.log('subscription result:', result);
console.log('subscription err:', err);
res.send(result)
});
问题 2:
如果订阅相应地工作,如何模拟?
问题 3:
如何检索用户的包月支付记录?
【问题讨论】: