@extends('layouts.app') @section('title', 'Payment Gateway') @section('content')
@include('admin.partials.sidebar')
@include('admin.partials.topbar')

Payment Gateway

Kelola integrasi payment gateway

Midtrans
@if($settings['midtrans']['enabled']) Active @else Inactive @endif
Status {{ $settings['midtrans']['enabled'] ? 'Configured' : 'Not Configured' }}
Environment {{ $settings['midtrans']['is_production'] ? 'Production' : 'Sandbox' }}

Supported Payment Methods:
Credit Card
Bank Transfer
E-Wallet
Convenience Store

Webhook URL:

{{ url('/api/webhooks/midtrans') }}
Xendit
@if($settings['xendit']['enabled']) Active @else Inactive @endif
Status {{ $settings['xendit']['enabled'] ? 'Configured' : 'Not Configured' }}

Supported Payment Methods:
Virtual Account
E-Wallet
QRIS
Retail Outlets

Webhook URL:

{{ url('/api/webhooks/xendit') }}
Default Gateway

Gateway yang digunakan secara default untuk pembayaran:

Panduan Konfigurasi

Tambahkan konfigurasi berikut di file .env:

# Midtrans Configuration
MIDTRANS_SERVER_KEY=your-server-key
MIDTRANS_CLIENT_KEY=your-client-key
MIDTRANS_IS_PRODUCTION=false
Midtrans Dashboard

Tambahkan konfigurasi berikut di file .env:

# Xendit Configuration
XENDIT_SECRET_KEY=your-secret-key
XENDIT_CALLBACK_TOKEN=your-callback-token
Xendit Dashboard
@endsection