mirror of
https://github.com/itflow-org/itflow
synced 2026-03-01 03:14:52 +00:00
Removed unused libs in the vendor folder and moved stripe to the plugins folder then elininated the vendor folder all together, updated all the stripe links
This commit is contained in:
@@ -72,7 +72,7 @@ if (isset($_GET['stripe_create_pi'])) {
|
||||
}
|
||||
|
||||
// Setup Stripe
|
||||
require_once '../vendor/stripe-php-10.5.0/init.php';
|
||||
require_once '../plugins/stripe-php-10.5.0/init.php';
|
||||
|
||||
|
||||
$row = mysqli_fetch_array(mysqli_query($mysqli, "SELECT config_stripe_enable, config_stripe_secret, config_stripe_account FROM settings WHERE company_id = 1"));
|
||||
|
||||
@@ -181,7 +181,7 @@ if (isset($_GET['invoice_id'], $_GET['url_key']) && !isset($_GET['payment_intent
|
||||
$pi_cs = $_GET['payment_intent_client_secret'];
|
||||
|
||||
// Initialize stripe
|
||||
require_once '../vendor/stripe-php-10.5.0/init.php';
|
||||
require_once '../plugins/stripe-php-10.5.0/init.php';
|
||||
|
||||
\Stripe\Stripe::setApiKey($config_stripe_secret);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user