0.0.1 ā€¢ Published 3 years ago

vendure-popular-products-plugin v0.0.1

Weekly downloads
-
License
ISC
Repository
-
Last release
3 years ago

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