Troubleshooting & FAQs

Troubleshoot common error scenarios and find answers to frequently asked questions.


1. My Webhooks are not auto-configured since I am not using the upgraded version of OpenCart. How do I manually configure webhooks?🔗

To set up webhooks:

  1. Log into the Razorpay Dashboard and navigate to SettingsWebhooks.

  2. Click the + Add New Webhook button.

  3. In the Webhook Setup pop-up page:

    1. Enter the URL where you want to receive the webhook payload when an event is triggered. We recommended using an HTTPS URL. Handy Tips
      You can set up to 10 URLs to receive Webhook notifications. Webhooks can only be delivered to public URLs. If you attempt to save a localhost endpoint as part of a webhook setup, you will notice an error. Know more about testing Webhooks on an application running on localhost.
    2. Enter a Secret for the webhook endpoint. The secret is used to validate that the webhook is from Razorpay. Do not expose the secret publicly. Know more about how to validate webhooks. Handy Tips
      • When setting up the webhook, you will be asked to specify a secret. Using this secret, you can validate that the webhook is from Razorpay. Entering the secret is optional but recommended. The secret should never be exposed publicly.
      • The webhook secret does not need to be the merchant secret key provided by Razorpay.
  4. In the Alert Email field, enter the email address to which the notifications should be sent in case of webhook failure. You will receive webhook deactivation notifications to this email address.
  5. Select the required events from the list of Active Events.
  • Click Create Webhook.

  • After you set a webhook, it appears on the list of webhooks.

  • List of Events to Subscribe🔗

    You must subscribe to the following events:

    OpenCart Plugin Version

    Webhook Events Supported

    OpenCart 1.5

    None

    OpenCart 2.x

    order.paid

    OpenCart 3.x

    order.paid and payment.authorized

    2. How can I verify if webhooks are enabled?🔗

    To verify if webhooks are enabled:

    1. Log into the Razorpay Dashboard and navigate to SettingsWebhooks.

    2. Select the relevant webhook URL.

    3. On the right panel, check if the status for payment.authorized, refund.created and virtual_account.credited is enabled.

    ×

    ON THIS PAGE