@extends('user.layout') @php $selLang = \App\Models\User\Language::where([ ['code', request()->input('language')], ['user_id', \Illuminate\Support\Facades\Auth::guard('web')->user()->id], ])->first(); $userDefaultLang = \App\Models\User\Language::where([ ['user_id', \Illuminate\Support\Facades\Auth::guard('web')->user()->id], ['is_default', 1], ])->first(); $userLanguages = \App\Models\User\Language::where( 'user_id', \Illuminate\Support\Facades\Auth::guard('web')->user()->id, )->get(); $user = Auth::guard('web')->user(); $activePackage = \App\Http\Helpers\UserPermissionHelper::currentPackagePermission($user->id); $packageName = $activePackage ? strtolower($activePackage->title) : ''; @endphp @if (!empty($selLang) && $selLang->rtl == 1) @section('styles') @endsection @endif @section('content')
{{-- Paystack --}}
@csrf
{{ __('Paystack') }}
@csrf @php if ($paystack) { if (!is_null($paystack->information)) { $paystackInfo = json_decode($paystack->information, true); } else { $paystackInfo = []; } } else { $paystackInfo = []; } @endphp
@if ($errors->has('key'))

{{ $errors->first('key') }}

@endif
{{-- Mollie --}}
@csrf
{{ __('Mollie Payment') }}
@csrf @php if ($mollie) { if (!is_null($mollie->information)) { $mollieInfo = json_decode($mollie->information, true); } else { $mollieInfo = []; } } else { $mollieInfo = []; } @endphp
@if ($errors->has('key'))

{{ $errors->first('key') }}

@endif
{{-- Yoco --}}
@csrf
{{ __('Yoco') }}
@if ($errors->has('status'))

{{ $errors->first('status') }}

@endif
@php if (!empty($yoco)) { $yocoInfo = json_decode($yoco->information, true); } else { $yocoInfo = []; } @endphp
@if ($errors->has('secret_key'))

{{ $errors->first('secret_key') }}

@endif
{{-- xendit --}}
@csrf
{{ __('Xendit') }}
@if ($errors->has('status'))

{{ $errors->first('status') }}

@endif
@php if (!empty($xendit)) { $xenditInfo = json_decode(@$xendit->information, true); } else { $xenditInfo = []; } @endphp
@if ($errors->has('secret_key'))

{{ $errors->first('secret_key') }}

@endif
{{-- Perfect Money --}}
@csrf
{{ __('Perfect Money') }}
@if ($errors->has('status'))

{{ $errors->first('status') }}

@endif
@php if (!empty($perfect_money)) { $perfect_moneyInfo = json_decode($perfect_money->information, true); } else { $perfect_moneyInfo = []; } @endphp
@if ($errors->has('perfect_money_wallet_id'))

{{ $errors->first('perfect_money_wallet_id') }}

@endif

{{ __('You will get wallet id form here') }}

https://prnt.sc/bM3LqLXBduaq
{{-- MercadoPago --}}
@csrf
{{ __('Mercadopago') }}
@csrf @php if ($mercadopago) { if (!is_null($mercadopago->information)) { $mercadopagoInfo = json_decode($mercadopago->information, true); } else { $mercadopagoInfo = []; } } else { $mercadopagoInfo = []; } @endphp
@if ($errors->has('token'))

{{ $errors->first('token') }}

@endif
{{-- Flutterwave --}}
@csrf
{{ __('Flutterwave') }}
@csrf @php if ($flutterwave) { if (!is_null($flutterwave->information)) { $flutterwaveInfo = json_decode($flutterwave->information, true); } else { $flutterwaveInfo = []; } } else { $flutterwaveInfo = []; } @endphp
@if ($errors->has('public_key'))

{{ $errors->first('public_key') }}

@endif
@if ($errors->has('secret_key'))

{{ $errors->first('secret_key') }}

@endif
@if ($packageName === 'premium') {{-- Razorpay --}}
@csrf
{{ __('Razorpay') }}
@csrf @php if ($razorpay) { if (!is_null($razorpay->information)) { $razorpayInfo = json_decode($razorpay->information, true); } else { $razorpayInfo = []; } } else { $razorpayInfo = []; } @endphp
@if ($errors->has('key'))

{{ $errors->first('key') }}

@endif
@if ($errors->has('secret'))

{{ $errors->first('secret') }}

@endif
@endif {{-- Stripe --}}
@csrf
{{ __('Stripe') }}
@csrf @php if ($stripe) { if (!is_null($stripe->information)) { $stripeInfo = json_decode($stripe->information, true); } else { $stripeInfo = []; } } else { $stripeInfo = []; } @endphp
@if ($errors->has('key'))

{{ $errors->first('key') }}

@endif
@if ($errors->has('secret'))

{{ $errors->first('secret') }}

@endif
{{-- myfatoorah --}}
@csrf
{{ __('MyFatoorah') }}
@if ($errors->has('status'))

{{ $errors->first('status') }}

@endif
@php if (!empty($myfatoorah)) { $myfatoorahInfo = json_decode($myfatoorah->information, true); } else { $myfatoorahInfo = []; } @endphp
@if ($errors->has('sandbox_status'))

{{ $errors->first('sandbox_status') }}

@endif
@if ($errors->has('token'))

{{ $errors->first('token') }}

@endif
{{-- Midtrans Information --}}
@csrf
{{ __('Midtrans') }}
@if ($errors->has('status'))

{{ $errors->first('status') }}

