Razorpay
Razorpay integration with your Shopaccino store assists you to accept payments online, with a wider choice of payment options for your customers.
Before you begin the integration, make sure you have a registered business account with Razorpay. To create the same, refer to the section Generate your API Keys.
Generate your API keys with Razorpay
To generate the API Key,
1. Log into your Razorpay Dashboard.
2. Select the Settings on the left menu bar.
3. Select the API key option to generate the new API Key.
4. Click Generate now to generate a key for the test mode and in case of live mode, first activate the account by submitting documents and then generate the key by clicking the Generate now button.
Please make a note of these to be used further.
Integrate your Shopaccino store with Razorpay
This section describes how to integrate your Shoppacino store with a Razorpay Payment Gateway to accept payment from a customer.
To get started,
1. Log into your Shopaccino account and it takes you to the Shopaccino Welcome page.
2. Click on the Payment Options tab on the left navigation bar.
The Payment Options screen outlines multiple payment options available to integrate with your online store so that your customers could make payment for their orders.
3. Select Razorpay Payment Gateway under Payment Gateways.
4. This prompt you to fill in the following credentials in the Razorpay Payment Gateway account form. You can refer the Razorpay Dashboard for these details.
Key
Merchant Name
Mode - Either Test or Live
Secret Key
Merchant ID
Minimum Order Amount
Maximum Order Amount
5. Select checkboxes to specify the payment options that you want to display at the footer and checkout page of your website.
6. Enter the instructions that you want to display on the payment option selection after the completion of the customer’s order in the Payment Instructions text box.
7. Offer Id's (Please enter comma separated values like offer1,offer2,offer3....)
8. Webhook Configuration URL:-
https://www.xyzstore.com/payment/razorpay/webhook_response
(a) Log into your Razorpay Dashboard and navigate to Settings → Webhooks.
(b) Click Setup Webhook.
(c) Enter the Above URL to receive the webhook payload when an event is triggered.
(d) Select the required events from the list of Active Events. Check the payment.authorized and payment.captured event
Click Save to enable webhooks.
9. Select Show Razorpay icon checkbox, if you want to display the Razorpay logo on your payment checkout page.
10. Click the Activate button to activate Razorpay Payment Gateway.