@extends('layouts.app') @section('title') {{trans('general.my_cards')}} -@endsection @section('content')

{{trans('general.my_cards')}}

{{trans('general.info_my_cards')}}

@include('includes.cards-settings')
@if (session('success_removed'))
{{ session('success_removed') }}
@endif @if (session('success_message'))
{{ trans('general.payment_card_success') }}
@endif @if (session('error_message'))
{{ session('error_message') }}
@endif @if ($key_secret)

@if (auth()->user()->pm_type != '') {{ auth()->user()->pm_type }}
•••• •••• •••• {{ auth()->user()->pm_last_four }} {{ trans('general.expiry') }}: {{ $expiration }} @else {{ trans('general.not_card_added') }} @endif

{{ auth()->user()->pm_type == '' ? __('general.add') : __('admin.edit') }} @if (auth()->user()->pm_type != '')
@csrf
@endif
@endif @if ($paystackPayment)

@if (auth()->user()->paystack_card_brand != '') {{ auth()->user()->paystack_card_brand }}
•••• •••• •••• {{ auth()->user()->paystack_last4 }} {{ trans('general.expiry') }}: {{ auth()->user()->paystack_exp }} @else {{ trans('general.not_card_added') }} @endif {{ __('general.notice_charge_to_card', ['amount' => Helper::amountWithoutFormat($chargeAmountPaystack). ' '.$settings->currency_code ]) }}

@csrf
@if (auth()->user()->paystack_card_brand != '')
@csrf
@endif

@endif
{{ trans('general.info_payment_card') }}
@if (! $key_secret && ! $paystackPayment) @endif
@endsection