Migrate frontend to Vuetify/Vuexy + add real WHMCS product data
- Migrate all frontend from plain JS/Tailwind to TypeScript/Vuetify 3 (Vuexy design system) - Replace placeholder plans with 25 real products scraped from WHMCS: 9 VPS plans ($4.20-$30/mo), 8 dedicated servers ($44.39-$107.99/mo), 4 web hosting plans ($2.39-$15.99/mo), 4 MySQL hosting plans ($6-$30/mo) - Fix Pricing page: correct field mapping (service_type, price), display feature values instead of keys, proper price formatting - Update all marketing pages (Home, Products, VPS, Dedicated, Web Hosting) with real specs, pricing, and features from production WHMCS - Add 38 Vuexy @core SCSS override files for component styling - Create 4 layouts (Account, Admin, Auth, Marketing) with Vuetify - Add AppTextField/AppSelect/AppTextarea wrapper components - Purple primary theme (#7367F0), dark mode default - 52 tests passing, build clean Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -11,79 +11,493 @@ class PlanSeeder extends Seeder
|
||||
{
|
||||
public function run(): void
|
||||
{
|
||||
Plan::query()->delete();
|
||||
|
||||
$plans = [
|
||||
// VPS Plans
|
||||
// ─── VPS Plans ───────────────────────────────────────────────
|
||||
[
|
||||
'name' => 'VPS Starter',
|
||||
'slug' => 'vps-starter',
|
||||
'description' => 'Perfect for small projects and development.',
|
||||
'name' => 'Micro VPS',
|
||||
'slug' => 'micro-vps',
|
||||
'description' => 'Lightweight VPS for simple tasks, testing, and small projects.',
|
||||
'service_type' => 'vps',
|
||||
'price' => 5.99,
|
||||
'price' => 4.20,
|
||||
'billing_cycle' => 'monthly',
|
||||
'features' => ['cpu' => '1 vCPU', 'ram' => '1GB', 'disk' => '25GB SSD', 'bandwidth' => '1TB'],
|
||||
'features' => [
|
||||
'cpu' => '1 vCPU',
|
||||
'ram' => '1 GB',
|
||||
'storage' => '25 GB SSD',
|
||||
'bandwidth' => '2 TB',
|
||||
'ipv4' => '1 IPv4',
|
||||
'ipv6' => '1 /64 IPv6',
|
||||
'control_panel' => 'VirtFusion',
|
||||
'os' => 'Linux & Windows (BYOL)',
|
||||
],
|
||||
'sort_order' => 1,
|
||||
],
|
||||
[
|
||||
'name' => 'VPS Pro',
|
||||
'slug' => 'vps-pro',
|
||||
'description' => 'Ideal for growing applications and websites.',
|
||||
'name' => 'Mini VPS',
|
||||
'slug' => 'mini-vps',
|
||||
'description' => 'Compact VPS with extra memory for light workloads.',
|
||||
'service_type' => 'vps',
|
||||
'price' => 19.99,
|
||||
'price' => 6.00,
|
||||
'billing_cycle' => 'monthly',
|
||||
'features' => ['cpu' => '2 vCPU', 'ram' => '4GB', 'disk' => '80GB SSD', 'bandwidth' => '3TB'],
|
||||
'features' => [
|
||||
'cpu' => '1 vCPU',
|
||||
'ram' => '2 GB',
|
||||
'storage' => '50 GB SSD',
|
||||
'bandwidth' => '4 TB',
|
||||
'ipv4' => '1 IPv4',
|
||||
'ipv6' => '1 /64 IPv6',
|
||||
'control_panel' => 'VirtFusion',
|
||||
'os' => 'Linux & Windows (BYOL)',
|
||||
],
|
||||
'sort_order' => 2,
|
||||
],
|
||||
[
|
||||
'name' => 'VPS Enterprise',
|
||||
'slug' => 'vps-enterprise',
|
||||
'description' => 'High-performance VPS for demanding workloads.',
|
||||
'name' => 'Dev Starter',
|
||||
'slug' => 'dev-starter',
|
||||
'description' => 'Dual-core VPS ideal for development environments and staging.',
|
||||
'service_type' => 'vps',
|
||||
'price' => 49.99,
|
||||
'price' => 8.00,
|
||||
'billing_cycle' => 'monthly',
|
||||
'features' => ['cpu' => '4 vCPU', 'ram' => '16GB', 'disk' => '200GB SSD', 'bandwidth' => '10TB'],
|
||||
'features' => [
|
||||
'cpu' => '2 vCPU',
|
||||
'ram' => '2 GB',
|
||||
'storage' => '60 GB SSD',
|
||||
'bandwidth' => '4 TB',
|
||||
'ipv4' => '1 IPv4',
|
||||
'ipv6' => '1 /64 IPv6',
|
||||
'control_panel' => 'VirtFusion',
|
||||
'os' => 'Linux & Windows (BYOL)',
|
||||
],
|
||||
'sort_order' => 3,
|
||||
],
|
||||
// Dedicated Server Plans
|
||||
[
|
||||
'name' => 'Dedicated Starter',
|
||||
'slug' => 'dedicated-starter',
|
||||
'description' => 'Entry-level dedicated server.',
|
||||
'service_type' => 'dedicated',
|
||||
'price' => 99.99,
|
||||
'name' => 'Basic VPS',
|
||||
'slug' => 'basic-vps',
|
||||
'description' => 'Balanced VPS for web apps, databases, and general-purpose workloads.',
|
||||
'service_type' => 'vps',
|
||||
'price' => 12.00,
|
||||
'billing_cycle' => 'monthly',
|
||||
'features' => ['cpu' => 'Intel Xeon E-2236', 'ram' => '32GB DDR4', 'disk' => '2x 500GB SSD', 'bandwidth' => '10TB'],
|
||||
'stock_quantity' => 5,
|
||||
'features' => [
|
||||
'cpu' => '2 vCPU',
|
||||
'ram' => '4 GB',
|
||||
'storage' => '80 GB SSD',
|
||||
'bandwidth' => '6 TB',
|
||||
'ipv4' => '1 IPv4',
|
||||
'ipv6' => '1 /64 IPv6',
|
||||
'control_panel' => 'VirtFusion',
|
||||
'os' => 'Linux & Windows (BYOL)',
|
||||
],
|
||||
'sort_order' => 4,
|
||||
],
|
||||
[
|
||||
'name' => 'Storage Box',
|
||||
'slug' => 'storage-box',
|
||||
'description' => 'High-storage VPS for backups, media, and file-heavy applications.',
|
||||
'service_type' => 'vps',
|
||||
'price' => 15.00,
|
||||
'billing_cycle' => 'monthly',
|
||||
'features' => [
|
||||
'cpu' => '2 vCPU',
|
||||
'ram' => '2 GB',
|
||||
'storage' => '500 GB SSD',
|
||||
'bandwidth' => '8 TB',
|
||||
'ipv4' => '1 IPv4',
|
||||
'ipv6' => '1 /64 IPv6',
|
||||
'control_panel' => 'VirtFusion',
|
||||
'os' => 'Linux & Windows (BYOL)',
|
||||
],
|
||||
'sort_order' => 5,
|
||||
],
|
||||
[
|
||||
'name' => 'Standard VPS',
|
||||
'slug' => 'standard-vps',
|
||||
'description' => 'Quad-core VPS with 8 GB RAM for production applications.',
|
||||
'service_type' => 'vps',
|
||||
'price' => 15.60,
|
||||
'billing_cycle' => 'monthly',
|
||||
'features' => [
|
||||
'cpu' => '4 vCPU',
|
||||
'ram' => '8 GB',
|
||||
'storage' => '160 GB SSD',
|
||||
'bandwidth' => '8 TB',
|
||||
'ipv4' => '1 IPv4',
|
||||
'ipv6' => '1 /64 IPv6',
|
||||
'control_panel' => 'VirtFusion',
|
||||
'os' => 'Linux & Windows (BYOL)',
|
||||
],
|
||||
'sort_order' => 6,
|
||||
],
|
||||
[
|
||||
'name' => 'RAM Optimized',
|
||||
'slug' => 'ram-optimized',
|
||||
'description' => 'Memory-optimized VPS for databases, caching, and in-memory workloads.',
|
||||
'service_type' => 'vps',
|
||||
'price' => 19.00,
|
||||
'billing_cycle' => 'monthly',
|
||||
'features' => [
|
||||
'cpu' => '4 vCPU',
|
||||
'ram' => '16 GB',
|
||||
'storage' => '240 GB SSD',
|
||||
'bandwidth' => '10 TB',
|
||||
'ipv4' => '1 IPv4',
|
||||
'ipv6' => '1 /64 IPv6',
|
||||
'control_panel' => 'VirtFusion',
|
||||
'os' => 'Linux & Windows (BYOL)',
|
||||
],
|
||||
'sort_order' => 7,
|
||||
],
|
||||
[
|
||||
'name' => 'Advanced VPS',
|
||||
'slug' => 'advanced-vps',
|
||||
'description' => 'Six-core VPS with 16 GB RAM for demanding applications and multi-service setups.',
|
||||
'service_type' => 'vps',
|
||||
'price' => 21.60,
|
||||
'billing_cycle' => 'monthly',
|
||||
'features' => [
|
||||
'cpu' => '6 vCPU',
|
||||
'ram' => '16 GB',
|
||||
'storage' => '320 GB SSD',
|
||||
'bandwidth' => '10 TB',
|
||||
'ipv4' => '1 IPv4',
|
||||
'ipv6' => '1 /64 IPv6',
|
||||
'control_panel' => 'VirtFusion',
|
||||
'os' => 'Linux & Windows (BYOL)',
|
||||
],
|
||||
'sort_order' => 8,
|
||||
],
|
||||
[
|
||||
'name' => 'Pro VPS',
|
||||
'slug' => 'pro-vps',
|
||||
'description' => 'Eight-core powerhouse with 32 GB RAM for enterprise workloads and heavy traffic.',
|
||||
'service_type' => 'vps',
|
||||
'price' => 30.00,
|
||||
'billing_cycle' => 'monthly',
|
||||
'features' => [
|
||||
'cpu' => '8 vCPU',
|
||||
'ram' => '32 GB',
|
||||
'storage' => '640 GB SSD',
|
||||
'bandwidth' => '16 TB',
|
||||
'ipv4' => '1 IPv4',
|
||||
'ipv6' => '1 /64 IPv6',
|
||||
'control_panel' => 'VirtFusion',
|
||||
'os' => 'Linux & Windows (BYOL)',
|
||||
],
|
||||
'sort_order' => 9,
|
||||
],
|
||||
|
||||
// ─── Dedicated Server Plans ──────────────────────────────────
|
||||
[
|
||||
'name' => 'Dell R330 LFF',
|
||||
'slug' => 'dell-r330-lff',
|
||||
'description' => 'Entry-level single-socket dedicated server with 4 large form factor drive bays.',
|
||||
'service_type' => 'dedicated',
|
||||
'price' => 44.39,
|
||||
'billing_cycle' => 'monthly',
|
||||
'features' => [
|
||||
'cpu' => '1x Intel Xeon E3-1220 v5',
|
||||
'cores' => '4C/4T',
|
||||
'ram' => '16 GB',
|
||||
'storage_bays' => '4x 3.5" bays',
|
||||
'bandwidth' => '10 TB',
|
||||
'ipv4' => '1 IPv4',
|
||||
'ipv6' => '1 /64 IPv6',
|
||||
'management' => 'SynergyCP',
|
||||
],
|
||||
'stock_quantity' => 3,
|
||||
'sort_order' => 10,
|
||||
],
|
||||
// Web Hosting Plans
|
||||
[
|
||||
'name' => 'Hosting Basic',
|
||||
'slug' => 'hosting-basic',
|
||||
'description' => 'Shared hosting for small websites.',
|
||||
'name' => 'Dell R420 LFF',
|
||||
'slug' => 'dell-r420-lff',
|
||||
'description' => 'Dual-socket server with 12 cores and 32 GB RAM for mid-range workloads.',
|
||||
'service_type' => 'dedicated',
|
||||
'price' => 58.79,
|
||||
'billing_cycle' => 'monthly',
|
||||
'features' => [
|
||||
'cpu' => '2x Intel Xeon E5-2430v2',
|
||||
'cores' => '12C/24T',
|
||||
'ram' => '32 GB',
|
||||
'storage_bays' => '4x 3.5" bays',
|
||||
'bandwidth' => '10 TB',
|
||||
'ipv4' => '1 IPv4',
|
||||
'ipv6' => '1 /64 IPv6',
|
||||
'management' => 'SynergyCP',
|
||||
],
|
||||
'stock_quantity' => 0,
|
||||
'sort_order' => 11,
|
||||
],
|
||||
[
|
||||
'name' => 'Dell R620 SFF 10-Bay',
|
||||
'slug' => 'dell-r620-sff-10-bay',
|
||||
'description' => 'High-performance 1U server with 10 small form factor bays and 16 cores.',
|
||||
'service_type' => 'dedicated',
|
||||
'price' => 61.19,
|
||||
'billing_cycle' => 'monthly',
|
||||
'features' => [
|
||||
'cpu' => '2x Intel Xeon E5-2667v2',
|
||||
'cores' => '16C/32T',
|
||||
'ram' => '32 GB',
|
||||
'storage_bays' => '10x 2.5" bays',
|
||||
'bandwidth' => '10 TB',
|
||||
'ipv4' => '1 IPv4',
|
||||
'ipv6' => '1 /64 IPv6',
|
||||
'management' => 'SynergyCP',
|
||||
],
|
||||
'stock_quantity' => 0,
|
||||
'sort_order' => 12,
|
||||
],
|
||||
[
|
||||
'name' => 'Dell R620 SFF 8-Bay',
|
||||
'slug' => 'dell-r620-sff-8-bay',
|
||||
'description' => 'High-performance 1U server with 8 small form factor bays and 16 cores.',
|
||||
'service_type' => 'dedicated',
|
||||
'price' => 61.19,
|
||||
'billing_cycle' => 'monthly',
|
||||
'features' => [
|
||||
'cpu' => '2x Intel Xeon E5-2667v2',
|
||||
'cores' => '16C/32T',
|
||||
'ram' => '32 GB',
|
||||
'storage_bays' => '8x 2.5" bays',
|
||||
'bandwidth' => '10 TB',
|
||||
'ipv4' => '1 IPv4',
|
||||
'ipv6' => '1 /64 IPv6',
|
||||
'management' => 'SynergyCP',
|
||||
],
|
||||
'stock_quantity' => 0,
|
||||
'sort_order' => 13,
|
||||
],
|
||||
[
|
||||
'name' => 'Dell R520 LFF',
|
||||
'slug' => 'dell-r520-lff',
|
||||
'description' => 'Storage-friendly 2U server with 8 large form factor bays and dual Xeons.',
|
||||
'service_type' => 'dedicated',
|
||||
'price' => 64.79,
|
||||
'billing_cycle' => 'monthly',
|
||||
'features' => [
|
||||
'cpu' => '2x Intel Xeon E5-2420v2',
|
||||
'cores' => '12C/24T',
|
||||
'ram' => '32 GB',
|
||||
'storage_bays' => '8x 3.5" bays',
|
||||
'bandwidth' => '10 TB',
|
||||
'ipv4' => '1 IPv4',
|
||||
'ipv6' => '1 /64 IPv6',
|
||||
'management' => 'SynergyCP',
|
||||
],
|
||||
'stock_quantity' => 2,
|
||||
'sort_order' => 14,
|
||||
],
|
||||
[
|
||||
'name' => 'Dell R430 LFF',
|
||||
'slug' => 'dell-r430-lff',
|
||||
'description' => 'Compact 1U server with high-clock v4 Xeons for compute-intensive tasks.',
|
||||
'service_type' => 'dedicated',
|
||||
'price' => 87.59,
|
||||
'billing_cycle' => 'monthly',
|
||||
'features' => [
|
||||
'cpu' => '2x Intel Xeon E5-2667v4',
|
||||
'cores' => '16C/32T',
|
||||
'ram' => '32 GB',
|
||||
'storage_bays' => '4x 3.5" bays',
|
||||
'bandwidth' => '10 TB',
|
||||
'ipv4' => '1 IPv4',
|
||||
'ipv6' => '1 /64 IPv6',
|
||||
'management' => 'SynergyCP',
|
||||
],
|
||||
'stock_quantity' => 1,
|
||||
'sort_order' => 15,
|
||||
],
|
||||
[
|
||||
'name' => 'Dell R630 SFF',
|
||||
'slug' => 'dell-r630-sff',
|
||||
'description' => 'High-core-count 1U server with 32 cores and 64 threads for heavy multi-threaded workloads.',
|
||||
'service_type' => 'dedicated',
|
||||
'price' => 93.59,
|
||||
'billing_cycle' => 'monthly',
|
||||
'features' => [
|
||||
'cpu' => '2x Intel Xeon E5-2697A v4',
|
||||
'cores' => '32C/64T',
|
||||
'ram' => '32 GB',
|
||||
'storage_bays' => '8x 2.5" bays',
|
||||
'bandwidth' => '10 TB',
|
||||
'ipv4' => '1 IPv4',
|
||||
'ipv6' => '1 /64 IPv6',
|
||||
'management' => 'SynergyCP',
|
||||
],
|
||||
'stock_quantity' => 1,
|
||||
'sort_order' => 16,
|
||||
],
|
||||
[
|
||||
'name' => 'Dell R730 LFF',
|
||||
'slug' => 'dell-r730-lff',
|
||||
'description' => 'Flagship 2U server with 28 cores, 56 threads, and 8 large form factor bays.',
|
||||
'service_type' => 'dedicated',
|
||||
'price' => 107.99,
|
||||
'billing_cycle' => 'monthly',
|
||||
'features' => [
|
||||
'cpu' => '2x Intel Xeon E5-2680v4',
|
||||
'cores' => '28C/56T',
|
||||
'ram' => '32 GB',
|
||||
'storage_bays' => '8x 3.5" bays',
|
||||
'bandwidth' => '10 TB',
|
||||
'ipv4' => '1 IPv4',
|
||||
'ipv6' => '1 /64 IPv6',
|
||||
'management' => 'SynergyCP',
|
||||
],
|
||||
'stock_quantity' => 1,
|
||||
'sort_order' => 17,
|
||||
],
|
||||
|
||||
// ─── Web Hosting Plans ───────────────────────────────────────
|
||||
[
|
||||
'name' => 'Small',
|
||||
'slug' => 'hosting-small',
|
||||
'description' => 'Starter web hosting plan for personal sites and blogs.',
|
||||
'service_type' => 'hosting',
|
||||
'price' => 2.39,
|
||||
'billing_cycle' => 'monthly',
|
||||
'features' => [
|
||||
'storage' => '10 GB SSD',
|
||||
'databases' => '2 MySQL',
|
||||
'email' => '5 Accounts',
|
||||
'domains' => '1',
|
||||
'bandwidth' => '1 TB',
|
||||
'ram' => '512 MB',
|
||||
'cpu' => '1 Core',
|
||||
'ssl' => 'Free SSL',
|
||||
'panel' => 'Enhance',
|
||||
],
|
||||
'sort_order' => 20,
|
||||
],
|
||||
[
|
||||
'name' => 'Medium',
|
||||
'slug' => 'hosting-medium',
|
||||
'description' => 'Mid-range hosting for small businesses and growing websites.',
|
||||
'service_type' => 'hosting',
|
||||
'price' => 3.99,
|
||||
'billing_cycle' => 'monthly',
|
||||
'features' => ['disk' => '10GB SSD', 'bandwidth' => '100GB', 'domains' => '1', 'email' => '5 accounts'],
|
||||
'sort_order' => 20,
|
||||
'features' => [
|
||||
'storage' => '25 GB SSD',
|
||||
'databases' => '6 MySQL',
|
||||
'email' => '20 Accounts',
|
||||
'domains' => '4',
|
||||
'bandwidth' => '1 TB',
|
||||
'ram' => '1 GB',
|
||||
'cpu' => '1 Core',
|
||||
'ssl' => 'Free SSL',
|
||||
'panel' => 'Enhance',
|
||||
],
|
||||
'sort_order' => 21,
|
||||
],
|
||||
// Game Server Plans
|
||||
[
|
||||
'name' => 'Minecraft Standard',
|
||||
'slug' => 'minecraft-standard',
|
||||
'description' => 'Minecraft server for up to 20 players.',
|
||||
'service_type' => 'game_server',
|
||||
'price' => 9.99,
|
||||
'name' => 'Large',
|
||||
'slug' => 'hosting-large',
|
||||
'description' => 'High-capacity hosting with unlimited databases and email for agencies and power users.',
|
||||
'service_type' => 'hosting',
|
||||
'price' => 7.19,
|
||||
'billing_cycle' => 'monthly',
|
||||
'features' => ['cpu' => '2 vCPU', 'ram' => '4GB', 'disk' => '30GB SSD', 'players' => '20'],
|
||||
'features' => [
|
||||
'storage' => '100 GB SSD',
|
||||
'databases' => 'Unlimited MySQL',
|
||||
'email' => 'Unlimited Accounts',
|
||||
'domains' => '30',
|
||||
'bandwidth' => '2 TB',
|
||||
'ram' => '4 GB',
|
||||
'cpu' => '4 Cores',
|
||||
'ssl' => 'Free SSL',
|
||||
'panel' => 'Enhance',
|
||||
],
|
||||
'sort_order' => 22,
|
||||
],
|
||||
[
|
||||
'name' => 'Dedicated',
|
||||
'slug' => 'hosting-dedicated',
|
||||
'description' => 'Dedicated hosting resources with maximum performance and capacity.',
|
||||
'service_type' => 'hosting',
|
||||
'price' => 15.99,
|
||||
'billing_cycle' => 'monthly',
|
||||
'features' => [
|
||||
'storage' => '160 GB SSD',
|
||||
'databases' => 'Unlimited MySQL',
|
||||
'email' => 'Unlimited Accounts',
|
||||
'domains' => '100',
|
||||
'bandwidth' => '4 TB',
|
||||
'ram' => '8 GB',
|
||||
'cpu' => '4 Cores',
|
||||
'ssl' => 'Free SSL',
|
||||
'panel' => 'Enhance',
|
||||
],
|
||||
'sort_order' => 23,
|
||||
],
|
||||
|
||||
// ─── MySQL Hosting Plans ─────────────────────────────────────
|
||||
[
|
||||
'name' => 'Bronze',
|
||||
'slug' => 'mysql-bronze',
|
||||
'description' => 'Entry-level managed MySQL hosting with daily backups.',
|
||||
'service_type' => 'mysql',
|
||||
'price' => 6.00,
|
||||
'billing_cycle' => 'monthly',
|
||||
'features' => [
|
||||
'storage' => '5 GB',
|
||||
'backups' => 'Daily',
|
||||
'ssl' => 'SSL Encrypted',
|
||||
],
|
||||
'sort_order' => 30,
|
||||
],
|
||||
[
|
||||
'name' => 'Silver',
|
||||
'slug' => 'mysql-silver',
|
||||
'description' => 'Mid-tier managed MySQL hosting for growing applications.',
|
||||
'service_type' => 'mysql',
|
||||
'price' => 12.00,
|
||||
'billing_cycle' => 'monthly',
|
||||
'features' => [
|
||||
'storage' => '15 GB',
|
||||
'backups' => 'Daily',
|
||||
'ssl' => 'SSL Encrypted',
|
||||
],
|
||||
'sort_order' => 31,
|
||||
],
|
||||
[
|
||||
'name' => 'Gold',
|
||||
'slug' => 'mysql-gold',
|
||||
'description' => 'High-capacity managed MySQL hosting for production databases.',
|
||||
'service_type' => 'mysql',
|
||||
'price' => 18.00,
|
||||
'billing_cycle' => 'monthly',
|
||||
'features' => [
|
||||
'storage' => '30 GB',
|
||||
'backups' => 'Daily',
|
||||
'ssl' => 'SSL Encrypted',
|
||||
],
|
||||
'sort_order' => 32,
|
||||
],
|
||||
[
|
||||
'name' => 'Platinum',
|
||||
'slug' => 'mysql-platinum',
|
||||
'description' => 'Enterprise managed MySQL hosting with 100 GB storage for large-scale databases.',
|
||||
'service_type' => 'mysql',
|
||||
'price' => 30.00,
|
||||
'billing_cycle' => 'monthly',
|
||||
'features' => [
|
||||
'storage' => '100 GB',
|
||||
'backups' => 'Daily',
|
||||
'ssl' => 'SSL Encrypted',
|
||||
],
|
||||
'sort_order' => 33,
|
||||
],
|
||||
];
|
||||
|
||||
foreach ($plans as $plan) {
|
||||
Plan::create(array_merge([
|
||||
'currency' => 'USD',
|
||||
'status' => 'active',
|
||||
], $plan));
|
||||
Plan::updateOrCreate(
|
||||
['slug' => $plan['slug']],
|
||||
array_merge([
|
||||
'currency' => 'USD',
|
||||
'status' => 'active',
|
||||
], $plan),
|
||||
);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user