@php $money = function ($amount, $currency) { $currency = strtoupper((string) $currency); $value = number_format((float) $amount, 2); return $currency === 'USD' ? '$'.$value.' USD' : 'PKR '.$value; }; @endphp
Secure Credit Deposit

Redirecting to PayFast

Deposit #{{ $deposit->id }}

{{ strtoupper($payment['mode'] ?? 'sandbox') }} {{ $money($payment['payfast_amount'], $payment['payfast_currency']) }} Account credit: {{ $money($payment['credit_amount'], $payment['credit_currency']) }} @if (($payment['credit_currency'] ?? '') !== ($payment['payfast_currency'] ?? '')) 1 {{ $payment['credit_currency'] }} = {{ number_format((float) ($payment['conversion_rate'] ?? 0), 5) }} PKR @endif
Next Step

Opening payment page

Do not refresh while the signed payment form is being submitted.

@foreach (($payment['fields'] ?? []) as $name => $value) @endforeach

If the page does not open automatically, click the button above.