Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
capo
Stripe
Commits
6a4c6ffb
Commit
6a4c6ffb
authored
Nov 29, 2019
by
jitendra
Browse files
stripe#139 avoid disabled webhook to process on the status page
parent
9fcd11c7
Changes
1
Hide whitespace changes
Inline
Side-by-side
CRM/Stripe/Webhook.php
View file @
6a4c6ffb
...
...
@@ -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.'
,
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment