diff --git a/htdocs/stripe/admin/stripe.php b/htdocs/stripe/admin/stripe.php index ca2a15ccaca..3f1e6823a6d 100644 --- a/htdocs/stripe/admin/stripe.php +++ b/htdocs/stripe/admin/stripe.php @@ -259,7 +259,7 @@ if (empty($conf->stripeconnect->enabled)) { \Stripe\Stripe::setApiKey(getDolGlobalString('STRIPE_TEST_SECRET_KEY')); $endpoint = \Stripe\WebhookEndpoint::retrieve(getDolGlobalString('STRIPE_TEST_WEBHOOK_ID')); $endpoint->enabled_events = $stripearrayofwebhookevents; - if (GETPOST('webhook', 'alpha') == getDolGlobalSting('STRIPE_TEST_WEBHOOK_ID')) { + if (GETPOST('webhook', 'alpha') == getDolGlobalString('STRIPE_TEST_WEBHOOK_ID')) { if (!GETPOST('status', 'alpha')) { $endpoint->disabled = true; } else { @@ -327,7 +327,7 @@ if (empty($conf->stripeconnect->enabled)) { print '