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

@@ -392,7 +392,7 @@ if (isset($_POST['add_payment_stripe'])) {
}
// Initialize Stripe
require_once __DIR__ . '/../../libs/stripe-php/init.php';
require_once __DIR__ . '/../../includes/stripe_init.php';
$stripe = new \Stripe\StripeClient($private_key);
$balance_to_pay = round($invoice_amount, 2);