1. Build Integration

Steps to integrate your WooCommerce website with Razorpay Payment Gateway.


Follow the steps given below to integrate Razorpay Payment Gateway with your WooCommerce website.

  1. .
  2. .

There are two methods to install our WooCommerce plugin:

  • .
  • Install it from the WordPress Plugin Directory.
    1. Log in to your and activate the Razorpay plugin in the WordPress Plugin Manager.
    2. Log in to your , navigate to Settings and click the Checkout/Payment Gateways tab.
    3. Click Razorpay to edit the settings.
    4. Enable the Payment Method, name it Credit Card/Debit Card/Internet Banking. This is shown on the Payment page your customer sees.

    Handy Tips

    If you cannot see the Razorpay payment option during WooCommerce checkout, update the plugin to the

    version.

    Payments option error
    1. Add in your [KEY_ID] and [KEY_SECRET] generated from the .
    2. Set the Payment Action to Authorize and Capture to auto-capture payments. If you want to capture payments manually from the Dashboard after manual verification, set the Payment Method to Authorize.

    Handy Tips

    Webhook is

    when you enter and save the API key ID and secret on the plugin settings page. You need to verify if webhooks are enabled on your . However, for versions lower than 3.5.0, you need to .

    You can track the payment status from the Razorpay Dashboard or poll our APIs.

    1. Log in to the and navigate to TransactionsPayments.
    2. Check if a payment_ID has been generated and note the status. In case of a successful payment, the status is marked as captured.

    to check the payment status.


    Is this integration guide useful?