medusa-payment-load-test
v0.0.2
Published
Load Test Payment provider for test
Downloads
525
Maintainers
Readme
Load Test Payment
Payment Provider allows merchants to handle payment for load test.
Medusa Website | Medusa Repository
Features
- Provides a restriction-free payment provider that can be used during checkout and while processing orders.
Prerequisites
How to Install
1. Run the following command in the directory of the Medusa backend:
npm install medusa-payment-load-test
2. In medusa-config.js
add the following at the end of the plugins
array:
const plugins = [
// ...
`medusa-payment-load-test`
]
Test the Plugin
1. Run the following command in the directory of the Medusa backend to run the backend:
npm run start
2. Enable the payment provider in a region in the admin. You can refer to this User Guide to learn how to do that. Alternatively, you can use the Admin APIs.
3. Place an order using a storefront or the Store APIs. You should be able to use Stripe as a payment method.