@extends('layouts.app') @section('title', 'Pilih Metode Pembayaran Xendit') @section('content')
{{-- Header --}}

Pilih Metode Pembayaran

Order #{{ $order->order_number }}

{{-- Content --}}
{{-- Order Summary --}}

Ringkasan Pesanan

Total Pembayaran Rp {{ number_format($order->total, 0, ',', '.') }}
Status Menunggu Pembayaran
{{-- Payment Methods --}}

Metode Pembayaran

@csrf @php $groupedChannels = collect($channels)->groupBy('type'); @endphp {{-- Virtual Account --}} @if(isset($groupedChannels['virtual_account']))

Virtual Account

@foreach($groupedChannels['virtual_account'] as $code => $channel) @endforeach
@endif {{-- E-Wallet --}} @if(isset($groupedChannels['ewallet']))

E-Wallet

@foreach($groupedChannels['ewallet'] as $code => $channel) @endforeach
@endif {{-- QRIS --}} @if(isset($groupedChannels['qris']))

QRIS

@foreach($groupedChannels['qris'] as $code => $channel) @endforeach
@endif {{-- Retail --}} @if(isset($groupedChannels['retail']))

Retail Outlet

@foreach($groupedChannels['retail'] as $code => $channel) @endforeach
@endif {{-- Submit Button --}}
{{-- Payment Info --}}

Informasi Penting:

  • Anda akan diarahkan ke halaman pembayaran Xendit
  • Pembayaran diproses secara real-time
  • Status pesanan akan otomatis terupdate setelah pembayaran sukses
@endsection