vendure-popular-products-plugin
v0.0.1
Published
💳 A plugin to enable Razorpay as a payment provider for Vendure E-commerce
Downloads
1
Readme
Vendure Razorpay Plugin
💳 A plugin to enable Razorpay as a payment provider for Vendure E-commerce
🌟 Feature
This plugin have inside it a lot of stuff:
- A
PaymentMethodHandler
to createPayments and configure Razorpay transaction - A custom field
customFieldsRazorpay_order_id
on Order to set razorpayOrderId for corresponding vendure order id. - Refund payments in Admin UI
⚙️ Install
1. Install and configure Vendure
Here you can find out how to install
2. Install the package
npm install vendure-razorpay-payment-plugin --save
3. Add the plugin in Vendure configuration
import { PopularProductsPlugin } from 'vendure-razorpay-payment-plugin';
const config: VendureConfig = {
...
plugins: [
PopularProductsPlugin
]
}
4. Configure RazorPay
You will need to enable and configure the options to make work. You can edit this in Payment Method section in Vendure Admin UI
5. Enjoy!
It's done!
😍 Do you like?
Please, consider supporting my work as a lot of effort takes place to create this repo! Thanks a lot.
❗️ License
MIT