top of page
Search
Writer's pictureKevin Anthony

How to integrate razorpay with Wix


How to use Razorpay with Wix


  1. Navigate to your Wix website and switch to editor mode.

  2. Click SettingsAccept Payments.

  3. Click Add Payment Methods.

  4. Select Razorpay and click Add.

  5. Once added, a success message appears as shown

  6. Razorpay appears added as a payment method. Click Set up Account to Activate.

  7. In the dialog box that appears, select the appropriate action

  8. If you have not signed up for a Razorpay account, click Create an Account and follow the steps mentioned on-screen. Once the account has been created, return to this screen and select Connect Existing Account. If you already have an account, click Connect Existing Account and enter your API Key and Secret.

  9. Click Connect My Account. A success message appears on screen.

  10. Razorpay now appears under Payment Methods. Ensure Active on your Checkout is enabled.

  11. This completes the integration on Wix Dashboard.

Setting up Webhook You must integrate with Razorpay webhooks to receive notifications whenever a payment is made on your website. To setup webhooks:

  • Log into your Razorpay Dashboard and navigate to SettingsWebhooks.

  • Click Setup Webhook.

  • Enter the following details:

    • Enter the Website URL as https://express.razorpay.com/wix/v1/webhook-handler.

    • Enter a Secret for the webhook endpoint. The secret is used for validation purposes. Note: The secret that you enter here can be used to validate that the webhook is from Razorpay. Do not expose the secret publicly.

    • Select the following events from the list of Active Events:

    • order.paid

    • refund.processed

    • payment.failed

    • Click Save to enable webhooks.


Note: If you are using this Razorpay account to accept payments on your Wix site, you can set up only one webhook on the Razorpay Dashboard.



0 comments

Comments


bottom of page