13 lines
536 B
PHP
13 lines
536 B
PHP
<?php
|
|
// Thawani Gateway Configuration
|
|
// Replace with real keys from Thawani Merchant Dashboard
|
|
define('THAWANI_SECRET_KEY', getenv('THAWANI_SECRET_KEY') ?: 'rRQ26GcsZ60u9Y9v9876543210'); // Placeholder
|
|
define('THAWANI_PUBLISHABLE_KEY', getenv('THAWANI_PUBLISHABLE_KEY') ?: 'HGvT9876543210'); // Placeholder
|
|
define('THAWANI_ENV', 'sandbox'); // sandbox or production
|
|
|
|
$thawani_url = (THAWANI_ENV === 'sandbox')
|
|
? 'https://uatapi.thawani.om/api/v1'
|
|
: 'https://api.thawani.om/api/v1';
|
|
|
|
define('THAWANI_API_URL', $thawani_url);
|