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

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