From a74bd5ade19be73dc7ebadc5fa14a02f47f9dd8b Mon Sep 17 00:00:00 2001 From: o-psi Date: Thu, 30 Nov 2023 16:29:29 +0000 Subject: [PATCH] Fix undeclared variable on Guest Online Pay --- guest_pay_invoice_stripe.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/guest_pay_invoice_stripe.php b/guest_pay_invoice_stripe.php index b25395bc..ed758674 100644 --- a/guest_pay_invoice_stripe.php +++ b/guest_pay_invoice_stripe.php @@ -267,6 +267,8 @@ if (isset($_GET['invoice_id'], $_GET['url_key']) && !isset($_GET['payment_intent $company_name = mysqli_real_escape_string($mysqli, nullable_htmlentities($row['company_name'])); $company_phone = nullable_htmlentities($row['company_phone']); $company_locale = nullable_htmlentities($row['company_locale']); + $config_stripe_client_pays_fees = intval($row['config_stripe_client_pays_fees']); + // Set Currency Formatting $currency_format = numfmt_create($company_locale, NumberFormatter::CURRENCY);