@include('partials.public-share-meta', [ 'shareTitle' => 'Secure Payment — '.config('company.name', 'Avi The Jeweler'), 'shareDescription' => 'Complete your secure card payment with Avi The Jeweler.', 'shareUrl' => url()->current(), ])
@include('partials.company-checkout-brand')

{{ $paymentRequest->isLayawayPayment() ? 'Secure layaway payment' : 'Secure Payment' }}

{{ $paymentRequest->description }}

@if($paymentRequest->isLayawayPayment() && $layawayPlan) {{ $paymentRequest->layawayPaymentHeading() }}

Layaway plan total: ${{ number_format($layawayPlan->total_amount, 2) }} @if($layawayPlan->amount_paid > 0) · Balance due: ${{ number_format($layawayPlan->balance_due, 2) }} @endif

@endif @if(session('error'))
{{ session('error') }}
@endif @if(session('success'))
{{ session('success') }}
@endif @if($transactionId)
Thank you. Your payment was received. Reference: {{ $transactionId }}
@elseif(!$isPayable)
@if($paymentRequest->payment_status === \App\Models\NmiPaymentRequest::STATUS_PAID) This payment link has already been used. @elseif($paymentRequest->payment_status === \App\Models\NmiPaymentRequest::STATUS_VOIDED) This payment was voided and is no longer valid. Please contact us for a new link. @elseif($paymentRequest->payment_status === \App\Models\NmiPaymentRequest::STATUS_EXPIRED) This payment link has expired. @if(empty($canCustomerSelfReactivate)) Please contact us for a new link. @endif @elseif(trim((string) $checkoutPublicKey) === '') Payment is not configured. Please contact us. @elseif(trim((string) $paymentRequest->nmi_product_sku) === '') Payment product is missing. Please contact us for a new link. @else This payment link is not available right now. @endif
@if($paymentRequest->payment_status === \App\Models\NmiPaymentRequest::STATUS_EXPIRED && !empty($canCustomerSelfReactivate)) @php $reactivationChannels = app(\App\Services\PublicReactivationOtpService::class)->channels($paymentRequest); @endphp @if(!empty($reactivationChannels['sms']) || !empty($reactivationChannels['email'])) @include('partials.public-reactivation-otp', [ 'token' => $paymentRequest->token, 'reactivationChannels' => $reactivationChannels, 'otpSendUrl' => route('nmi-payment.customer-reactivate-send', ['token' => $paymentRequest->token]), 'otpVerifyUrl' => route('nmi-payment.customer-reactivate-verify', ['token' => $paymentRequest->token]), 'otpButtonClass' => 'pay-btn', 'otpSecondaryClass' => 'pay-btn', 'otpExpiryHours' => (int) ($settings->link_expiry_hours ?? 48), ]) @else

Please contact us for a new link.

@endif @endif @else
@if($paymentRequest->isLayawayPayment() && $layawayPlan) @php $layawayBalanceAfter = round(max(0, (float) $layawayPlan->balance_due - (float) $paymentRequest->total_amount), 2); @endphp
Balance due${{ number_format($layawayPlan->balance_due, 2) }}
You pay today${{ number_format($paymentRequest->total_amount, 2) }}
@if($layawayBalanceAfter > 0.005)
Balance after this payment${{ number_format($layawayBalanceAfter, 2) }}
@endif @else
Subtotal${{ number_format($paymentRequest->subtotal, 2) }}
@if($paymentRequest->hasTax())
Tax ({{ rtrim(rtrim(number_format($paymentRequest->tax_rate_percent, 2), '0'), '.') }}%)${{ number_format($paymentRequest->tax_amount, 2) }}
@endif
Total${{ number_format($paymentRequest->total_amount, 2) }}
@endif
@if($paymentRequest->isLayawayPayment())
Layaway deposit
After payment, we'll email and text you a secure link to sign your card authorization and complete identity verification.
@else
Private secure checkout
For custom payment amounts, you will be notified to complete a credit card authorization and identity verification.
@endif @if($paymentRequest->isLayawayPayment())
@endif
@if($paymentRequest->isLayawayPayment() && !empty($layawayBackUrl)) Back @endif
Redirecting to secure checkout…
@endif
@if($paymentRequest->isLayawayPayment() && !empty($layawayTermsHtml)) @endif @if($isPayable && !$transactionId) @endif