Skip to content
This repository was archived by the owner on Jan 10, 2025. It is now read-only.

WIP: Stripe payment elements back #3946

Draft
wants to merge 3 commits into
base: master-qa
Choose a base branch
from
Draft
Changes from all commits
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
3 changes: 2 additions & 1 deletion src/integration/billing/stripe/StripeBillingIntegration.ts
Original file line number Diff line number Diff line change
Expand Up @@ -577,7 +577,8 @@ export default class StripeBillingIntegration extends BillingIntegration {
try {
// Let's create a setupIntent for the stripe customer
const setupIntent: Stripe.SetupIntent = await this.stripe.setupIntents.create({
customer: customerID
customer: customerID,
payment_method_types: ['card'] // 'card' by default but we can add other types here
});
await Logging.logInfo({
tenantID: this.tenant.id,
Expand Down