Skip to content

Commit

Permalink
removed webhook settings from site view (#304)
Browse files Browse the repository at this point in the history
  • Loading branch information
ramth05 authored Jan 11, 2022
1 parent 5284651 commit a37190e
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions etc/adminhtml/system.xml
Original file line number Diff line number Diff line change
Expand Up @@ -40,14 +40,14 @@
<source_model>Magento\Config\Model\Config\Source\Yesno</source_model>
<config_path>payment/razorpay/skip_amount_mismatch_order</config_path>
</field>
<field id="enable_webhook" translate="label" type="select" sortOrder="5" showInDefault="1" showInWebsite="1" showInStore="0">
<field id="enable_webhook" translate="label" type="select" sortOrder="5" showInDefault="1" showInWebsite="0" showInStore="0">
<label>Webhook Enabled</label>
<comment>** {{base_url}} Copy the Webhook Url from below **</comment>
<source_model>Magento\Config\Model\Config\Source\Yesno</source_model>
<frontend_model>Razorpay\Magento\Model\WebhookUrl</frontend_model>
<config_path>payment/razorpay/enable_webhook</config_path>
</field>
<field id="webhook_secret" translate="label" type="text" sortOrder="5" showInDefault="1" showInWebsite="1" showInStore="0">
<field id="webhook_secret" translate="label" type="text" sortOrder="5" showInDefault="1" showInWebsite="0" showInStore="0">
<label>Webhook Secret</label>
<comment>This field has to match the one set in dashboard.razorpay.com/webhooks</comment>
<config_path>payment/razorpay/webhook_secret</config_path>
Expand All @@ -56,7 +56,7 @@
<field id="enable_webhook">1</field>
</depends>
</field>
<field id="webhook_events" translate="label" type="multiselect" sortOrder="5" showInDefault="1" showInWebsite="1" showInStore="0">
<field id="webhook_events" translate="label" type="multiselect" sortOrder="5" showInDefault="1" showInWebsite="0" showInStore="0">
<label>Webhook Events</label>
<source_model>Razorpay\Magento\Model\WebhookEvents</source_model>
<comment>List of Webhook Events that needs to be subscribed.</comment>
Expand All @@ -66,7 +66,7 @@
<field id="enable_webhook">1</field>
</depends>
</field>
<field id="webhook_wait_time" translate="label" type="text" sortOrder="6" showInDefault="1" showInWebsite="1" showInStore="0">
<field id="webhook_wait_time" translate="label" type="text" sortOrder="6" showInDefault="1" showInWebsite="0" showInStore="0">
<label>Webhook Wait Time</label>
<comment>**Required (Set the time in seconds, that webhook wait before creating a order from the backend for missed orders. ) **</comment>
<config_path>payment/razorpay/webhook_wait_time</config_path>
Expand Down

0 comments on commit a37190e

Please sign in to comment.