Abo-Spiegel: Produkt und tatsächlicher Preis aus den Stripe-Positionen

Neues Appwrite-Feld subscriptions.productKey (Setup-Skript). Ohne bekannten
Abo-Preis gilt ein Abo weiter als Wartungs-Abo.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
ClaudeandClaude Opus 5.5 committed 2026-09-27 15:31:56 +00:00
1 parent 54defb75c4
commit d097704d49
4 files changed
+88 -2

No files matched your search

+2
View File
@@ -117,6 +117,8 @@ await ensureCollection(
// Individuelles Angebot, mit dem das Abo abgeschlossen wurde (Nachweis der Preisabrede)
{ type: 'string', key: 'offerId', size: 64 },
{ type: 'string', key: 'offerText', size: 300 },
// Plan 1: Produkt des Abos (wartung | hosting)
{ type: 'string', key: 'productKey', size: 16 },
],
[
{ key: 'idx_customer', type: 'key', attributes: ['customerId'] },