mirror of
https://github.com/itflow-org/itflow
synced 2026-07-24 17:30:43 +00:00
Use stripe_init include to init stripe and updated code everywhere
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user