<?php
// Paystack configuration helper
// Reads keys from environment variables if available

function paystack_public_key() {
    $key = getenv('PAYSTACK_PUBLIC_KEY');
    if ($key && trim($key) !== '') return $key;
    // TODO: set your key in env; placeholder keeps code from breaking
    return 'pk_test_970d907dfadb84a120acf556bf2173f8b24a42da';
}

function paystack_secret_key() {
    $key = getenv('PAYSTACK_SECRET_KEY');
    if ($key && trim($key) !== '') return $key;
    // TODO: set your key in env; placeholder keeps code from breaking
    return 'sk_test_92e5c95d8ef6b970a68798f09da5ba835680af44';
}
