RazorPay Payment

Razorpay Payment plugin offered by ZenBasket is a secure, dependable, and reliable payment method for rapidly expanding businesses to accept digital payments from customers via multiple payment modes such as credit/debit cards, UPI, and wallets.

Setting Up a WebHook in Razorpay

1. Access the Webhook Settings

  • Log in to your Razorpay Dashboard

  • Navigate to “Account & Settings”

  • Select “Webhooks” from the menu

TT

2. Create a New Webhook

  • Locate and click the “Add New Webhook” button

tt

3. Configure Your Webhook

Fill in the following details in the Webhook Setup form:

  • Webhook URL:

Enter: https://useast1.api.getzenbasket.com/paymentwebhook/v1/payment/webhook

  • Secret: Enter the secret key provided by your account. (Ensure this key is kept secure and private.)

  • Active Events: Enable the following options:

  • payment.captured

  • payment.failed

enter image description here

4. Finalize the Setup

  • Review your entries to ensure accuracy

  • Click the “Create WebHook” button to complete the process

enter image description here

Note:

  1. Keep your webhook secret secure. It’s used to verify that incoming webhook requests are from Razorpay.

  2. If the Razorpay webhook encounters an error, it will retry for 24 hours. If the issue persists, you will receive an email alert notifying you that the webhook has been temporarily blocked and prompting you to resolve the issue.

Collect the key credential

enter image description here

  1. In your Razorpay account, choose the Live mode from the drop-down on the top of the page.

  2. From the side panel, choose API Keys and Plugins menu.

  3. Choose the Website tab and copy the Live Key ID and Live Key Secret.

Note: Once you generate your API key, the secret is viewable only once; if lost, you’ll need to generate a new key.

Razorpay Payment plugin offered by ZenBasket is a secure, dependable, and reliable payment method for rapidly expanding businesses to accept digital payments from customers via multiple payment modes such as credit/debit cards, UPI, and wallets.

How to integrate Razorpay Payment with your ZenBasket Store?

Admin side

  1. In the dashboard, locate the Plugins menu.

  2. Under the Third Party Plugins section, find the Razorpay plugin, and enable the toggle under the Payment section.

enter image description here

  1. After enabling the Razorpay plugin, click on the settings icon associated with it.

  2. If you have an existing Razorpay account, provide the secret key and key ID in the designated fields.

  3. Enable the Is Production toggle to activate Razorpay for live transactions.

  4. Click on the Save button to confirm your Razorpay configuration.

Customer side

  1. After choosing the delivery option, customers will be prompted to select a payment method at checkout.

  2. On choosing Online payment option, customers need to click Pay Now.

  3. Customers need to provide a contact number and email address.

  4. Card details, including the card number, expiry date, cardholder name, and CVV need to be entered. Optionally, your customers can save the card for future use.

  5. Finally, on clicking Pay Now, they need to enter the OTP sent to the linked phone number and click Submit to complete the payment.

  6. After successfully placing the order, customers will see the order listed in their account with the status New.

Admin side

  1. To view order details, click on the eye icon associated with the order.

  2. The payment status can be found in the Order Status section.

  3. Both customers and store owners can cancel an order as long as the fulfillment status is New. Use the Cancel Order button to initiate cancellations. Refunds will be processed through RazorPay within a few business days.

  4. After successful delivery, change the fulfillment status to Delivered.

  5. Any remaining amount put on hold during the transaction will be credited back to the customer through RazorPay.

  6. If a customer requests a partial or full refund, the amount will be credited back to them through RazorPay.

  7. If an order expires before delivery, the amount will be automatically refunded to the customer through RazorPay.