3. Go-live Checklist

Check the go-live checklist for Razorpay Payment Gateway Drupal Commerce integration.


Consider these steps before taking the integration live.

You can perform an end-to-end simulation of funds flow in the Test Mode. Once confident that the integration is working as expected, switch to the Live Mode and start accepting payments from customers.

Watch Out!

Ensure you are switching your test API keys with API keys generated in Live Mode.

To generate API Keys in Live Mode on your Razorpay Dashboard:

  1. Log in to the and switch to Live Mode on the menu.
  2. Navigate to Account & SettingsAPI KeysGenerate Key to generate the API Key for Live Mode.
  3. Download the keys and save them securely.
  4. On your , navigate to Commerce.
  5. Click Configuration.
    Navigate to commerce to configure the plugin
  6. In the Payment section, select Payment gateways.
    Configure the payment gateway
  7. Click Edit.
    Edit the payment gateway configurations
  8. In the Mode section, select Live.
  9. Replace the Test Key ID and Secret with the Live Keys and accept actual payments.
Replace test keys with live ones

After a payment is authorized, you must capture it to settle the amount to your bank account as per the settlement schedule.

Follow the steps given below to set a payment action:

  1. On the , navigate to Commerce.
  2. Click Configuration.
    Navigate to commerce to configure the plugin
  3. In the Payment section, select Payment gateways.
    Configure the payment gateway
  4. Click Edit.
    Edit the payment gateway configurations
  5. In the Payment Action section, you can choose to:
    Edit the payment capture settings
    1. Authorize and Capture: This setting captures all authorized payments automatically. This eliminates the time and effort spent manually capturing payments.
    2. Authorize: Each authorized payment can also be captured individually.
      1. Once a payment is completed, navigate to CommerceOrders.
      2. Identify the order you want to capture the payment and click View.
        Identify the order
      3. Navigate to Payments.
      4. In the Operations section, click Capture.
        Manually capture the payment

Follow the steps given below to initiate refunds using the Drupal Commerce Dashboard:

  1. Log in to the .
  2. After a payment is completed, navigate to CommerceOrders.
  3. Identify the order you want to initiate a refund and click View.
    Identify the order
  4. Navigate to Payments.
  5. In the Operations section, click Refund.
    Issue a Refund
  6. You can either issue a full refund or a partial refund.
    • For a full refund, enter the entire payment amount.
    • For a partial refund, enter a value lesser than the payment amount.
  7. Click Refund.

Was this page helpful?