@extends('layouts.app') @section('title') iServeU Card Settings | {{ config('app.name') }} @endsection @section('content')

iServeU Card Settings

@include('backend.settings.sidebar')
@csrf

iServeU Prepaid Card (Xpress Card)

@if ($errors->any())
{{ $errors->first() }}
@endif
Keep Off on production. The console can create customers and move money.
@php $fields = [ 'base_url' => ['Base URL', false], 'api_username' => ['API Username', false], 'client_id' => ['Client ID', true], 'client_secret' => ['Client Secret', true], 'header_key' => ['Header Secrets Encryption Key', true], 'payload_key' => ['Request/Response Payload Key', true], 'card_data_key' => ['Card Data Key (AES-GCM, decrypts card number / CVV)', true], 'pin_key' => ['PIN Encryption Key (AES-GCM, for Reset PIN)', true], ]; @endphp
@foreach (['test' => 'Test (UAT) Credentials', 'live' => 'Live (Production) Credentials'] as $mode => $heading)
{{ $heading }}
@foreach ($fields as $name => [$label, $secret]) @php $key = "iserveu_{$mode}_{$name}"; @endphp
@if ($secret) @endif
@endforeach
@endforeach
@endsection @section('scripts') @endsection