Stripe-Produkt: Name, Beschreibung und Abrechnungstext wie im Dashboard
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
6c92615869
commit
c0214725c0
3 files changed
+7
-4
No files matched your search
@@ -54,8 +54,8 @@ export async function ensureAboPrice() {
|
||||
}
|
||||
const product = await stripe.products.create({
|
||||
name: config.stripe.productName,
|
||||
description:
|
||||
'Betrieb & Pflege Ihrer Website/Web-Anwendung, 1 Domain, 1 E-Mail-Postfach, 1 Stunde Arbeitszeit pro Monat (12 Monate gültig).',
|
||||
description: config.stripe.productDescription,
|
||||
statement_descriptor: config.stripe.statementDescriptor,
|
||||
metadata: { webklar: 'wartungs-abo' },
|
||||
})
|
||||
const price = await stripe.prices.create({
|
||||
@@ -65,7 +65,7 @@ export async function ensureAboPrice() {
|
||||
recurring: { interval: 'month' },
|
||||
tax_behavior: 'inclusive',
|
||||
lookup_key: config.stripe.priceLookupKey,
|
||||
nickname: 'Wartungs-Abo monatlich 50 EUR',
|
||||
nickname: 'Wartungs-Abo monatlich',
|
||||
})
|
||||
cachedPriceId = price.id
|
||||
return cachedPriceId
|
||||
|
||||
Reference in new issue
Block a user