feat: fix payments

This commit is contained in:
Nevo David 2025-05-03 14:06:25 +07:00
parent 935ea1cb54
commit 4ac4bc4477
1 changed files with 4 additions and 0 deletions

View File

@ -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,