@if (subscriptionProvider() === 'stripe') {{-- Plan Overview --}}

Plan Overview

{{-- Current Plan Card --}}
Current Plan
@if (data_get(currentTeam(), 'subscription')->type() == 'dynamic') Pay-as-you-go @else {{ data_get(currentTeam(), 'subscription')->type() }} @endif
@if (currentTeam()->subscription->stripe_cancel_at_period_end) Cancelling at end of period @else Active · Invoice {{ currentTeam()->subscription->stripe_invoice_paid ? 'paid' : 'not paid' }} @endif
{{-- Server Limit Card --}}
Paid Servers
{{ $server_limits }}
Included in your plan
{{-- Active Servers Card --}}
Active Servers
{{ currentTeam()->servers->count() }}
Currently running
@if (currentTeam()->serverOverflow()) You must delete {{ currentTeam()->servers->count() - $server_limits }} servers or upgrade your subscription. Excess servers will be deactivated. @endif
{{-- Manage Plan --}}

Manage Plan

Manage Billing on Stripe

Change your server quantity, update payment methods, or view invoices.

{{-- Refund Section --}} @if ($refundCheckLoading)

Refund

@elseif ($isRefundEligible && !currentTeam()->subscription->stripe_cancel_at_period_end)

Refund

You are eligible for a full refund. {{ $refundDaysRemaining }} days remaining in the 30-day refund window.

@elseif ($refundAlreadyUsed)

Refund

A refund has already been processed for this team. Each team is eligible for one refund only to prevent abuse.

@endif {{-- Resume / Cancel Subscription Section --}} @if (currentTeam()->subscription->stripe_cancel_at_period_end)

Resume Subscription

Resume Subscription

Your subscription is set to cancel at the end of the billing period. Resume to continue your plan.

@else

Cancel Subscription

Cancel your subscription immediately or at the end of the current billing period.

@endif
Need help? Contact us.
@endif