@php use App\Models\PaymentMethods; @endphp @extends('layouts/contentLayoutMaster') @section('title', $gateway->name) @section('content') {{-- Vertical Tabs start --}}

{{ $gateway->name }}

@switch($gateway->type) @case(PaymentMethods::TYPE_PAYPAL)

{!! __('locale.description.paypal') !!}

@break @case(PaymentMethods::TYPE_BRAINTREE)

{!! __('locale.description.braintree') !!}

@break @case(PaymentMethods::TYPE_STRIPE)

{!! __('locale.description.stripe') !!}

@break @case(PaymentMethods::TYPE_AUTHORIZE_NET)

{!! __('locale.description.authorize_net') !!}

@break @case(PaymentMethods::TYPE_2CHECKOUT)

{!! __('locale.description.2checkout') !!}

@break @case(PaymentMethods::TYPE_PAYSTACK)

{!! __('locale.description.paystack', ['callback_url' => route('customer.callback.paystack')]) !!}

@break @case(PaymentMethods::TYPE_PAYNOW)

{!! __('locale.description.paynow') !!}

@break @case(PaymentMethods::TYPE_RAZORPAY)

{!! __('locale.description.razorpay',[ 'callback_url_senderid' => route('customer.callback.razorpay.senderid'), 'callback_url_keywords' => route('customer.callback.razorpay.keywords'), 'callback_url_subscriptions' => route('customer.callback.razorpay.subscriptions'), 'callback_url_numbers' => route('customer.callback.razorpay.numbers'), 'callback_url_topup' => route('customer.callback.razorpay.top_up'), ])!!}

@break @case(PaymentMethods::TYPE_PAYHERELK)

{!! __('locale.description.payherelk', ['app_url' => config('app.url')]) !!}

@break @case(PaymentMethods::TYPE_EASYPAY)

{!! __('locale.description.easypay', ['app_name' => config('app.name')]) !!}

@break @endswitch
@method('PUT') @csrf

{{__('locale.payment_gateways.rename_name')}}

