{{ $student->first_name . ' ' . $student->last_name }} | Credit Card Management

Manage saved cards and resend a secure link to update payment information.

@if(!isset($paymentSources) || count($paymentSources) == 0)
No card on file. Send a secure link to add a credit card.
@endif
@if(isset($paymentSources) && (count($paymentSources) > 0)) @foreach($paymentSources as $paymentSource) @endforeach @else @endif
Primary Card Expire Status Delete
count() == 1 || $paymentSource->is_primary == 1) ? 'checked' : '' }} >
{!! getCardIcon($paymentSource->brand) !!} •••• {{ $paymentSource->last_four }}
Brand: {{ ucfirst($paymentSource->brand) }}
{{ getMonthName($paymentSource->exp_month).' / '.$paymentSource->exp_year }} @php $status = strtolower($paymentSource->status ?? ''); $badge = 'secondary'; if (in_array($status, ['active', 'valid'])) $badge = 'success'; if (in_array($status, ['expired', 'invalid'])) $badge = 'danger'; if (in_array($status, ['pending'])) $badge = 'warning'; @endphp {{ $paymentSource->status }}

No credit card information has been added yet.

How will you pay?
*
@php $gateway = $paymentSources->where('is_primary', 1)->first(); @endphp