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:
johnnyq 2025-01-24 20:44:36 -05:00
parent bf0d3de393
commit 6733d3cd24
428 changed files with 4 additions and 11393 deletions

View File

@ -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"));

View File

@ -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);

Some files were not shown because too many files have changed in this diff Show More