fix(paypal): charge "immediately" for on subscription setup

This commit is contained in:
Tyler Renelle 2014-11-17 12:38:35 -08:00
parent 6ef838cf1a
commit e1ff9610d0

View file

@ -29,7 +29,7 @@ exports.createBillingAgreement = function(req,res,next){
var billingAgreementAttributes = { var billingAgreementAttributes = {
"name": billingPlanTitle, "name": billingPlanTitle,
"description": billingPlanTitle, "description": billingPlanTitle,
"start_date": moment().add({minutes:1}).format(), "start_date": moment().add({seconds:5}).format(),
"plan": { "plan": {
"id": billingPlanID "id": billingPlanID
}, },