Commit Graph
45 Commits
Author SHA1 Message Date
Sebastian Rindom 312e405588 Robustness 2020-07-14 17:23:43 +02:00
Sebastian Rindom 44c7177e43 Automatic stripe customers; address 2020-07-14 08:10:09 +02:00
Sebastian Rindom cd989c56a7 Setup future usage 2020-07-13 17:35:50 +02:00
Sebastian Rindom 60b8bca753 Adds account support 2020-07-12 12:11:31 +02:00
Sebastian Rindom 419d5db340 Klarna clean up 2020-07-11 16:32:05 +02:00
olivermrbl 30c101a8be Adds create order transactiom 2020-07-10 10:23:31 +02:00
olivermrbl 08cf7c7f2b Adds createFromCart and order.completed subscribers 2020-07-09 18:16:45 +02:00
olivermrbl 758c72bdf1 Fixes as a result of 'end-to-end-backend' test 2020-07-03 17:00:27 +02:00
Sebastian Rindom 48310ff384 Merge master 2020-06-29 16:23:54 +02:00
Sebastian Rindom bc5ff91a02 Adds Store Service to control store settings (#76)
Also adds support for `projectConfig.admin_cors` & `projectConfig.store_cors`
2020-06-29 10:23:24 +02:00
Sebastian Rindom 47e60e39c7 gitignore mocks 2020-05-28 20:18:46 +02:00
Sebastian Rindom 98a72ca7b4 registers payment/fulfillment providers with correct names 2020-05-28 20:17:13 +02:00
Sebastian Rindom de35931d7a Updates method to reflect correct payment provider API 2020-05-27 22:53:26 +02:00
Sebastian Rindom ad4f9479ea Update stripe gitignore 2020-05-27 18:47:52 +02:00
Oliver Windall Juhl 3debd7e108 Stripe payment provider plugin (#65)
Adds Stripe payment provider plugin

Closes #44
2020-05-25 21:08:16 +02:00
Sebastian Rindom 4c2aec2838 Adds publish/subscribe pattern to allow plugins and projects to hook into events (#55)
Also adds CLI to ease development.
2020-05-07 13:47:27 +02:00
Sebastian Rindom 516bc7675d Adds Middleware API (#40)
* Adds test project

* Adds e2e for end-2-end tests

* Update gitignore

* Update loaders

* Creates test project

* v0.1.27

* Upgrade

* dependency fixes

* Load project plugins in the plugin loader

* Issue with instanceof

* Fixes versioning issues

* Adds medusa middleware api

* Adds documentation

* Fixes tests
2020-05-01 13:33:03 +02:00
Sebastian Rindom feda00d2d1 Decorators (#42)
Adds decorator functionality to BaseService
2020-04-30 21:39:30 +02:00
Sebastian Rindom ea4185eddd Creates ShippingProfileService & ShippingOptionService (#30)
Adds ShippingProfiles:

With Shipping Profiles store operators can group products together and select which shipping options can fulfill the products. The shipping profiles are region agnostic, but for products to be shippable to a given region the shipping profile must have a shipping option associated that ships to this region.

Adds Shipping Options:

Shipping Options represents a way that the customer can have their order shipped. The shipping option has a fulfillment provider associated to determine who fulfills orders with the given shipping method. If a fulfillment provider has multiple ways that they can ship a shipping option for each of the fulfillment provider's shipping options can be created.
2020-04-07 16:35:27 +02:00
Sebastian Rindom bc5dc5fab4 Fixes failing user tetst 2020-04-06 12:51:23 +02:00
Sebastian Rindom 35e0930650 v0.3.0 2020-04-06 12:14:08 +02:00
Sebastian Rindom f0a9fd34f4 Publish 2020-04-06 12:13:55 +02:00
Sebastian Rindom a83ab58c76 v0.2.0 2020-04-06 12:13:16 +02:00
Sebastian Rindom 9308707884 Publish 2020-04-06 12:12:33 +02:00
Sebastian Rindom b874495fde v0.2.0-alpha.0 2020-04-04 15:48:28 +02:00
Sebastian Rindom cc8ccd44b9 v0.1.27-alpha.0 2020-04-04 15:48:15 +02:00
Sebastian Rindom 808d0912e3 Load Services, Models and API from Core, Plugins and Project root (#23) 2020-03-30 16:52:20 +02:00
Sebastian Rindom 086e7dac7d v0.1.6-alpha.0 2020-03-24 11:18:21 +01:00
Sebastian Rindom 1aee503162 Lerna ready 2020-03-24 11:18:04 +01:00
Sebastian Rindom d3ae95ffe0 v0.1.5-alpha.0 2020-03-24 10:53:36 +01:00
Sebastian Rindom edc9052adc v0.1.4-alpha.0 2020-03-24 10:33:43 +01:00
Sebastian Rindom b32c7c760b Rename 2020-03-24 10:33:13 +01:00
Sebastian Rindom 6fce625a01 v0.1.3-alpha.0 2020-03-24 10:28:11 +01:00
Sebastian Rindom 665860d239 chore: lerna 2020-03-24 10:26:45 +01:00
Sebastian Rindom ba3d667655 v0.1.2-alpha.0 2020-03-24 10:04:55 +01:00
Sebastian Rindom c66ec0e525 chore: update repo url 2020-03-24 10:02:21 +01:00
Sebastian Rindom 75d85829c7 v0.1.1-alpha.0 2020-03-24 09:54:56 +01:00
Sebastian Rindom 351aa21861 chore: update repo url 2020-03-24 09:48:38 +01:00
Sebastian Rindom 3a42488897 v0.1.0-alpha.0 2020-03-24 09:22:04 +01:00
Sebastian Rindom edce88c34b Moves Medusa interfaces defines model schemas for Customer, Cart, Order 2020-01-30 09:38:08 +01:00
Sebastian Rindom ed472e9fba Creates test request helper for API endpoints
Separates common utils into the medusa-core-utils package.
Sets up a testing environment where mocked models/services/etc. can be placed in
__mocks__ folder within its corresponding directory. The mocks will
automatically be registered in a awilix container only used for testing.
2020-01-21 15:13:47 +01:00
Sebastian Rindom 46a384d6cb .gitignore update 2020-01-18 15:19:23 +01:00
Sebastian Rindom c7cf9b8061 Add core 2020-01-18 15:08:22 +01:00
Sebastian Rindom 2d8dd4b0a9 Lerna setup 2020-01-18 14:58:25 +01:00
Sebastian Rindom aa6bb4648e Initial commit 2020-01-18 14:48:15 +01:00