From 4c5d72c96f83e45239dd0a7806e50ed65a427781 Mon Sep 17 00:00:00 2001 From: Keith Holliday Date: Sat, 4 Feb 2017 09:01:53 -0700 Subject: [PATCH] Fixed group plan checkout with stripe (#8475) --- website/server/controllers/api-v3/groups.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/website/server/controllers/api-v3/groups.js b/website/server/controllers/api-v3/groups.js index df685ad8c0..bbda981787 100644 --- a/website/server/controllers/api-v3/groups.js +++ b/website/server/controllers/api-v3/groups.js @@ -22,6 +22,7 @@ import { sendNotification as sendPushNotification } from '../../libs/pushNotific import pusher from '../../libs/pusher'; import common from '../../../common'; import payments from '../../libs/payments'; +import stripePayments from '../../libs/stripePayments'; import amzLib from '../../libs/amazonPayments'; import shared from '../../../common'; @@ -159,7 +160,7 @@ api.createGroupPlan = { let headers = req.headers; let coupon = req.query.coupon; - await payments.payWithStripe({ + await stripePayments.checkout({ token, user, gift,