@error('name')
{{ $message }}
@enderror
@if($gateway->type == PaymentMethods::TYPE_PAYPAL || $gateway->type == PaymentMethods::TYPE_SMANAGER)
@error('environment')
{{ $message }}
@enderror
@error('client_id')
{{ $message }}
@enderror
@error('secret')
{{ $message }}
@enderror
@elseif($gateway->type == PaymentMethods::TYPE_BRAINTREE)
@error('environment')
{{ $message }}
@enderror
@error('merchant_id')
{{ $message }}
@enderror
@error('public_key')
{{ $message }}
@enderror
@error('private_key')
{{ $message }}
@enderror
@elseif($gateway->type == PaymentMethods::TYPE_STRIPE)
@error('environment')
{{ $message }}
@enderror
@error('publishable_key')
{{ $message }}
@enderror
@error('secret_key')
{{ $message }}
@enderror
@elseif($gateway->type == PaymentMethods::TYPE_AUTHORIZE_NET)
@error('environment')
{{ $message }}
@enderror
@error('login_id')
{{ $message }}
@enderror
@error('transaction_key')
{{ $message }}
@enderror
@elseif($gateway->type == PaymentMethods::TYPE_2CHECKOUT)
@error('environment')
{{ $message }}
@enderror
@error('merchant_code')
{{ $message }}
@enderror
@error('private_key')
{{ $message }}
@enderror
@elseif($gateway->type == PaymentMethods::TYPE_PAYSTACK)
@error('public_key')
{{ $message }}
@enderror
@error('secret_key')
{{ $message }}
@enderror
@error('merchant_email')
{{ $message }}
@enderror
@elseif($gateway->type == PaymentMethods::TYPE_PAYU)
@error('client_id')
{{ $message }}
@enderror
@error('client_secret')
{{ $message }}
@enderror
@elseif($gateway->type == PaymentMethods::TYPE_SLYDEPAY)
@error('merchant_email')
{{ $message }}
@enderror
@error('merchant_secret')
{{ $message }}
@enderror
@elseif($gateway->type == PaymentMethods::TYPE_PAYNOW)
@error('integration_id')
{{ $message }}
@enderror
@error('integration_key')
{{ $message }}
@enderror
@elseif($gateway->type == PaymentMethods::TYPE_COINPAYMENTS)
@error('merchant_id')
{{ $message }}
@enderror
@elseif($gateway->type == PaymentMethods::TYPE_INSTAMOJO)
@error('api_key')
{{ $message }}
@enderror
@error('auth_token')
{{ $message }}
@enderror
@elseif($gateway->type == PaymentMethods::TYPE_PAYGATEGLOBAL)
@error('api_key')
{{ $message }}
@enderror
@elseif($gateway->type == PaymentMethods::TYPE_PAYUMONEY)
@error('environment')
{{ $message }}
@enderror
@error('merchant_key')
{{ $message }}
@enderror
@error('merchant_salt')
{{ $message }}
@enderror
@elseif($gateway->type == PaymentMethods::TYPE_RAZORPAY)
@error('environment')
{{ $message }}
@enderror
@error('key_id')
{{ $message }}
@enderror
@error('key_secret')
{{ $message }}
@enderror
@elseif($gateway->type == PaymentMethods::TYPE_SSLCOMMERZ)
@error('environment')
{{ $message }}
@enderror
@error('store_id')
{{ $message }}
@enderror
@error('store_passwd')
{{ $message }}
@enderror
@elseif($gateway->type == PaymentMethods::TYPE_AAMARPAY)
@error('environment')
{{ $message }}
@enderror
@error('store_id')
{{ $message }}
@enderror
@error('signature_key')
{{ $message }}
@enderror
@elseif($gateway->type == PaymentMethods::TYPE_FLUTTERWAVE)
@error('environment')
{{ $message }}
@enderror
@error('public_key')
{{ $message }}
@enderror
@error('secret_key')
{{ $message }}
@enderror
@elseif($gateway->type == PaymentMethods::TYPE_DIRECTPAYONLINE)
@error('environment')
{{ $message }}
@enderror
@error('company_token')
{{ $message }}
@enderror
@error('account_type')
{{ $message }}
@enderror
@elseif($gateway->type == PaymentMethods::TYPE_ORANGEMONEY)
@error('payment_url')
{{ $message }}
@enderror
@error('merchant_key')
{{ $message }}
@enderror
@error('auth_header')
{{ $message }}
@enderror
@elseif($gateway->type == PaymentMethods::TYPE_CINETPAY)
@error('payment_url')
{{ $message }}
@enderror
@error('api_key')
{{ $message }}
@enderror
@error('site_id')
{{ $message }}
@enderror
@error('secret_key')
{{ $message }}
@enderror
@elseif($gateway->type == PaymentMethods::TYPE_AZAMPAY)
@error('environment')
{{ $message }}
@enderror
@error('app_name')
{{ $message }}
@enderror
@error('account_number')
{{ $message }}
@enderror
@error('client_id')
{{ $message }}
@enderror
@error('client_secret')
{{ $message }}
@enderror
@error('provider')
{{ $message }}
@enderror
@elseif($gateway->type == PaymentMethods::TYPE_VODACOMMPESA)
@error('payment_url')
{{ $message }}
@enderror
@error('apiKey')
{{ $message }}
@enderror
@error('publicKey')
{{ $message }}
@enderror
@error('serviceProviderCode')
{{ $message }}
@enderror
@elseif($gateway->type == PaymentMethods::TYPE_PAYHERELK)
@error('environment')
{{ $message }}
@enderror
@error('merchant_id')
{{ $message }}
@enderror
@error('merchant_secret')
{{ $message }}
@enderror
@error('app_id')
{{ $message }}
@enderror
@error('app_secret')
{{ $message }}
@enderror
@elseif($gateway->type == PaymentMethods::TYPE_MOLLIE)
@error('environment')
{{ $message }}
@enderror
@error('api_key')
{{ $message }}
@enderror
@elseif($gateway->type == PaymentMethods::TYPE_EASYPAY)
@error('environment')
{{ $message }}
@enderror
@error('payment_url')
{{ $message }}
@enderror
@error('account_id')
{{ $message }}
@enderror
@error('api_key')
{{ $message }}
@enderror
@error('merchant_key')
{{ $message }}
@enderror
@elseif($gateway->type == PaymentMethods::TYPE_FEDAPAY)
@error('environment')
{{ $message }}
@enderror
@error('public_key')
{{ $message }}
@enderror
@error('secret_key')
{{ $message }}
@enderror
@elseif($gateway->type == PaymentMethods::TYPE_SELCOMMOBILE)
@error('payment_url')
{{ $message }}
@enderror
@error('vendor')
{{ $message }}
@enderror
@error('api_key')
{{ $message }}
@enderror
@error('api_secret')
{{ $message }}
@enderror
@elseif($gateway->type == PaymentMethods::TYPE_LIQPAY)
@error('public_key')
{{ $message }}
@enderror
@error('private_key')
{{ $message }}
@enderror
@elseif($gateway->type == PaymentMethods::TYPE_PAYTECH)
@error('environment')
{{ $message }}
@enderror
@error('api_key')
{{ $message }}
@enderror
@error('api_secret')
{{ $message }}
@enderror
@elseif($gateway->type == PaymentMethods::TYPE_MPGS)
@error('payment_url')
{{ $message }}
@enderror
@error('api_version')
{{ $message }}
@enderror
@error('merchant_id')
{{ $message }}
@enderror
@error('authentication_password')
{{ $message }}
@enderror
@error('merchant_name')
{{ $message }}
@enderror
@error('merchant_address')
{{ $message }}
@enderror
@elseif($gateway->type == PaymentMethods::TYPE_0XPROCESSING)
@error('environment')
{{ $message }}
@enderror
@error('merchant_id')
{{ $message }}
@enderror
@error('api_key')
{{ $message }}
@enderror
@elseif($gateway->type == PaymentMethods::TYPE_CASH)
@error('payment_details')
{{ $message }}
@enderror
@error('payment_confirmation')
{{ $message }}
@enderror
@else

{{ __('locale.payment_gateways.not_found') }}

@endif
{{-- Vertical Tabs end --}} @endsection