1. Build Integration

Integrate Razorpay with your Wix website.


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

1.1

.

1.2

.

1.3

.

  1. Navigate to your and switch to editor mode.
  2. Click Settings.
    Wix website settings

  3. Click Accept Payments.
    Accept Payments

  4. Select Razorpay and click Connect.
    add razorpay

  5. Enter your API Key and API Secret Key and click Connect.
    account activation

  6. You have successfully connected your Wix site with Razorpay.
    dialog box

Handy Tips

Make sure that the webhook with URL https://express.razorpay.com/wix/v1/webhook-handler is added and the following events are subscribed:

  • order.paid
  • refund.processed
  • payment.failed

You can track the payment status in three ways:

Handy Tips

  • On the Dashboard, ensure that the payment status is captured. Refer to the payment capture settings page to know how to .
  • Subscribe to our webhooks or poll the Fetch a Payment API to track the payment status.

To verify the payment status from the Dashboard:

  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.
Check if the payment id is generated and the status is captured

You can use Razorpay webhooks to configure and receive notifications when a specific event occurs. When one of these events is triggered, we send an HTTP POST payload in JSON to the webhook's configured URL. Know how to

If you have subscribed to the order.paid webhook event, you will receive a notification every time a customer pays you for an order.

to check the payment status.


Is this integration guide useful?