@extends('layouts.master') @section('title', 'Payment Checkout - HomesInKerala') @section('content')

Payment Checkout

Complete your payment securely using Razorpay, Stripe, or PayPal.

Payment Summary

Description: {{ $payment->description }}

Amount: {{ $payment->currency }} {{ number_format((float) $payment->amount, 2) }}

Status: {{ Str::headline($payment->status) }}

Choose Gateway

@foreach(['razorpay' => 'Razorpay', 'stripe' => 'Stripe', 'paypal' => 'PayPal'] as $gateway => $label) @if($gateways->has($gateway))
@csrf
@endif @endforeach
@if(data_get($payment->gateway_payload, 'mode') === 'local_fallback')
Gateway credentials are not configured. For local development, you can simulate a successful payment. Confirm local payment.
@endif @if($payment->gateway === 'razorpay' && $payment->gateway_order_id && data_get($payment->gateway_payload, 'key')) @endif
@endsection