medusa-plugin-razorpay-details
v0.0.46
Published
A starter for Medusa projects.
Downloads
44
Maintainers
Readme
Compatibility
This starter is compatible with versions >= 1.8.0 of @medusajs/medusa
.
Prerequisites
Before you can install and use Medusa:
Visit the Quickstart Guide to set up a server.
Visit the Docs to learn more about our system requirements.
Getting
Installation
npm install medusa-plugin-razorpay-details
Set the following environment variables in .env
:
ADMIN_URL=< your_admin_url >
http://localhost:7XXXX
https://www.XXXXX.com
Add to medusa-config.js
add to your plugins list
///...other plugins
{
resolve: 'medusa-plugin-razorpay-details',
options: {
enableUI: true,
ADMIN_URL: process.env.ADMIN_URL, // Required
},
},
Update database schema
Run the following command from the root of the project to udpate database with a new table required for storing razorpay account details
npx medusa migrations run
How to check
1. Run the following command in the directory of the Medusa backend to run the backend:
npm run start or npx medusa develop
2. click setting page and then click Razorpay credential which and see in extensions part.
3. add razorpay account detail and see the list of payment details in below tables.