feat: fix payments
This commit is contained in:
parent
935ea1cb54
commit
4ac4bc4477
|
|
@ -77,6 +77,10 @@ export class StripeService {
|
|||
return prev;
|
||||
}, {created: -100} as Stripe.PaymentMethod);
|
||||
|
||||
if (!latestMethod.id) {
|
||||
return false;
|
||||
}
|
||||
|
||||
try {
|
||||
const paymentIntent = await stripe.paymentIntents.create({
|
||||
amount: 100,
|
||||
|
|
|
|||
Loading…
Reference in New Issue