@include('admin.components.payment-gateway.automatic.credentials',['gateway' => $gateway])
{{-- Production/Sandbox Switcher --}}
@include('admin.components.form.switcher', [
'label' => __("Gateway Environment"),
'value' => old('mode',$gateway->env),
'name' => "mode",
'options' => [__('Production') => payment_gateway_const()::ENV_PRODUCTION, __('Sandbox') => payment_gateway_const()::ENV_SANDBOX],
])
{{-- Crypto details button --}}
@if ($gateway->isTatum($gateway))
@include('admin.components.link.custom',[
'href' => setRoute('admin.crypto.assets.gateway.index', $gateway->alias),
'permission' => 'admin.crypto.assets.gateway.index',
'text' => __("Crypto Assets"),
'icon' => 'las la-info-circle me-2',
'class' => 'btn--base',
])
@endif
@if ($gateway->isRazorpay($gateway))
{{ __("Callback URL") }}
{{ setRoute('user.add.money.payment.callback',[$gateway->alias, 'token' => payment_gateway_const()::CALLBACK_HANDLE_INTERNAL]) }}
@endif