@extends('checkout.layout') @php($partnerName = $session->partner->name) @php($providerName = ['mono' => 'Mono', 'paystack' => 'Paystack'][$provider ?? ''] ?? 'your bank') @php($downPaymentMinor = (int) ($application->down_payment_minor ?? 0)) @php($labels = $downPaymentMinor > 0 ? ['Bank statement', 'Your offer', 'Down payment', 'Repayment setup'] : ['Bank statement', 'Your offer', 'Repayment setup']) @php($of = count($labels)) @php($order = ['identity' => 1, 'statement' => 1, 'statement_fetching' => 1, 'review' => 1, 'preparing_offer' => 2, 'offer' => 2, 'down_payment' => 3, 'mandate' => $of]) @php($position = $order[$step] ?? null) @php($naira = fn ($minor) => '₦'.number_format(((int) $minor) / 100, 2)) @section('title', 'Pay Later checkout') @if(in_array($step, ['preparing_offer', 'review'], true)) @section('refresh', '20') @elseif($step === 'statement_fetching') @section('refresh', '8') @elseif($step === 'mandate' && $mandate?->authorization_url) @section('refresh', '15') @endif @section('content') @if($position)
    @foreach($labels as $i => $label)
  1. {{ $label }}
  2. @endforeach
@endif @switch($step) @case('identity') @php($saved = session('npd_checkout_access.bank.'.$session->reference, []))
Before we start

Confirm it is you

@if($identityFailed)@endif

To pay {{ $naira($application->requested_amount_minor) }} later at {{ $partnerName }}, NextPayDay checks your BVN against the bank account you repay from. This is a regulatory requirement.

@csrf

Your 11-digit Bank Verification Number. It is never shared with {{ $partnerName }}.

@if($banks) @else

We could not load the bank list. Refresh the page in a moment.

@endif

Use the account your income is paid into.

@break @case('statement') @php($saved = session('npd_checkout_access.bank.'.$session->reference, [])) @php($tenure = (int) old('tenure_months', data_get($application->metadata, 'tenure_months', 3))) @if(($bankStatement['status'] ?? null) === 'awaiting_ticket')
Step 1 of {{ $of }}

Enter the ticket from your bank

We asked {{ $bankStatement['bank_name'] ?? 'your bank' }} for the statement of the account ending {{ $bankStatement['account_last4'] ?? '' }}. Your bank has sent a text message with a ticket number and a password. It can take a few minutes to arrive.

@csrf
@csrf
@else
Step 1 of {{ $of }}

Check what you can borrow

Pay {{ $naira($application->requested_amount_minor) }} later at {{ $partnerName }}. We need your last 6 months of bank statements to work out an affordable plan.

@if(($bankStatement['status'] ?? null) === 'failed')@endif @if($bankStatementAvailable && $banks)
@csrf

Get it from your bank (fastest)

Your bank sends the statement to us directly. You will get a text with a ticket to confirm it.

Use the account your income is paid into.

Or upload a PDF statement instead @endif
@csrf

At least the last 6 months. Statements you upload are checked by our team before approval.

@if(session('statement_locked'))

Your bank locked this PDF. We only use the password to read this statement.

@endif
@if($bankStatementAvailable && $banks)
@endif
@endif @break @case('statement_fetching')
Step 1 of {{ $of }}

Getting your statement from your bank

Your bank is sending your statement and we are checking it. This usually takes a minute or two. This page refreshes by itself.

Check again
@break @case('review')
Being reviewed

We are reviewing your application

A member of our team is checking your statement. You can wait on this page (it refreshes by itself), or go back to {{ $partnerName }}. Once you are approved, {{ $partnerName }} will bring you back here to accept your offer.

Back to {{ $partnerName }}
@break @case('preparing_offer')
Almost there

Preparing your offer

You have been approved. We are putting your repayment plan together; this page refreshes by itself.

Refresh
@break @case('offer') @php($schedules = $facility->schedules)
Step 2 of {{ $of }}

Your Pay Later offer

@if($downPaymentMinor > 0)

You pay {{ $naira($downPaymentMinor) }} now to {{ $partnerName }} as a down payment, after you accept. NextPayDay pays the rest of your order.

@endif
@if($downPaymentMinor > 0)

Down payment now

{{ $naira($downPaymentMinor) }}
@endif

You borrow

{{ $naira($facility->principal_minor) }}

You repay in total

{{ $naira($schedules->sum('amount_due_minor')) }}

Payments

{{ $schedules->count() }}
@foreach($schedules as $schedule)@endforeach
#Due dateAmount
{{ $schedule->sequence }}{{ $schedule->due_date->format('d M Y') }}{{ $naira($schedule->amount_due_minor) }}
@csrf
@break @case('down_payment')
Step 3 of {{ $of }}

Pay your down payment

Your offer is accepted. Pay {{ $naira($downPaymentMinor) }} to {{ $partnerName }} now. When it is paid, {{ $partnerName }} brings you back here to set up repayment.

If you do not finish setting up repayment, {{ $partnerName }} refunds your down payment.

Pay {{ $naira($downPaymentMinor) }} at {{ $partnerName }}
@break @case('mandate') @php($saved = session('npd_checkout_access.bank.'.$session->reference, []))
Step {{ $of }} of {{ $of }}

Set up repayment with {{ $providerName }}

@foreach((array) session('mandate_notice', []) as $notice)

{{ $notice }}

@endforeach @if($mandate?->authorization_url)

Finish authorizing with {{ $providerName }}. When you are done you will come back here automatically, or check the status below.

@if($provider === 'paystack')

After you authorize, your bank can take up to 24 hours to activate Paystack Direct Debit.

@endif
Continue to {{ $providerName }}
@csrf
@if($provider === 'mono')
@csrf

A new link is available five minutes after the first one.

@endif @else @if($mandateFailed ?? false)@endif

{{ $providerName }} lets NextPayDay collect each payment on its due date. You will be sent to {{ $providerName }} to confirm, then back here.

@csrf
@if($banks) @else

We could not load the bank list. Refresh the page in a moment.

@endif
@if($needsBvn)

Your 11-digit Bank Verification Number. It links this account to you and is never shared with {{ $partnerName }}.

@endif
@endif @foreach($otherProviders ?? [] as $other)
@csrf
@endforeach

Both Mono and Paystack are needed before your order is paid. You can do them in either order.

@break @case('declined')
Application result

We could not offer Pay Later this time

Based on your statement, we are not able to approve this purchase on Pay Later. You can still pay for your order another way at {{ $partnerName }}.

Back to {{ $partnerName }}
@break @default
Pay Later checkout

This checkout has ended

{{ $step === 'expired' ? 'This link has expired.' : 'There is nothing more to do here.' }} Go back to {{ $partnerName }} to continue.

Back to {{ $partnerName }}
@endswitch @if(in_array($step, ['identity', 'statement', 'statement_fetching', 'review', 'preparing_offer', 'offer', 'down_payment', 'mandate'], true))
@csrf
@endif @endsection