feat: stripe

This commit is contained in:
2026-05-27 10:15:21 +02:00
parent 79e020ffe3
commit a99d027771
29 changed files with 1160 additions and 4 deletions
+31
View File
@@ -67,6 +67,37 @@ return [
'empty' => '-',
],
],
'credit_products' => [
'navigation' => [
'label' => 'Credit products',
'singular' => 'Credit product',
'plural' => 'Credit products',
],
'sections' => [
'product' => 'Product',
'stripe' => 'Stripe',
],
'fields' => [
'name' => 'Name',
'description' => 'Description',
'type' => 'Type',
'credits' => 'Credits',
'amount' => 'Price',
'currency' => 'Currency',
'stripe_product_id' => 'Stripe product ID',
'stripe_price_id' => 'Stripe price ID',
'is_active' => 'Active',
'sort_order' => 'Order',
'created_at' => 'Created at',
],
'helpers' => [
'amount' => 'Amount in cents, for example 999 for €9.99.',
],
'actions' => [
'sync_stripe' => 'Create in Stripe',
'sync_stripe_success' => 'Stripe product synchronized.',
],
],
'moderation_cases' => [
'navigation' => [
'label' => 'Moderation',
+1
View File
@@ -26,6 +26,7 @@ return [
],
'meal_image_analysis' => [
'failed' => 'Unable to analyze the image right now.',
'insufficient_credits' => 'You do not have any analysis credits left.',
],
'legal_documents' => [
'not_found' => 'Legal document not found.',
+12
View File
@@ -49,6 +49,18 @@ return [
'privacy_policy' => 'Privacy policy',
'terms' => 'Terms of service',
],
'credit_product_type' => [
'monthly' => 'Monthly',
'one_time' => 'Credit pack',
],
'credit_ledger_entry_type' => [
'free_grant' => 'Free credits',
'purchase' => 'Purchase',
'subscription_renewal' => 'Renewal',
'usage' => 'Usage',
'refund' => 'Refund',
'adjustment' => 'Adjustment',
],
'weight_goal' => [
'lose_weight' => 'Lose weight',
'maintain_weight' => 'Maintain weight',