<?php
defined('BASEPATH') or exit('No direct script access allowed'); // ✅ FIXED TYPO

/*
|--------------------------------------------------------------------------
| Midtrans Configuration
|--------------------------------------------------------------------------
| 
| Midtrans payment gateway configuration
| Get your keys from: https://dashboard.midtrans.com/
| 
| IMPORTANT: Change these to your actual credentials before going live
| For production, move these to environment variables
*/

$config['midtrans_server_key'] = 'Mid-server-j4ZUxJcntu7sCvit-IVXZPiM';
$config['midtrans_client_key'] = 'Mid-client-RDccpJkwJnWgbGK-';
$config['midtrans_is_production'] = false; // Set to true for production
$config['midtrans_is_sanitized'] = true;
$config['midtrans_is_3ds'] = true;

// Notification URL - where Midtrans will send payment notifications
$config['midtrans_notification_url'] = site_url('admin/subscription/notification');

// Finish URLs - where to redirect after payment
$config['midtrans_finish_url'] = site_url('admin/subscription/finish');
$config['midtrans_error_url'] = site_url('admin/subscription/error');
$config['midtrans_unfinish_url'] = site_url('admin/subscription/pending');