Added coupon purchasing back to stripe (#9794)

This commit is contained in:
Keith Holliday
2018-01-15 12:12:19 -07:00
committed by GitHub
parent a73b03452a
commit dd95acf436
2 changed files with 7 additions and 11 deletions

View File

@@ -32,7 +32,7 @@ api.checkout = {
let gift = req.query.gift ? JSON.parse(req.query.gift) : undefined;
let sub = req.query.sub ? shared.content.subscriptionBlocks[req.query.sub] : false;
let groupId = req.query.groupId;
let coupon;
let coupon = req.query.coupon;
await stripePayments.checkout({token, user, gift, sub, groupId, coupon});