Explorer
home
/
zoteqbgb
/
public_html
/
resources
/
views
/
paymentGateways
/
razorpay
Location:
/home/zoteqbgb/public_html/resources/views/paymentGateways/razorpay
Root path:
/home/zoteqbgb/public_html/config/676626
Editing: razorpayJs.blade.php
@php $razorpayKey = ""; @endphp @if(!blank($paymentGateways)) @foreach($paymentGateways as $paymentGateway) @if($paymentGateway->slug === 'razorpay') @php $paymentGatewayOption = $paymentGateway->gatewayOptions->pluck('value', 'option'); $razorpayKey = $paymentGatewayOption['razorpay_key']; @endphp @endif @endforeach @endif <script src="https://checkout.razorpay.com/v1/checkout.js"></script> <script> const razorpayKey = '<?= $razorpayKey ?>'; const razorpayTotalAmount = '<?= $order->total ?>'; const razorpayCurrencyCode = '<?= $currency->code ?>'; const razorpayCompany = '<?= $company['company_name'] ?>'; const razorpayLogo = '<?= $logo->logo ?>'; const razorpayUserName = '<?= $order->user?->name ?>'; const razorpayUserEmail = '<?= $order->user?->email ?>'; const razorpayPayLink = '<?= route('payment.store', ['order' => $order]) ?>'; const razorpaySuccessLink = '<?= route('payment.successful', ['order' => $order]) ?>'; const razorpayCancelLink = '<?= route('payment.cancel', ['order' => $order, 'paymentGateway' => 'razorpay']) ?>'; </script> <script src="{{ asset('paymentGateways/razorpay/razorpay.js') }}"></script>
Save maftirs
Upload
Start Upload
New File
Create File
New Folder
Create Folder
Directory Contents
Name
Size
Perms
Modified
Actions
razorpayJs.blade.php
1,273 bytes
0644
2025-04-25 02:11
âï¸
ðï¸
Rename
Chang
Apply