@endif
@php if ($midtrans) { if (!is_null($midtrans->information)) { $midtransInfo = json_decode($midtrans->information, true); } else { $midtransInfo = []; } } else { $midtransInfo = []; } @endphp
@if ($errors->has('is_production'))

{{ $errors->first('is_production') }}

@endif
@if ($errors->has('server_key'))

{{ $errors->first('server_key') }}

@endif

{{ __('Success URL') }} : {{ route('midtrans.bank_notify') }}

{{ __('Cancel URL') }} : {{ route('customer.itemcheckout.cancel', getparam()) }}

{{ __('Set url form here') }} : https://prnt.sc/OiucUCeYJIXo

{{-- Paypal --}}
@csrf
{{ __('Paypal') }}
@csrf
@php if ($paypal) { if (!is_null($paypal->information)) { $paypalInfo = json_decode($paypal->information, true); } else { $paypalInfo = []; } } else { $paypalInfo = []; } @endphp
@if ($errors->has('client_id'))

{{ $errors->first('client_id') }}

@endif
@if ($errors->has('client_secret'))

{{ $errors->first('client_secret') }}

@endif
{{-- Instamojo --}}
@csrf
{{ __('Instamojo') }}
@csrf @php if ($instamojo) { if (!is_null($instamojo->information)) { $instamojoInfo = json_decode($instamojo->information, true); } else { $instamojoInfo = []; } } else { $instamojoInfo = []; } @endphp
@if ($errors->has('key'))

{{ $errors->first('key') }}

@endif
@if ($errors->has('token'))

{{ $errors->first('token') }}

@endif
{{-- toyyibpay Information --}}
@csrf
{{ __('Toyyibpay') }}
@if ($errors->has('status'))

{{ $errors->first('status') }}

@endif
@php if (!empty($toyyibpay)) { $toyyibpayInfo = json_decode($toyyibpay->information, true); } else { $toyyibpayInfo = []; } @endphp
@if ($errors->has('sandbox_status'))

{{ $errors->first('sandbox_status') }}

@endif
@if ($errors->has('secret_key'))

{{ $errors->first('secret_key') }}

@endif
@if ($errors->has('category_code'))

{{ $errors->first('category_code') }}

@endif
{{-- Authorize.net --}}
@csrf
{{ __('Authorize.Net') }}
@csrf @php if ($anet) { if (!is_null($anet->information)) { $anetInfo = json_decode($anet->information, true); } else { $anetInfo = []; } } else { $anetInfo = []; } @endphp
@if ($errors->has('login_id'))

{{ $errors->first('login_id') }}

@endif
@if ($errors->has('transaction_key'))

{{ $errors->first('transaction_key') }}

@endif
@if ($errors->has('public_key'))

{{ $errors->first('public_key') }}

@endif
@if ($packageName === 'premium') {{-- Phonepe --}}
@csrf
{{ __('PhonePe') }}
@csrf @php if (!empty($phonepe)) { $phonepeInfo = json_decode($phonepe->information, true); } else { $phonepeInfo = []; } @endphp
@if ($errors->has('merchant_id'))

{{ $errors->first('merchant_id') }}

@endif
@if ($errors->has('salt_key'))

{{ $errors->first('salt_key') }}

@endif
@if ($errors->has('salt_index'))

{{ $errors->first('salt_index') }}

@endif
@endif {{-- iyzico --}}
@csrf
{{ __('Iyzico') }}
@if ($errors->has('status'))

{{ $errors->first('status') }}

@endif
@php if ($iyzico) { if (!is_null($iyzico->information)) { $iyzicoInfo = json_decode($iyzico->information, true); } else { $iyzicoInfo = []; } } else { $iyzicoInfo = []; } @endphp
@if ($errors->has('sandbox_status'))

{{ $errors->first('sandbox_status') }}

@endif
@if ($errors->has('api_key'))

{{ $errors->first('api_key') }}

@endif
@if ($errors->has('secret_key'))

{{ $errors->first('secret_key') }}

@endif
{{-- paytabs Information --}}
@csrf
{{ __('Paytabs') }}
@if ($errors->has('status'))

{{ $errors->first('status') }}

@endif
@php if (!empty($paytabs)) { $paytabsInfo = json_decode($paytabs->information, true); } else { $paytabsInfo = []; } @endphp
@if ($errors->has('country'))

{{ $errors->first('server_key') }}

@endif
@if ($errors->has('server_key'))

{{ $errors->first('server_key') }}

@endif
@if ($errors->has('profile_id'))

{{ $errors->first('profile_id') }}

@endif
@if ($errors->has('api_endpoint'))

{{ $errors->first('api_endpoint') }}

@endif

{{ __("You will get your 'API Endpoit' from PayTabs Dashboard.") }}

{{ __('Step 1:') }} https://prnt.sc/McaCbxt75fyi
{{ __('Step 2:') }} https://prnt.sc/DgztAyHVR2o8
{{-- Paytm --}}
@csrf
{{ __('Paytm') }}
@csrf @php if ($paytm) { if (!is_null($paytm->information)) { $paytmInfo = json_decode($paytm->information, true); } else { $paytmInfo = []; } } else { $paytmInfo = []; } @endphp
@if ($errors->has('environment'))

{{ $errors->first('environment') }}

@endif
@if ($errors->has('secret'))

{{ $errors->first('secret') }}

@endif
@if ($errors->has('merchant'))

{{ $errors->first('merchant') }}

@endif
@if ($errors->has('website'))

{{ $errors->first('website') }}

@endif
@if ($errors->has('industry'))

{{ $errors->first('industry') }}

@endif
@endsection