@extends('admin.layout') @section('content')
{{-- serilize start --}} {{-- paystack Information --}}
@csrf
Paystack
@csrf @php $paystackInfo = json_decode($paystack->information, true); @endphp
@if ($errors->has('key'))

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

@endif
{{-- mollie Information --}}
@csrf
Mollie Payment
@csrf @php $mollieInfo = json_decode($mollie->information, true); @endphp
@if ($errors->has('key'))

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

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

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

@endif
@php $yocoInfo = json_decode($yoco->information, true); @endphp
@if ($errors->has('secret_key'))

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

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

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

@endif
@php $xenditInfo = json_decode($xendit->information, true); @endphp
@if ($errors->has('secret_key'))

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

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

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

@endif
@php $perfect_moneyInfo = json_decode($perfect_money->information, true); @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
{{-- flutterwave --}}
@csrf
Flutterwave
@csrf @php $flutterwaveInfo = json_decode($flutterwave->information, true); @endphp
@if ($errors->has('public_key'))

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

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

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

@endif
{{-- Razorpay --}}
@csrf
Razorpay
@csrf @php $razorpayInfo = json_decode($razorpay->information, true); @endphp
@if ($errors->has('key'))

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

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

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

@endif
{{-- Mercadopago --}}
@csrf
Mercadopago
@csrf @php $mercadopagoInfo = json_decode($mercadopago->information, true); @endphp
@if ($errors->has('token'))

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

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

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

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

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

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

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

@endif
@php $midtransInfo = json_decode($midtrans->information, true); @endphp
@if ($errors->has('is_production'))

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

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

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

@endif

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

Your Cancel URL : {{ route('midtrans.cancel') }}

Set these URLs in Midtrans Dashboard like this :

https://prnt.sc/OiucUCeYJIXo
{{-- myfatoorah Information --}}
@csrf
{{ __('MyFatoorah') }}
@if ($errors->has('status'))

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

@endif
@php $myfatoorahInfo = json_decode($myfatoorah->information, true); @endphp
@if ($errors->has('sandbox_status'))

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

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

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

@endif
{{-- Paypal --}}
@csrf
{{ __('Paypal') }}
@csrf
@php $paypalInfo = json_decode($paypal->information, true); @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 $instamojoInfo = json_decode($instamojo->information, true); @endphp
@if ($errors->has('key'))

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

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

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

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

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

@endif
@php $iyzicoInfo = json_decode($iyzico->information, true); @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

Cron Job Command :
curl -sS {{ route('cron.check_payment') }}

Set the cron job following this video: https://youtu.be/LRUGDOuMsSk

without cronjob setup, Iyzico payment method won't work

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

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

@endif
@php $toyyibpayInfo = json_decode($toyyibpay->information, true); @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
{{-- paytabs Information --}}
@csrf
{{ __('Paytabs') }}
@if ($errors->has('status'))

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

@endif
@php $paytabsInfo = json_decode($paytabs->information, true); @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
{{-- PhonePe --}}
@csrf
PhonePe
@csrf @php $phonePeInfo = json_decode($phonepe->information, true); @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
{{-- Paytm --}}
@csrf
Paytm
@csrf @php $paytmInfo = json_decode($paytm->information, true); @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
@csrf
Authorize.Net
@csrf @php $anetInfo = json_decode($anet->information, true); @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
{{-- serilize end --}}
@endsection