@extends('layouts.subscriptions') @push('style') @endpush @section('content') @php $selectedBillingCycle = old('billing_cycle', 'subscribe'); $selectedBillingCycle = in_array($selectedBillingCycle, ['subscribe', 'one_month'], true) ? $selectedBillingCycle : 'subscribe'; $selectedPaymentMethod = old('payment_method', $selectedBillingCycle === 'one_month' ? 'card_networks' : 'credit_card'); $serviceDescription = trim((string) ($subscription->service?->description ?? '')); if ($serviceDescription === '') { $serviceDescription = trim((string) (\App\Models\Service::query() ->where('name', $subscription->service?->name) ->whereNotNull('description') ->where('description', '!=', '') ->value('description') ?? '')); } if ($serviceDescription === '') { $serviceDescription = trim((string) (\App\Models\Service::query() ->where('category_id', $subscription->service?->category_id) ->where(function ($q) use ($subscription) { $name = strtolower(trim((string) ($subscription->service?->name ?? ''))); $q->whereRaw('LOWER(name) = ?', [$name]); }) ->whereNotNull('description') ->where('description', '!=', '') ->value('description') ?? '')); } @endphp
@if(session('status')) @endif @if($errors->any())
{{ $errors->first() }}
@endif
@csrf

Select payment method

All transaction methods are protected by the payment provider, responsible for processing and authorization.
Subscribe
${{ number_format($subscriptionAmount, 2) }} / month
Your subscription will be automatically charged every month, and can be canceled at any time.
One month
${{ number_format($subscriptionAmount, 2) }}
One time payment
Credit card payment
Wallet Balance
${{ number_format($availableBalance, 2) }}
{{ $hasSufficientBalance ? 'Remaining after payment: $' . number_format($remainingBalance, 2) : 'Insufficient amount. Remaining after payment: $' . number_format($remainingBalance, 2) }}
Wallet Balance ${{ number_format($availableBalance, 2) }} • {{ $hasSufficientBalance ? 'Remaining: $' . number_format($remainingBalance, 2) : 'Insufficient amount' }}
Skrill
Total amount ${{ number_format($totalPayable, 2) }}
Seats {{ $slotsTaken }}
Package amount ${{ number_format($subscriptionAmount, 2) }}
@if($serviceDescription !== '')
Service Description:
{!! nl2br(e($serviceDescription)) !!}
@endif @if(! $hasSufficientBalance)
Low Wallet Balance: ${{ number_format($availableBalance, 2) }}
You need ${{ number_format(max($totalPayable - $availableBalance, 0), 2) }} more to complete this subscription with your wallet.
@endif
Back to join page
@endsection @push('script') @endpush