Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
bobgo-magento-extension
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Bob Public Utils
bobgo-magento-extension
Commits
d32f2f6d
Commit
d32f2f6d
authored
5 months ago
by
Christel Loftus
Browse files
Options
Downloads
Patches
Plain Diff
consumer secret key as webhook key
parent
c86e1b10
No related branches found
Branches containing commit
No related tags found
1 merge request
!14
Start webhook implementation
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
Observer/ConfigChangeObserver.php
+1
-2
1 addition, 2 deletions
Observer/ConfigChangeObserver.php
etc/adminhtml/system.xml
+1
-1
1 addition, 1 deletion
etc/adminhtml/system.xml
with
2 additions
and
3 deletions
Observer/ConfigChangeObserver.php
+
1
−
2
View file @
d32f2f6d
...
...
@@ -84,8 +84,7 @@ class ConfigChangeObserver implements ObserverInterface
}
else
{
$this
->
messageManager
->
addErrorMessage
(
__
(
'Webhook validation failed. Please check your internet connection
and get the webhook key for your channel on Bob Go sales channels page.
https://my.bobgo.co.za/sales-channels'
)
and use your Bob Go integration consumer secret key for webhook validation.'
)
);
}
}
...
...
This diff is collapsed.
Click to expand it.
etc/adminhtml/system.xml
+
1
−
1
View file @
d32f2f6d
...
...
@@ -39,7 +39,7 @@
<!-- Webhook Key Input Field -->
<field
id=
"webhook_key"
translate=
"label"
type=
"text"
sortOrder=
"9"
showInDefault=
"1"
showInWebsite=
"1"
showInStore=
"0"
>
<label>
Webhook key
</label>
<comment>
Enter
the webhook key for
authentication.
</comment>
<comment>
Enter
Bob Go integration consumer secret key for webhook
authentication.
</comment>
<depends>
<field
id=
"enable_webhooks"
>
1
</field>
</depends>
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment