Плагины Medusa
M

Manual

Manual payment plugin for Medusa 2

Нужна доработка этого плагина?

Связаться с нами
npm install @rokmohar/medusa-payment-manual
Категория
payment
Создано
rokmohar
Тип
unknown
Последнее обновление
4 месяца назад
Звезды на Github
4

Manual payment for MedusaJS v2

Installation

Run the following command to install the plugin with npm:

npm install --save @rokmohar/medusa-payment-manual

Or with yarn:

yarn add @rokmohar/medusa-payment-manual

⚠️ MedusaJS v2.5.0 or newer

This plugin is only for MedusaJS v2.5.0 or newer.

If you are using MedusaJS v2.4.0 or older, please use the older version of this plugin.

Configuration

Add the plugin to your file:

import { loadEnv, defineConfig } from '@medusajs/framework/utils'
loadEnv(process.env.NODE_ENV || 'development', process.cwd())
module.exports = defineConfig({
// ... other config
modules: [
// ... other modules
{
resolve: '@medusajs/medusa/payment',
options: {
providers: [
// ... other providers
{
resolve: '@rokmohar/medusa-payment-manual',
id: 'manual',
},
],
},
},
],
})
Medusa - Manual