@if($metaDesc = setting('seo_meta_description')) @endif @if($metaKeywords = setting('seo_meta_keywords')) @endif @if($fav = setting('brand_favicon')) @endif @if($ogImg = setting('seo_og_image')) @endif @if($gaId = setting('google_analytics_id')) @endif
@if(session('success') || session('error') || session('info'))
@if(session('success'))
Success: {{ session('success') }}
@endif @if(session('error'))
Error: {{ session('error') }}
@endif @if(session('info'))
Notice: {{ session('info') }}
@endif
@endif @if(empty($transaction->gateway)) @php $brandLogoBase64 = null; if ($logo = setting('brand_logo')) { $path = public_path('uploads/' . $logo); if (file_exists($path)) { $brandLogoBase64 = 'data:image/' . pathinfo($path, PATHINFO_EXTENSION) . ';base64,' . base64_encode(file_get_contents($path)); } } @endphp
@if($brandLogoBase64) {{ setting('brand_name', 'AroraPay') }} @else @endif
Pay Amount
{{ number_format($transaction->amount, 2) }} {{ $transaction->currency }}
Secure Payment

Select Payment Method

@csrf
@foreach($gateways as $gateway) @php $lowerName = strtolower($gateway->name); $gatewayKey = strtolower(explode(' ', $gateway->name)[0]); $fileName = strtolower(str_replace(' ', '', $gateway->name)) . '.png'; $logoPath = 'assets/gateways/' . $gatewayKey . '/' . $fileName; $hoverClass = ''; $subtitle = 'Instant Payment'; if (str_contains($lowerName, 'bkash')) { $hoverClass = 'hover-bkash'; $subtitle = 'Fast • Secure • Instant'; } elseif (str_contains($lowerName, 'nagad')) { $hoverClass = 'hover-nagad'; $subtitle = 'Instant • Reliable • Secure'; } elseif (str_contains($lowerName, 'rocket')) { $hoverClass = 'hover-rocket'; $subtitle = 'Mobile Banking'; } @endphp
@if(file_exists(public_path($logoPath))) {{ $gateway->name }} @else {{ strtoupper(substr($gateway->name, 0, 1)) }} @endif
{{ $gateway->display_name }} {{ $subtitle }}
@endforeach
@else @php $lowerName = strtolower($transaction->gateway); $gatewayType = 'default'; $themeClass = ''; $themeColor = 'var(--primary)'; if (str_contains($lowerName, 'bkash')) { $gatewayType = 'bkash'; $themeClass = 'text-bkash'; $themeColor = 'var(--bkash-color)'; } elseif (str_contains($lowerName, 'nagad')) { $gatewayType = 'nagad'; $themeClass = 'text-nagad'; $themeColor = 'var(--nagad-color)'; } elseif (str_contains($lowerName, 'rocket')) { $gatewayType = 'rocket'; $themeClass = 'text-rocket'; $themeColor = 'var(--rocket-color)'; } elseif (str_contains($lowerName, 'binance')) { $gatewayType = 'binance'; $themeClass = 'text-binance'; $themeColor = '#F0B90B'; } $methodAction = (str_contains($lowerName, 'merchant') || str_contains($lowerName, 'payment')) ? 'Payment' : 'Send Money'; $gName = explode(' ', $transaction->gateway)[0]; // BDT to USD conversion logic $usdRate = floatval(setting('usd_rate', 115)); if ($usdRate <= 0) $usdRate = 115; $isUsdGateway = false; $usdKeywords = ['binance', 'bybit', 'cryptomus', 'paddle', 'payeer', 'paypal', 'stripe']; foreach ($usdKeywords as $keyword) { if (str_contains($lowerName, $keyword)) { $isUsdGateway = true; break; } } $displayAmount = $transaction->amount; $displayCurrency = $transaction->currency; if ($isUsdGateway && $transaction->currency === 'BDT') { $displayAmount = $transaction->amount / $usdRate; $displayCurrency = isset($gatewayInfo->credentials['payment_currency']) ? $gatewayInfo->credentials['payment_currency'] : 'USDT'; } @endphp
@csrf
@if($gatewayType == 'bkash') bKash @elseif($gatewayType == 'nagad') Nagad @elseif($gatewayType == 'rocket') Rocket @else {{ strtoupper($gName) }} @endif
100% Secure
Amount to Pay
{{ number_format($displayAmount, 2) }} {{ $displayCurrency }}
@if($isUsdGateway && $transaction->currency === 'BDT')
Converted from {{ number_format($transaction->amount, 2) }} BDT
@endif
@if($gatewayType == 'bkash') @elseif($gatewayType == 'binance') @else @endif
@if($transaction->status === 'PENDING') @if(str_contains(strtolower($transaction->gateway), 'binance')) @php $binanceId = isset($gatewayInfo->credentials['binance_id']) ? $gatewayInfo->credentials['binance_id'] : '445094393'; $win = isset($gatewayInfo->credentials['verification_window']) ? $gatewayInfo->credentials['verification_window'] : '15'; @endphp
A
Merchant
AroraShop
{{ number_format($displayAmount, 2) }} {{ $displayCurrency }}
1
Send Money
Open Binance App → Pay → Send to Binance User or Click here
2
Send to Binance ID
Send to the following Binance ID
{{ $binanceId }}
3
Enter Amount
Enter the exact amount below in USDT
{{ number_format($displayAmount, 8, '.', '') }} USDT
4
Submit Order ID
Complete payment, then enter the Order ID below
@csrf
Note: Please verify within {{ $win }} minutes of making your payment
@else
1
Send Money
Go to your {{ $gName }} Mobile App
and choose
'{{ $methodAction }}'
2
Enter Number
Enter the following number
{{ isset($gatewayInfo) && $gatewayInfo->number ? $gatewayInfo->number : '017XXXXXXXX' }}
@if(isset($gatewayInfo) && $gatewayInfo->qr_code)
QR Scan QR
@endif
3
Enter Amount
Enter the amount
{{ number_format($transaction->amount, 2) }} BDT
4
Submit Transaction ID
Enter the Transaction ID below
@csrf
@endif @if(isset($gatewayInfo) && $gatewayInfo->qr_code)

Scan to Pay

Open {{ $gName }} app and scan the code

QR Code
@endif @else

Payment Verified!

@if(!empty($transaction->redirect_url))

Redirecting to merchant site in 3 seconds...

@php $redirectUrl = $transaction->redirect_url; $separator = str_contains($redirectUrl, '?') ? '&' : '?'; $finalUrl = $redirectUrl . $separator . 'status=SUCCESS&reference_id=' . urlencode($transaction->reference_id) . '&trx_id=' . urlencode($transaction->trx_id); @endphp Return to Merchant @else

You may now close this window and return to the merchant site.

@endif @endif @endif @if(setting('show_faq_on_checkout', 1) && !empty(setting('faqs'))) @php $faqsList = setting('faqs'); @endphp @if(is_array($faqsList) && count($faqsList) > 0)

Frequently Asked Questions

@foreach($faqsList as $faq) @if(!empty($faq['question']))
{{ $faq['question'] }}

{{ $faq['answer'] ?? '' }}

@endif @endforeach
@endif @endif
{{ setting('footer_text', '© ' . date('Y') . ' ' . setting('brand_name', 'AroraPay') . '. All rights reserved.') }}