* changed validator so that reqiurement shipping_option_id is now optional + added integration test that confirms that when an update contains a requirement without an ID it is created
* fix: formatting
* fix: un-bump babel-preset-medusa-package
* chore: update yarn.lock
* fix: implemented suggested changes, need to validate behaviour on clean branch so NOT ready for merging just yet
* fix: implemented suggested changes, need to validate behaviour on clean branch so NOT ready for merging just yet
* afix: made it impossible to set a min. subtotal requirement that is greater than max. subtotal
* fix: added explanation to error
* fix: Error when removing requirement on update
Co-authored-by: olivermrbl <oliver@mrbltech.com>
* draft order now creates customer when creating cart
* corrected to update instead of create
* corrected tests
* added creation of customer to create of cart
* removed update function from mock
* added test
* corrected update to update email properly
* corrected tests
* removed unused func
* updated core properly
* removed manual-payment service
* Modifies schema to allow SQLite as a DB driver. SQLite is preinstalled in most OSes allowing for minimal prerequisites in the installation process.
* Removes Redis dependency and replaces "real" redis instance with ioredis-mock this is not feature complete and errors are expected.
* Updates medusa new command to only ask for Postgres credentials if the starter template has database_type === "postgres" in medusa-config.js
* Small improvements to bin resolution
* Improvements to endpoint stability
* feat: swap details
* test: add get-swap and list-swaps route tests
* test: add swaps integration tests
* fix: use IdMap.getId in complete-cart unit test
commit 289d191 uses the IdMap.getId in the SwapServiceMock retrieve method, so a unit test in complete-cart needs to be adjusted accordingly
* fix: prefix default fields and totals with 'cart'
* fix: allow local cmd without exiting process
* fix: improves cli experience
* fix: allow running link with --develop
* test: adds snapshot testing of error logs
* chore: cleanup
* feat(medusa-cli): new command (#320)
* adds: new command
* fix: creates command for easy project setup
* chore: deps
* chore: deps
* fix: loggin
* fix: logging
* fix: adds cli as dependency in core
* fix: consolidates CLI in medusa
* fix: use project deps medusa bin
* fix: use project deps medusa bin
* fix: use cli path
* fix: new command setup db + env vars
* fix: new command with db seed
* fix: cleanup
prevents the scenario where multiple concurrent calls to insert a shipping method may lead to an inconsistent cart state with more than 1 shipping method per profile.
What
A dummy payment provider for testing and potentially other relevant use cases like accepting cash payments. Also makes it possible to start server without notification/payment/fulfillment providers.
Why
When setting up a starter project it introduces unnecessary overhead to have to set up an account with a payment provider (e.g. Stripe). Adding a dummy provider will remove friction.
How
Extremely simple wrapper functionality.