{{-- d:\projects\digitalvocano\resources\views\subscriptions\checkout.blade.php --}}

{{ __('Subscribe to') }} {{ $subscriptionPlan->name }}

Confirm Your Subscription

@if (session('info')) @endif @if (session('error')) @endif

{{ $subscriptionPlan->name }}

${{ number_format($subscriptionPlan->price, 2) }} / {{ $subscriptionPlan->interval_count > 1 ? $subscriptionPlan->interval_count : '' }} {{ Str::plural($subscriptionPlan->interval, $subscriptionPlan->interval_count) }}

@if($subscriptionPlan->description)

{{ $subscriptionPlan->description }}

@endif @if($subscriptionPlan->trial_period_days > 0)

{{ $subscriptionPlan->trial_period_days }}-day free trial included.

@endif
{{-- This is where your payment form will go. It will depend on the payment gateways you integrate (Stripe, PayPal, etc.). For now, it's a placeholder. The form action should point to the route that handles the subscription processing. --}}
{{-- --}} @csrf @if(count($paymentGateways) > 0)
{{-- Authorize.Net Specific Fields (Show when Authorize.Net is selected) --}} {{-- End Authorize.Net Fields --}} {{-- Placeholder for other payment gateway specific fields (e.g., Stripe Elements, PayPal button) --}} @else

No payment gateways are currently configured for this plan. Please contact support.

@endif
{{-- Determine environment for Accept.js --}} @php $authorizeNetMode = setting('authorizenet_mode', 'sandbox'); $acceptJsUrl = ($authorizeNetMode === 'live') ? 'https://js.authorize.net/v1/Accept.js' : 'https://jstest.authorize.net/v1/Accept.js'; @endphp @push('scripts') @endpush