Files
ladill-pos/config/pos.php
T
isaaccladandCursor d66e656b9c
Deploy Ladill POS / deploy (push) Successful in 35s
Add Business tier and Paystack prepaid billing for POS.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-30 01:55:38 +00:00

33 lines
1.2 KiB
PHP

<?php
return [
'default_currency' => env('POS_DEFAULT_CURRENCY', 'GHS'),
'merchant_import_enabled' => (bool) env('POS_MERCHANT_IMPORT_ENABLED', true),
// Service-to-service keys for the kitchen ingest API (POST /api/kitchen/orders),
// keyed by the calling service. Empty = that service cannot push (secure default).
'kitchen_api_keys' => array_filter([
'merchant' => env('KITCHEN_API_KEY_MERCHANT'),
]),
'pro' => [
'enabled' => filter_var(env('POS_PRO_ENABLED', true), FILTER_VALIDATE_BOOLEAN),
'price_minor' => (int) env('POS_PRO_PRICE_MINOR', 7900),
'currency' => env('POS_PRO_CURRENCY', 'GHS'),
'period_days' => (int) env('POS_PRO_PERIOD_DAYS', 30),
'grace_days' => (int) env('POS_PRO_GRACE_DAYS', 3),
],
'plans' => [
'pro' => ['price_minor' => (int) env('POS_PRO_PRICE_MINOR', 7900)],
'enterprise' => ['price_minor' => (int) env('POS_ENTERPRISE_PRICE_MINOR', 24900)],
],
'prepaid_months' => [6, 12, 24],
'free' => [
'max_locations' => (int) env('POS_FREE_MAX_LOCATIONS', 1),
'max_products' => (int) env('POS_FREE_MAX_PRODUCTS', 50),
],
];