Troubleshooting & FAQs

Know how to troubleshoot some of the common error messages and find answers to frequently asked questions for Magento 1.x and 2.x extensions.


Know how to troubleshoot some of the common error messages for Magento 1.x and 2.x extensions.

Below are some common error messages and the possible reasons and fixes:

ErrorCauseFix
Bad request errorThe API keys ([KEY_ID] and [KEY_SECRET]) are not configured correctly.Make sure that the API Keys are active and entered correctly on the Magento Settings page.
Bad request errorYou might be using a custom checkout theme like IWD and Firecheckout.Make sure that you are using the GitHub/master branch.
cURL errorYou do not have PHP-cURL installed on your server.Ensure that you have PHP-cURL installed on your server.
cURL errorPort 443 is blocked.Contact your hosting service to unblock the port.

Below are some common error messages and the possible reasons and fixes:

ErrorCauseFix
Bad request errorThe API Keys ([KEY_ID] and [KEY_SECRET]) are not configured correctly.Make sure that the API Keys are active and entered correctly on the Magento Settings page.
Bad request errorYou may be using a custom checkout theme like IWD and Firecheckout.Make sure that you are using the GitHub/master branch.
cURL errorYou do not have PHP-cURL installed on your server.Ensure that you have PHP-cURL installed on your server.
cURL errorPort 443 is blocked.Contact your hosting service to unblock the port.
Undefined index: Razorpay in /app/code/Razorpay/Magento/Observer/AfterConfigSaveObserver.phpThis issue is due to an error in module compilation.Run run bin/magento setup:di:compile to recompile.
The following modules are outdated:
• Razorpay_Magento schema: Current Version - None, Required Version - 3.6.2
• Razorpay_Magento data: Current Version - None, Required Version - 3.6.2
The Razorpay Magento plugin version is outdated. and install the latest Razorpay Magento Plugin.

1. What troubleshooting procedures should be carried out prior to initiating a support ticket?

Follow the troubleshooting steps given below:

  1. Ensure that your system meets all the requirements mentioned .
  2. We recommend you to keep your Magento and Razorpay plugins up to date. You can find the latest versions .
  3. If the issue persists after following these steps, contact our . Provide the following information while creating a ticket:
    • Magento version (1.x/2.x)
    • Razorpay Magento plugin version
    • PHP version
    • Steps to reproduce the issue (Screen recording/Screenshots)
    • Error logs, if any
    • Magento staging website credentials (login URL, login id, and password)
    • SSH/FTP access to the staging server

2. Is PWA (Progressive Web Apps) supported for Magento Plugin?

Yes, Magento Plugin supports Progressive Web Apps (PWA) through GraphQL.

3. If you initiate a refund on the Razorpay Dashboard, will the same status reflect on the Magento Dashboard?

Initiating a refund on the Razorpay dashboard does not automatically update the status on Magento. The refund process is typically managed through the Magento dashboard. The status changes made on the Magento dashboard are then reflected on the Razorpay dashboard.

4. How can I create a Custom Order Status in Razorpay Magento?

Below are the steps to create a Custom Order Status in Razorpay Magento:

Step 1: Create a customer order status.

  1. Go to StoresOrder Status (under Settings) on the Magento Admin dashboard.

    Magento Admin dashboard order status
  2. On Order Status page, click Create New Status.

    Magento Create new status on admin dashboard
  3. On the Create New Order Status page:

    • Insert a Status Code under the Order Status Information section for internal reference.

    Handy Tips

    This field must contain letters (a-z), numbers (0-9), and the underscore. You must use letters at the first character. The rest can be a combination of letters and numbers.

    • Set the Status Label for Admin and storefront.
    • Set the Default Store View under Store View Specific Labels for each store view.
    Magento order status information
  4. Click Save Status to complete.

    Magento order status information save

Step 2: Un-assign existing status.

  1. Un-assign the existing status code that is in use.

    • If State Code and Title is processing[Processing], then processing status is already in use for state processing.
    • Un-assign this status from the existing state code processing, so the state will be available for your custom status code.

    Watch Out!

    If you get the following error "The status can't be unassigned because the status is currently used by an order." directly move to step 3.

Step 3: Assign an order status to a state.

  1. Go to the Order Status page, and click Assign Status to State.
    Magento assign status to state
  2. On the Assign Order Status to State page:
    • Select the Order Status to assign from the existing order status list.
    • Select the Order State as processing to include the order status you have just assigned.
    • Select the Use Order Status As Default checkbox to accept the Order Status as a default.
    • Select the Visible On Storefront checkbox to enable the order status on the storefront.
    Magento assignment information
  3. Click Save Status Assignment to complete.
    Magento save status information

Step 4: Using custom order status for Razorpay Magento.

  1. On the Magento Admin Dashboard, open Razorpay payment method settings.
  2. On the Configuration page:
    • At Enable Custom Paid Order Status field, select Yes to enable custom order status, and select No to disable custom order status.
    • Insert Custom Paid Order Status value in the input field, providing the same value as the Status Code while creating custom status.
    Magento configuration
  3. Click Save Config and refresh the cache.
    Magento save configuration

Was this page helpful?