Commit Graph

20 Commits

Author SHA1 Message Date
Sebastian Rindom
55ba9bae05 fix: sends return reasons to segment on Order Refunded event 2021-07-09 11:56:34 +02:00
Sebastian Rindom
8eec38af71 fix: adds exchange rates api key 2021-04-02 12:34:37 +02:00
Sebastian Rindom
1b00f967de fix: adds tests for segment 2021-03-23 11:12:11 +01:00
Sebastian Rindom
3258955b46 fix: don't divide zero decimal currencies 2021-03-22 11:00:56 +01:00
Sebastian Rindom
cfab2d408a fix: don't divide zero decimal currencies 2021-03-22 10:31:22 +01:00
Sebastian Rindom
dd7b306333 feat(medusa): cart context (#201)
- Adds a context field to Cart
- context is automatically populated with ip + user agent
- context can be updated via POST /store/cart/:id or set when creating via POST /store/cart
2021-03-12 11:48:51 +01:00
Sebastian Rindom
98aa404306 fix: normalize currency code 2021-02-25 11:04:18 +01:00
Sebastian Rindom
0c294b7b3a fix: add subtitle to tracks 2021-02-25 08:32:45 +01:00
Sebastian Rindom
e27cf72a8c feat(medusa-plugin-segment): adds category and type to segment events (#179) 2021-02-22 08:45:01 +01:00
Sebastian Rindom
8963f38023 hotfix: remove tax from revenue calculation 2021-02-18 11:46:46 +01:00
Sebastian Rindom
0ed6b4a6a0 fix: price after discounts 2021-02-15 17:03:40 +01:00
Sebastian Rindom
6e6669dee8 fix: item reporting revenue discounted 2021-02-15 15:57:13 +01:00
Oliver Windall Juhl
0e0dfea571 hotfix(medusa-plugin-segment): Unit price (#162) 2021-02-01 20:50:47 +01:00
Oliver Windall Juhl
4b52e9680f hotfix(medusa-plugin-segment): Correct variant and skus (#161)
* hotfix(medusa-plugin-segment): Correct variant and skus

* --amend
2021-02-01 14:23:02 +01:00
Oliver Windall Juhl
41eeecb5a8 hotfix(medusa-plugin-segment): Fix sku (#160) 2021-02-01 11:56:34 +01:00
Sebastian Rindom
f1baca3cbd Replaces MongoDB support with PostgreSQL (#151)
- All schemas have been rewritten to a relational model
- All services have been rewritten to accommodate the new data model
- Adds idempotency keys to core endpoints allowing you to retry requests with no additional side effects
- Adds staged jobs to avoid putting jobs in the queue when transactions abort
- Adds atomic transactions to all methods with access to the data layer

Co-authored-by: Oliver Windall Juhl <oliver@mrbltech.com>
2021-01-26 10:26:14 +01:00
Sebastian Rindom
8dad0b3ac7 hotfix(segment): better order tracking 2021-01-08 16:59:25 +01:00
Sebastian Rindom
6a90e94c62 fix(medusa-plugin-segment): Track additional order details 2020-09-13 11:52:55 +02:00
Sebastian Rindom
c18677d5f2 Adds integration to send sales orders to brightpearl 2020-08-03 10:23:45 +02:00
Sebastian Rindom
3710f7f80a Adds dynamic coupon codes and segment plugin 2020-07-17 14:06:55 +02:00