mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-17 22:57:21 +01:00
Fixed group plan checkout with stripe (#8475)
This commit is contained in:
@@ -22,6 +22,7 @@ import { sendNotification as sendPushNotification } from '../../libs/pushNotific
|
|||||||
import pusher from '../../libs/pusher';
|
import pusher from '../../libs/pusher';
|
||||||
import common from '../../../common';
|
import common from '../../../common';
|
||||||
import payments from '../../libs/payments';
|
import payments from '../../libs/payments';
|
||||||
|
import stripePayments from '../../libs/stripePayments';
|
||||||
import amzLib from '../../libs/amazonPayments';
|
import amzLib from '../../libs/amazonPayments';
|
||||||
import shared from '../../../common';
|
import shared from '../../../common';
|
||||||
|
|
||||||
@@ -159,7 +160,7 @@ api.createGroupPlan = {
|
|||||||
let headers = req.headers;
|
let headers = req.headers;
|
||||||
let coupon = req.query.coupon;
|
let coupon = req.query.coupon;
|
||||||
|
|
||||||
await payments.payWithStripe({
|
await stripePayments.checkout({
|
||||||
token,
|
token,
|
||||||
user,
|
user,
|
||||||
gift,
|
gift,
|
||||||
|
|||||||
Reference in New Issue
Block a user