Skip to content
Snippets Groups Projects
Commit 6a4c6ffb authored by jitendra's avatar jitendra
Browse files

stripe#139 avoid disabled webhook to process on the status page

parent 9fcd11c7
Branches
Tags
1 merge request!75stripe#139 avoid disabled webhook to process on the status page
......@@ -59,7 +59,7 @@ class CRM_Stripe_Webhook {
// Check and update webhook
try {
$updates = self::checkWebhook($wh);
if ($updates) {
if ($updates && $wh->status != 'disabled') {
if ($attemptFix) {
// We should try to update the webhook.
$messageTexts[] = E::ts('Unable to update the webhook %1. To correct this please delete the webhook at Stripe and then revisit this page which will recreate it correctly.',
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment