mirror of
https://github.com/sudoxnym/habitica-self-host.git
synced 2026-07-19 12:24:41 +00:00
Fixed group plan checkout with stripe (#8475)
This commit is contained in:
parent
7121653515
commit
4c5d72c96f
1 changed files with 2 additions and 1 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Reference in a new issue