@extends('admin.layouts.main') @section('title', $gateway->exists ? 'Edit Payment Gateway' : 'Create Payment Gateway') @section('menu', 'Payment Gateways') @section('content')
@csrf @if($gateway->exists) @method('PUT') @endif
Gateway Details
@if ($errors->has('name')){{ $errors->first('name') }}@endif
@if ($errors->has('driver')){{ $errors->first('driver') }}@endif
@if ($errors->has('display_name')){{ $errors->first('display_name') }}@endif
@if ($errors->has('display_order')){{ $errors->first('display_order') }}@endif
@if ($errors->has('description')){{ $errors->first('description') }}@endif
If provided, customer must enter a Transaction Reference when paying with this method. @if ($errors->has('instructions')){{ $errors->first('instructions') }}@endif
Transaction Fees
@if ($errors->has('transaction_fee_type')){{ $errors->first('transaction_fee_type') }}@endif
@if ($errors->has('transaction_fee_value')){{ $errors->first('transaction_fee_value') }}@endif
@if ($errors->has('transaction_fee_fixed')){{ $errors->first('transaction_fee_fixed') }}@endif
Credentials
@php $creds = old('credentials', $gateway->credentials ?? []); @endphp @if ($errors->has('credentials')){{ $errors->first('credentials') }}@endif @if ($errors->has('credentials_data')){{ $errors->first('credentials_data') }}@endif
Options
@if ($errors->has('status')){{ $errors->first('status') }}@endif
is_sandbox) ? 'checked' : '' }}>
supports_refund) ? 'checked' : '' }}>
supports_recurring) ? 'checked' : '' }}>
Publish
@endsection @push('custom-scripts') @endpush