Billing & Subscription

Manage your department subscription lifecycle using Stripe Checkout and Customer Portal.

@if (! $department)

No department is currently linked to this account.

@else

Department

{{ $department->name }}

Status

{{ $department->subscription_status?->label() ?? 'Inactive' }}

Trial Ends

{{ $department->trial_ends_at?->format('M d, Y h:i A') ?? 'N/A' }}

Current Period Ends

{{ $department->current_period_ends_at?->format('M d, Y h:i A') ?? ($department->stripe_subscription_id ? 'Sync pending' : 'N/A') }}

Period Started

{{ $department->subscription_started_at?->format('M d, Y h:i A') ?? 'N/A' }}

Cancellation

@if ($department->hasScheduledCancellation())

Scheduled: {{ $department->subscription_canceled_at?->format('M d, Y h:i A') }}

@elseif ($department->subscription_status?->value === 'canceled')

Canceled: {{ $department->subscription_canceled_at?->format('M d, Y h:i A') ?? 'Recorded by Stripe' }}

@else

Not scheduled

@endif
Refresh @if ($department->stripe_customer_id) Manage Billing @endif

Available Evaluations

{{ $department->available_evaluation_credits }}

Used Evaluations

{{ $department->consumed_evaluation_credits }}

Available Certifications

{{ $department->available_certification_credits }}

Used Certifications

{{ $department->consumed_certification_credits }}

@if ($showPlanChooser)

{{ $monthlyPlan['interval_label'] ?? 'Monthly' }}

{{ $monthlyPlan['label'] ?? 'Monthly Plan' }}

{{ $monthlyPlan['description'] ?? 'Billed monthly through Stripe.' }}

Start Monthly Plan

{{ $yearlyPlan['interval_label'] ?? 'Yearly' }}

{{ $yearlyPlan['label'] ?? 'Yearly Plan' }}

{{ $yearlyPlan['description'] ?? 'Billed yearly through Stripe.' }}

Start Yearly Plan
@endif
@forelse ($evaluationProducts as $product)

{{ $product->product_type->label() }}

{{ $product->name }}

{{ $product->description ?: 'Configured through Stripe checkout.' }}

{{ $product->credit_quantity }} credit{{ $product->credit_quantity === 1 ? '' : 's' }}

{{ $product->formattedPrice() }}{{ $product->supportsVariablePurchaseQuantity() ? ' each' : '' }}

@if ($product->supportsVariablePurchaseQuantity()) @php($purchaseQuantity = $productQuantities[$product->id] ?? 1)

Quantity

{{ $purchaseQuantity }}

Total: {{ $product->formattedPriceForQuantity($purchaseQuantity) }}

@endif Purchase
@empty

No evaluation credit products are active yet.

@endforelse
@forelse ($certificationProducts as $product)

{{ $product->product_type->label() }}

{{ $product->name }}

{{ $product->description ?: 'Configured through Stripe checkout.' }}

{{ $product->credit_quantity }} certification credit{{ $product->credit_quantity === 1 ? '' : 's' }}

{{ $product->formattedPrice() }}

Purchase
@empty

No proctor certification products are active yet.

@endforelse
@endif