@extends('layouts.app') @section('title', 'Payment') @section('content')
@if($payment->isCompleted())

Payment received

Thank you, {{ $payment->member->firstName() }}. Your membership is active.

Go to my account and card @elseif($payment->isPending())

Confirm the payment on your phone

Selcom payment prompt
Pay {{ $payment->formattedAmount() }} to MALKIA WA NGUVU
Phone: {{ '0'.substr($payment->msisdn, 3) }}

Enter your mobile money PIN to confirm.

Waiting for confirmation. This page updates by itself.

No prompt on your phone?
@csrf
@error('msisdn')
{{ $message }}
@enderror
@if($payment->gateway_url)

Or pay on the Selcom payment page (card, QR or another wallet).

@endif
@if($simulate)
@csrf
Test mode: Selcom is simulated on this server.
@endif @else

Payment not completed

The payment was {{ $payment->status }}. No money was taken. You can try again.

@csrf
@endif

Order summary

Member{{ $payment->member->name }}
Level{{ $payment->tier->name }}
Type{{ $payment->type === 'new' ? 'New membership' : 'Renewal' }} ยท 1 year
Order{{ $payment->order_id }}
Total{{ $payment->formattedAmount() }}

Payments are processed securely by Selcom. Keep the confirmation SMS from your mobile money provider.

@endsection @if($payment->isPending()) @push('scripts') @endpush @endif