Default provider, use for manual payment handling
Run the following command to install the plugin with npm:
Or with yarn:
This plugin is only for MedusaJS v2.19.0 or newer.
If you are using an older version of MedusaJS, please use the v1.0.3 version of this plugin.
Add the plugin to your file:
npm install --save @rokmohar/medusa-payment-manualyarn add @rokmohar/medusa-payment-manual1import { loadEnv, defineConfig } from '@medusajs/framework/utils'2
3loadEnv(process.env.NODE_ENV || 'development', process.cwd())4
5module.exports = defineConfig({6 // ... other config7 modules: [8 // ... other modules9 {10 resolve: '@medusajs/medusa/payment',11 options: {12 providers: [13 // ... other providers14 {15 resolve: '@rokmohar/medusa-payment-manual',16 id: 'manual',17 },18 ],19 },20 },21 ],22})