@php $pageTitle = '模拟支付 - '.$siteName; @endphp
@include('partials.head')
<body>
@include('partials.header')
<div class="container auth-layout">
    <main class="auth-box">
        <h1 class="list-title">模拟支付（沙箱）</h1>
        <div class="profile-box" style="border:none;padding:0;">
            <p><strong>订单号：</strong>{{ $payment->order_no }}</p>
            <p><strong>商品：</strong>{{ $payment->subject }}</p>
            <p><strong>金额：</strong>¥{{ number_format($payment->amount / 100, 2) }}</p>
            <p><strong>渠道：</strong>{{ $payment->channel }}</p>
            <p class="text-muted" style="color:#999;font-size:13px;">沙箱模式：点击下方按钮模拟支付成功</p>
        </div>
        <form action="{{ route('pay.sandbox.confirm', $payment->order_no) }}" method="post">
            @csrf
            <button type="submit" class="btn btn-primary">确认支付（模拟）</button>
        </form>
        <p class="auth-alt"><a href="{{ route('home') }}">取消，返回首页</a></p>
    </main>
</div>
@include('partials.footer')
</body>
</html>
