<?php

// config/koko.php - Configuration file
return [
    /*
    |--------------------------------------------------------------------------
    | Koko Payment Configuration
    |--------------------------------------------------------------------------
    */

    'merchant_id' => env('KOKO_MERCHANT_ID'),
    'api_key' => env('KOKO_API_KEY'),
    'rsa_private_key' => env('KOKO_RSA_PRIVATE_KEY'),
    'rsa_public_key' => env('KOKO_RSA_PUBLIC_KEY'),
    'environment' => env('KOKO_ENVIRONMENT', 'dev'), // dev, qa, prod
];

// Add these to your .env file:
/*
KOKO_MERCHANT_ID=your_merchant_id_here
KOKO_API_KEY=your_api_key_here
KOKO_RSA_PRIVATE_KEY=your_private_key_here
KOKO_RSA_PUBLIC_KEY=koko_public_key_here
KOKO_ENVIRONMENT=dev
*/

//=============================================================================

// routes/web.php - Add these routes


//=============================================================================

// Update your checkout JavaScript to handle Koko payment
// Add this to your checkout page script section:

?>
