Use stripe_init include to init stripe and updated code everywhere

This commit is contained in:
johnnyq
2026-07-23 13:00:01 -04:00
parent 7ccdc942fe
commit 8f43b92496
10 changed files with 39 additions and 14 deletions

View File

@@ -69,7 +69,7 @@ if (isset($_GET['stripe_create_pi'])) {
}
$stripe_secret_key = $stripe_provider['payment_provider_private_key'];
require_once '../libs/stripe-php/init.php';
require_once '../includes/stripe_init.php';
$pi_description = "ITFlow: $client_name payment of $invoice_currency_code $balance_to_pay for $invoice_prefix$invoice_number";