Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Zomars/cal 884 paid events not sending the link #7318

Merged
merged 6 commits into from
Feb 25, 2023
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Update PaymentService.ts
  • Loading branch information
zomars committed Feb 24, 2023
commit 3c7e11e70813b9b8746c7efa6b3129736790286d
4 changes: 2 additions & 2 deletions packages/app-store/stripepayment/lib/PaymentService.ts
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ export class PaymentService implements IAbstractPaymentService {
amount: payment.amount,
currency: this.credentials.default_currency,
payment_method_types: ["card"],
// application_fee_amount: paymentFee,
application_fee_amount: paymentFee,
};

const paymentIntent = await this.stripe.paymentIntents.create(params, {
Expand Down Expand Up @@ -89,7 +89,7 @@ export class PaymentService implements IAbstractPaymentService {
stripe_publishable_key: this.credentials.stripe_publishable_key,
stripeAccount: this.credentials.stripe_user_id,
}) as unknown as Prisma.InputJsonValue,
fee: 0,
fee: paymentFee,
refunded: false,
success: false,
},
Expand Down