@extends('layouts.app')
@section('content')
<h1 class="text-xl font-semibold mb-4">AzamPay Test Checkout</h1>
<form method="post" action="{{ route('azampay.test.start') }}" class="p-4 bg-white rounded shadow w-full max-w-md">
@csrf
  <label class="block mb-2">Amount (TZS)</label>
  <input name="amount" type="number" value="2000" class="border p-2 w-full mb-4">
  <label class="block mb-2">Return URL (optional)</label>
  <input name="return_url" type="url" placeholder="{{ url('/') }}" class="border p-2 w-full mb-4">
  <button class="bg-blue-600 text-white px-4 py-2 rounded">Start Checkout</button>
</form>
<p class="text-sm text-gray-600 mt-4">Webhook endpoint: <code>/api/webhooks/payments/azam_pay</code></p>
@endsection
