Merge branch 'staging' into preprod

This commit is contained in:
Vins 2024-04-24 16:52:09 +02:00
commit 6e543d9882

View File

@ -18,7 +18,7 @@ export default class StripeService {
const priceId = subscription.type === "STANDARD" ? this.variables.STRIPE_STANDARD_SUBSCRIPTION_PRICE_ID : this.variables.STRIPE_UNLIMITED_SUBSCRIPTION_PRICE_ID; const priceId = subscription.type === "STANDARD" ? this.variables.STRIPE_STANDARD_SUBSCRIPTION_PRICE_ID : this.variables.STRIPE_UNLIMITED_SUBSCRIPTION_PRICE_ID;
return this.client.checkout.sessions.create({ return this.client.checkout.sessions.create({
mode: "subscription", mode: "subscription",
payment_method_types: ["card", "paypal"], payment_method_types: ["card"],
billing_address_collection: "auto", billing_address_collection: "auto",
line_items: [ line_items: [
{ {