Default provider, use for manual payment handling
Run the following command to install the plugin with npm:
npm install --save @rokmohar/medusa-payment-manualOr with yarn:
yarn add @rokmohar/medusa-payment-manualThis 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.
Add the plugin to your file:
1import { 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})