2530 Commits
Author SHA1 Message Date
Sebastian Rindom 83844de960 hotfix(medusa): adds variant retrieve/list endpoints 2020-11-26 15:12:37 +01:00
Sebastian Rindom 57b2e51334 hotfix(medusa): add discounts to swap cart 2020-11-24 14:45:07 +01:00
Sebastian Rindom fd04233238 feature: swaps (#137)
* feat: swap schema

* chore(refactor): move returns to separate service

* swap order creates return

* fix: adds returns/fulfillments/shipments and cart creation to swaps

* search products by variants

* feat: swaps ready

* fix: test passing

* chore: include customer expand fields on order

* add tests

* fix: add brightpearl plugin support

* fix: adds swap link template setting

* fix: tests

* fix(medusa-plugin-brightpearl): add swap status option

* docs: add swap description

* fix: adds GET swap in store api

* chore: unmock axios

* fix: passing klarna tests

* fix: pr
2020-11-24 14:02:49 +01:00
Sebastian Rindom f4965eba8d hotfix(medusa): compatible with missing shipped_quantity fields 2020-11-13 14:36:33 +01:00
Oliver Windall Juhl 6a3c545537 feat(medusa): Adds shipped status to line items + Capture fails will give payment_status = requires_action 2020-11-13 12:43:02 +01:00
Sebastian Rindom 53124349ef hotfix: throw on empty carts 2020-11-05 10:19:28 +01:00
Sebastian Rindom f3aba57056 hotfix: don't allow empty carts to be created 2020-11-05 10:08:06 +01:00
Sebastian Rindom 8166a3952f hotfix: add missing totals calculations to order service decorate 2020-11-04 14:02:49 +01:00
Oliver Windall Juhl d67b6e6ebe feat(medusa): Adds set and delete metadata endpoints for region and orders (#131) 2020-11-04 11:38:04 +01:00
Sebastian Rindom e3faa646a7 fix: add country code on preCartCreation 2020-11-02 12:32:45 +01:00
Sebastian Rindom b1786ce9d8 fix: adds field selection to list order endpoint (#133) 2020-10-31 15:28:26 +01:00
Sebastian Rindom f2c62cd232 feat(medusa): adds support for gift cards (#132)
* fix(medusa-plugin-brightpearl): adds gift cards to gift card nominal code

* fix: allow orders with 0 total to be created

* fix: gift card ready

* tests passing

* docs: brightpearl comment

* docs: clearer REMEMBER note
2020-10-28 15:55:50 +01:00
Sebastian Rindom b33fcfa182 chore: test fix 2020-10-22 11:37:23 +02:00
Sebastian Rindom 696799da23 hotfix(medusa): pass value instead of reference 2020-10-20 18:13:48 +02:00
Oliver Windall Juhl cc23a3b070 feat(medusa-interfaces): Adds schema options to base model 2020-10-20 17:07:47 +02:00
Sebastian Rindom c5c19d2988 hotfix(medusa): missing shipping_address update 2020-10-20 15:29:39 +02:00
Sebastian Rindom 30e64dda71 allow country code on set region 2020-10-20 14:34:49 +02:00
Sebastian Rindom ec93aea110 hotfix(medusa): emit event with updated shipment 2020-10-19 16:07:00 +02:00
Oliver Windall Juhl 46dbbdb9fb hotfix(medusa): Save empty metadata on line-items (#126) 2020-10-17 17:06:20 +02:00
Sebastian Rindom c1e821d9d4 feat: return shipping and flow (#125)
Adds support for return shipping methods and changes returns to have a request/receive flow. Store operators should now first request a return, noting the line items that will be returned. When the inventory is received the return will be registered triggering the refund. Return shipping methods can now be created for all regions.
2020-10-14 17:58:23 +02:00
Oliver Windall Juhl 128351a8f0 hotfix(CartService): Preserve metadata on line-item updates 2020-10-14 08:28:56 +02:00
Sebastian Rindom abbe42cec8 hotfix(medusa): adds missing regionService 2020-10-08 10:17:38 +02:00
Oliver Windall Juhl 371fd0c433 Adds use of injected decorators in all services (#122)
* hotfix(services): Use injected decorators in services

* Fixes test
2020-10-08 09:03:05 +02:00
Sebastian Rindom 5deca90b5f hotfix: fulfillment-schema (#121)
* chore: debug

* corrects fulfillment schema
2020-10-06 16:59:15 +02:00
Sebastian Rindom 11bedf8c6f fix/cancel-order (#120)
* fix: adds ability to cancel order

* passing tests

* chore: clean up unused code
2020-10-06 14:00:47 +02:00
Sebastian Rindom 0889059ba1 fix(medusa-plugin-brightpearl): reliable oauth (#119) 2020-10-05 11:48:20 +02:00
Oliver Windall Juhl a06d603722 hotfix(medusa): Check metadata in line item isEqual 2020-10-05 11:22:46 +02:00
Sebastian Rindom 893a7f69af feat: webshipper (#118)
* register fulfillment providers as singletons

* fix: adds subscribers/api endpoints and webhook handlers

* Adds readme

* Allow document attachments to orders:

* chore: gitignore utils

* chore: rm compiled files
2020-10-05 08:44:12 +02:00
Oliver Windall Juhl d8483cd135 fix(medusa-plugin-addon): Fixes admin endpoints, Adds flag to avoid merging add-on line-items 2020-09-23 09:51:47 +02:00
Sebastian Rindom d784e5b0fb hotfix: list shipping options by product id 2020-09-21 14:29:36 +02:00
Sebastian Rindom 15bcc1d68c hotfix(medusa): shipping option metadata (#110)
* hotfix(medusa): allow metadata update of shipping options

* fix: typo
2020-09-21 11:44:57 +02:00
Sebastian Rindom 745e64323c hotfix(medusa): allow custom refund with return 2020-09-18 13:49:53 +02:00
Sebastian Rindom c5019ca0d1 fix(medusa): add line item to order.gift_card_created event 2020-09-11 13:48:07 +02:00
Sebastian Rindom c7bd7838aa fix: cron jobs and brightpearl auto refresh (#107)
* fix: adds automatic refresh of tokens

* fix: send options to plugin loaders

* fix: adds README optional inventory sync
2020-09-10 13:33:38 +02:00
Oliver Windall Juhl e3d8eea3cd (feat): Adds phone number to Customer 2020-09-09 16:55:34 +02:00
Oliver Windall Juhl 3de1e6dd4a feat(plugins): Adds add-on plugin
Adds an add-on plugin, that supports adding add-ons to line items in the cart
2020-09-09 15:22:57 +02:00
Sebastian Rindom db519fbaa6 fix: updates license 2020-09-09 09:15:58 +02:00
Sebastian Rindom 951684c2e1 hotfix: Don't send entire error 2020-09-08 12:52:01 +02:00
Sebastian Rindom 1e04be90c8 fix: fulfillment api (#104)
* fix: updates admin fulfillment endpoint

* fix: adds shipment creation in admin

* fix: adds shipment creation in admin

* fix: missing await
2020-09-08 12:02:26 +02:00
Sebastian Rindom 7e2446f52e fix(medusa): secure cookies in staging 2020-09-07 10:48:19 +02:00
Sebastian Rindom 021544d454 fix(medusa): adds fulfillment_created event in order service (#101) 2020-09-05 15:40:57 +02:00
Sebastian Rindom 520115a2ce fix(medusa): product variant metadata (#98)
fix(medusa-plugin-sendgrid): generic email support
2020-09-04 18:48:14 +02:00
olivermrbl bcd54d7412 Adds pagination to customerService 2020-09-03 12:32:28 +02:00
olivermrbl 238e9183a9 Admin related fixes 2020-09-02 15:53:14 +02:00
Sebastian Rindom 473d7025df fix: all redis urls correct 2020-09-01 12:54:00 +02:00
Sebastian Rindom 11a9f38bce fix: all redis urls correct 2020-09-01 12:50:01 +02:00
Sebastian Rindom aece0ff3ab fix: debug 2020-09-01 12:43:59 +02:00
Sebastian Rindom d7cd7e9674 fix: pass config to service loader 2020-09-01 12:35:15 +02:00
Sebastian Rindom 61dc478084 fix: use medusa config for env vars 2020-09-01 11:57:09 +02:00
Sebastian Rindom 5504281e8a fix: asValue registrations 2020-09-01 11:37:42 +02:00