@extends('store.layout') @section('title', 'Order '.$order->number) @push('head')@endpush @section('content')
Check your phone: we sent an M-Pesa prompt for @kes($order->total). Enter your PIN to pay.
@elseif (session('stk_failed'))We couldn’t send the M-Pesa prompt. We’ll WhatsApp you on {{ $order->phone }} to complete payment @if ($paybill) or pay to Paybill {{ $paybill }} with account {{ $order->number }}@endif.
@endif @if ($order->status === 'pending_payment') @if ($order->payment_method === 'pay_on_pickup')Your order is reserved. Pay when you collect it at {{ $order->shop?->name }}, Shop {{ $order->shop?->code }}.
@elseif ($order->delivery_fee === null && $order->fulfilment === 'delivery')We’ll WhatsApp you shortly with the delivery fee for {{ $order->delivery_area }}, then send the M-Pesa prompt.
@elseif (! session('stk'))Awaiting payment of @kes($order->total).@if ($paybill) Pay to M-Pesa Paybill {{ $paybill }}, account {{ $order->number }}.@else We’ll WhatsApp you to complete payment.@endif
@endif @elseStatus: {{ $order->statusLabel() }}@if ($order->mpesa_receipt) · M-Pesa receipt {{ $order->mpesa_receipt }}@endif
@endifPickup: {{ $order->shop->name }}, Shop {{ $order->shop->code }} · {{ implode(' · ', $order->shop->hoursLines()) }}
@endifKeep this page’s link to check your order status.