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
|
// 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"));
|
$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'];
|
$pi_cs = $_GET['payment_intent_client_secret'];
|
||||||
|
|
||||||
// Initialize stripe
|
// 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);
|
\Stripe\Stripe::setApiKey($config_stripe_secret);
|
||||||
|
|
||||||
|
|||||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user