Commit Graph
100 Commits
Author SHA1 Message Date
Stevche RadevskiandGitHub 7c72e7bae9 fix: Updates to medusa payments provider (#13914) 2025-10-31 11:45:00 +01:00
ef7b9b9375 feat: Implement medusa payments provider (#13772)
* feat: Implement medusa payments provider

* chore: Improvements after testing

* chore: Add typings to medusa payments

* fix: Final changes to complete medusa payment provider

* update package

* fix: Final changes to complete medusa payment provider

---------

Co-authored-by: adrien2p <adrien.deperetti@gmail.com>
Co-authored-by: Oli Juhl <59018053+olivermrbl@users.noreply.github.com>
2025-10-29 15:07:33 +01:00
Stevche RadevskiandGitHub ee1c77a01f feat: Add support for multiple active keys at a time (#13754) 2025-10-16 10:07:08 +02:00
Stevche RadevskiandGitHub ff98055592 fix: Add created_at to workflow execution filtering typings (#13295) 2025-08-25 19:31:55 +02:00
Stevche RadevskiandGitHub 2c1fe4cfe4 fix: Allow getting the token from the SDK client (#13164) 2025-08-08 08:42:44 +02:00
Stevche RadevskiandGitHub 95c3f4933a fix: Add missing migration for payment statuses (#12821) 2025-06-25 11:28:33 +02:00
Stevche RadevskiandGitHub c0807f5496 fix: Allow setting the status of a payment session when updating (#12809) 2025-06-24 13:15:10 +02:00
Stevche RadevskiandGitHub b116f75fbf fix(payment): Return and set the correct status when a session is created with stripe (#12769) 2025-06-21 20:36:58 +02:00
Stevche RadevskiandGitHub a7a264b13c fix: Add missing partially funded event handler for Stripe (#12763) 2025-06-18 16:23:13 +02:00
Stevche RadevskiandGitHub 5856963e0b feat: Normalize payment method data and options when passed to Stripe (#12757) 2025-06-18 09:23:42 +02:00
Stevche RadevskiandGitHub 4e26e1ab3e chore: Remove source maps for icons (#12752) 2025-06-17 09:09:35 +02:00
Stevche RadevskiandGitHub 3ca02749c4 fix: Disable ensure database checks when establishing DB connection (#12734) 2025-06-13 16:45:49 +02:00
Stevche RadevskiandGitHub bff5c00777 feat: Improve startup time by parallelizing module and link loading (#12731) 2025-06-13 13:11:19 +02:00
Stevche RadevskiandGitHub 98798f305c fix: Correctly list files for all ids that are passed (#12575) 2025-05-22 14:52:05 +02:00
Stevche RadevskiandGitHub 3e5794d657 fix: Correctly import MedusaError in the analytics module (#12542) 2025-05-20 13:29:51 +02:00
b9a51e217d feat: Add an analytics module and local and posthog providers (#12505)
* feat: Add an analytics module and local and posthog providers

* fix: Add tests and wire up in missing places

* fix: Address feedback and add missing module typing

* fix: Address feedback and add missing module typing

---------

Co-authored-by: Adrien de Peretti <adrien.deperetti@gmail.com>
Co-authored-by: Oli Juhl <59018053+olivermrbl@users.noreply.github.com>
2025-05-19 19:57:13 +02:00
Stevche RadevskiandGitHub 66ec80ec31 fix: Skip migration if module is not installed (#12507) 2025-05-16 11:57:06 +02:00
Stevche RadevskiandGitHub f929185021 fix: Use logger in the test runner and migration commands (#12406) 2025-05-08 11:25:47 +02:00
Stevche RadevskiandGitHub c4a0b63778 feat: Add support for uploading a file directly to the file provider from the client (#12224)
* feat: Add support for uploading a file directly to the file provider from the client

* fix: Add missing types and add a couple of module tests

* fix: Allow nested routes, add test for it
2025-04-18 10:22:00 +02:00
Stevche RadevskiandGitHub c4f75ecbb2 feat: Add support for generating a cloud-ready config out of the box (#11850) 2025-03-21 09:21:38 +01:00
Stevche RadevskiandGitHub e0109540fa feat: Change customer to account_holder to be one-to-many (#11803) 2025-03-12 16:05:38 +01:00
Stevche RadevskiandGitHub 4b3869ef2c fix: Add created at and updated at dates to payment session (#11774) 2025-03-07 19:58:37 +00:00
Stevche RadevskiandGitHub 93dc10332d fix: Exclude the health endpoint from being logged (#11650) 2025-02-27 16:22:50 +01:00
Stevche RadevskiandGitHub 3281613e22 fix: typings for list payment method were incorrect (#11523) 2025-02-19 09:15:42 +00:00
Stevche RadevskiandGitHub 99a6ecc12d feat: Add support to update account holder (#11499) 2025-02-18 11:04:25 +01:00
Stevche RadevskiandGitHub 91d3332f9e feat: Add support for idempotency key in payments (#11494) 2025-02-17 18:08:19 +01:00
Stevche RadevskiandGitHub 8d10731343 fix: Remove swc/core as a production dependency (#11416) 2025-02-12 13:22:59 +01:00
Stevche RadevskiandGitHub 702d338284 fix: Minor fixes and cleanup to the payments setup (#11356)
This PR adds a couple new statuses to the payment collection and payment webhook results. The payment collection will now be marked as "completed" once the captured amount is the full amount of the payment collection.

There are several things left to improve the payment setup, so non-happy-path cases are handled correctly.
1. Currently the payment session and payment models serve a very similar purpose. Part of the information is found on one, and the other part on the other model, without any clear reason for doing so. We can simplify the payment module and the data models simply by merging the two.
2. We need to handle failures more gracefully, such as setting the payment session status to failed when such a webhook comes in.
3. We should convert the payment collection status and the different amounts to calculated fields from the payment session, captures, and refunds, as they can easily be a source of inconsistencies.
2025-02-09 15:42:02 +00:00
Stevche RadevskiandGitHub 9e7069cdf4 chore: Remove unused payment method token model (#11342) 2025-02-06 14:57:56 +01:00
Stevche RadevskiandGitHub 87db3f0c45 fix: Use the correct currency for edit promotions form (#11307)
FIXES #11297
2025-02-04 17:15:15 +00:00
Stevche RadevskiandGitHub 614ff2907f fix: Add missing typings around creating a payment method (#11209) 2025-01-29 10:55:36 +01:00
Stevche RadevskiandGitHub 59cbc0ec77 feat: Add support for managing account holder in payment module (#11015) 2025-01-28 08:55:15 +01:00
Stevche RadevskiandGitHub 05c8a67d8e feat: Add support for creating payment methods to payment module (#11063)
CLOSES CLO-407
2025-01-21 11:31:44 +00:00
Stevche RadevskiandGitHub a0fc612bf4 feat: Add translations for Macedonian (#11039)
I figured I should at least translate Medusa in my own language 😄 

I did some AI translation first, and did a quick round of obvious improvements. Can be made better but it's pretty good as-is.
2025-01-20 16:37:23 +00:00
Stevche RadevskiandGitHub f99f720dd4 feat: Add support for listing saved payment methods in module and Stripe (#10994) 2025-01-16 16:16:04 +01:00
Stevche RadevskiandGitHub da8e173974 feat: Remove fields from payment models that were leftovers from v1 (#10987) 2025-01-16 10:10:03 +01:00
f5235862c0 feat: Improvements to payment module and Stripe provider (#10980)
* fix: Correctly parse Stripe error, remove unused method

* fix: Isolate the payment provider error check function

* fix: Allow passing few extra parameters to Stripe

---------

Co-authored-by: Oli Juhl <59018053+olivermrbl@users.noreply.github.com>
2025-01-16 08:12:53 +01:00
Stevche RadevskiandGitHub 44cd0224af fix: Put routes loader error inline (#10912) 2025-01-16 08:11:19 +01:00
d845adc68b fix: Include is default billing and shipping fields in the address response (#10970)
Co-authored-by: Oli Juhl <59018053+olivermrbl@users.noreply.github.com>
2025-01-15 12:52:51 -05:00
Stevche RadevskiandGitHub fde73dbfae feat(auth-google,auth-github): Allow passing a custom callbackUrl to … (#10829)
* feat(auth-google,auth-github): Allow passing a custom callbackUrl to oauth providers

* feat: Add state management in auth providers

* chore: Changes based on PR review
2025-01-06 17:33:29 +01:00
Stevche RadevskiandGitHub c8f9938865 feat(medusa): Add health endpoint for all running modes of medusa (#10737) 2024-12-26 13:53:12 +08:00
Stevche RadevskiandGitHub 3626118eef feat(file-s3): Add support for IAM role authentication to file-s3 provider (#10528) 2024-12-11 18:30:37 +08:00
Stevche RadevskiandGitHub bed00e154d feat(js-sdk): Make credentials configurable in SDK (#10464) 2024-12-06 15:39:35 +08:00
Stevche RadevskiandGitHub f7279f1b96 fix: Use the correct defaults for the invite token expiry (#10344) 2024-11-28 12:06:32 +01:00
Stevche RadevskiandGitHub 6e447da33c fix: Fix product module creation example (#10228) 2024-11-25 16:23:54 +01:00
Stevche RadevskiandGitHub cd578e89ff fix: Use sub instead of email for google entity ID (#9949) 2024-11-07 09:24:14 +01:00
Stevche RadevskiandGitHub b3cbc160eb fix: Default to a relative path for the admin backend URL (#9947) 2024-11-06 15:08:38 +01:00
Stevche RadevskiandGitHub 30edc8fa40 fix: Support relative path in SDK (#9942) 2024-11-06 09:45:59 +01:00
Stevche RadevskiandGitHub abe003a5d6 fix: Don't store token in SDK by default (#9704) 2024-10-22 10:42:55 +02:00
Stevche RadevskiandGitHub e81dbc754c chore: Correctly assert test (#9695) 2024-10-21 18:07:13 +00:00
Stevche RadevskiandGitHub a461e21ae7 fix: Get backend URL from environment variable if available (#9450) 2024-10-03 11:50:28 +00:00
Stevche RadevskiandGitHub bffb36cd11 fix: Use the default admin port in create medusa app env definition (#9439) 2024-10-03 09:53:57 +02:00
Stevche RadevskiandGitHub 86badc6804 fix: Export all classes and types from the SDK (#9422) 2024-10-02 10:40:26 +02:00
Stevche RadevskiandGitHub 9e299cf130 fix: Correctly reference job hander in loader (#9396) 2024-10-01 10:04:32 +02:00
Stevche RadevskiandGitHub e7bde31bdb fix: Pass order object to create fulfillment (#9391) 2024-09-30 19:18:23 +02:00
Stevche RadevskiandGitHub d8c4e0de1d fix: Use correct propname for stroke opacity (#9331) 2024-09-30 11:57:38 +00:00
Stevche RadevskiandGitHub 262aa4291a fix: Bind abort controller to abort in sdk (#9341) 2024-09-27 08:57:30 +02:00
Stevche RadevskiandGitHub 7c4960a4d1 fix: Add actor type to password reset event (#9301) 2024-09-25 12:26:45 +02:00
Stevche RadevskiandGitHub bb342d46f6 fix: Add missing await when refetching region (#9283)
FIXES #9280 
FIXES #9277
2024-09-24 14:28:12 +00:00
Stevche RadevskiandGitHub c94f89610f fix: Remove test listeners after the event has happened (#9115) 2024-09-12 10:45:58 +02:00
Stevche RadevskiandGitHub 3244067ee4 feat: Add support for fetch streaming to js SDK (#9065) 2024-09-10 09:14:10 +02:00
Stevche RadevskiandGitHub 4031da35b0 fix: Allow specifying PORT for tests through environment (#9055) 2024-09-09 11:56:15 +02:00
Stevche RadevskiandGitHub f32091f702 fix: Check for star actor types when allowing unregistered access (#9037) 2024-09-06 15:16:10 +02:00
Stevche RadevskiandGitHub 62e0c593c8 feat: Add support for refreshing JWT tokens (#9013)
* feat: Add support for refreshing JWT tokens

* feat: Add refresh method to the auth SDK
2024-09-06 12:58:57 +02:00
Stevche RadevskiandGitHub b9ea116697 fix: Remove deprecated method, generalize typings in auth (#8998) 2024-09-04 16:05:56 +00:00
Stevche RadevskiandGitHub ed26fb4d19 fix: Check actor type on account creation, fix github entity id (#8996) 2024-09-04 17:23:31 +02:00
Stevche RadevskiandGitHub af4f8811bd feat: Add github authentication provider (#8980)
* feat: Add github authentication provider

* feat: Change callback to always return a token, expect callbackUrl to point to FE

* fix: Return login redirect URLas a 200 response
2024-09-04 13:14:00 +02:00
Stevche RadevskiandGitHub 57e7653adf fix: Doing update to cart with shipping options set removes them (#8752) 2024-08-25 10:46:48 +02:00
Stevche RadevskiandGitHub 9ba52021d0 fix: Log on error by default in async workflow executions (#8723) 2024-08-22 13:33:11 +02:00
Stevche RadevskiandGitHub 4980285317 chore: Remove create user tests that are no longer relevant (#8638) 2024-08-18 16:53:56 +02:00
Stevche RadevskiandGitHub 0f240137e9 fix: Remove the endpoint to create a user (#8629) 2024-08-16 16:12:32 +02:00
Stevche RadevskiandGitHub a013c4edc5 feat: Move userpass default definition to defineConfig instead of a hard-coded value (#8557) 2024-08-13 11:10:23 +02:00
Stevche RadevskiandGitHub 4af82aab32 fix: Use local notification provider for feed channel by default (#8518) 2024-08-08 18:22:50 +02:00
Stevche RadevskiandGitHub 4155d0354f fix: Use a global reference to distributed transaction and scheduler (#8462)
* fix: Add storage cleanup on scheduled jobs

* fix: Use a global reference to distributed transaction and scheduler classes
2024-08-06 14:14:51 +02:00
Stevche RadevskiandGitHub 5c09f0813d fix: Upgrade bullmq and adjust to breaking changes in repeatable jobs (#8446) 2024-08-05 13:00:27 +02:00
Stevche RadevskiandGitHub 4b0119f7ce fix: Don't remove pricing if no variant is passed to update (#8416) 2024-08-02 17:55:47 +02:00
Stevche RadevskiandGitHub dbfc145ab3 fix: Check for existence of modules when seeding default data (#8406) 2024-08-02 08:44:57 +00:00
Stevche RadevskiandGitHub 3a068c6b27 feat: Use tag ids instead of values wherever possible (#8394) 2024-08-02 09:22:03 +02:00
Stevche RadevskiandGitHub d36d48df76 feat: Show notice on new notifications (#8390) 2024-08-01 17:10:34 +02:00
Stevche RadevskiandGitHub 4081b3359d feat: Add support for sorting export headers (#8386)
* feat: Add support for sorting export headers

* fix: Minor fixes to import flow
2024-08-01 13:23:49 +02:00
Stevche RadevskiandGitHub 7569fd1605 fix: Updating product prices removed existing prices (#8388)
RESOLVES #8376
CLOSES CC-288
2024-08-01 08:46:11 +00:00
Stevche RadevskiandGitHub 123dad7db8 feat: Add support for categories in product import and export (#8375)
* feat: Add support for product categories on export and import

* fix: Make the rest of the import workflow async as well
2024-08-01 09:07:30 +02:00
Stevche RadevskiandGitHub 31449972ed fix: Use region name in product pricing exports (#8373)
* fix:Bug fixes to product import

* fix:Add an export failed notification if an export fails

* fix: Use region name in product export prices
2024-07-31 15:34:27 +02:00
Stevche RadevskiandGitHub 8a6e172dec feat:Make product import v1 compatible (#8362) 2024-07-31 13:03:05 +02:00
Stevche RadevskiandGitHub 9de1d8c9c3 fix: Added more tests and fixed a couple of issues with product import (#8341) 2024-07-30 22:14:33 +02:00
Stevche RadevskiandGitHub 1066499402 feat: Add support for product imports (#8298)
* feat: Add support for product imports

* fix: Add product import template to import UI
2024-07-30 16:46:08 +02:00
Stevche RadevskiandGitHub b539c6d5bb feat: Add support for product export in UI (#8281)
* feat: Add support for product export in UI

* fix:Return the backend URL for private files of local file provider
2024-07-29 21:50:22 +02:00
Stevche RadevskiandGitHub e98012a858 feat:Allow updating prices through product update workflow (#8316)
* feat:Allow updating prices through product update workflow

* fix:Changes based on PR feedback
2024-07-29 19:56:03 +03:00
Stevche RadevskiandGitHub df734a3ce9 fix: Store private files in the static directory by default (#8325) 2024-07-29 12:41:47 +03:00
Stevche RadevskiandGitHub 639ecdfd74 fix: Correctly associate options to variants (#8285) 2024-07-25 17:56:13 +02:00
Stevche RadevskiandGitHub 47c132c70b feat: Add empty state to notifications and remove no more data (#8277)
CLOSES CC-242
CLOSES CC-243
CLOSES CC-245
2024-07-25 15:08:16 +00:00
Stevche RadevskiandGitHub 5d9ea4f718 fix: Also apply simple type to operator map (#8278) 2024-07-25 16:54:42 +02:00
Stevche RadevskiandGitHub 6d0650818a feat:Add confirmation step to product import (#8284)
CLOSES CC-251
2024-07-25 14:54:31 +00:00
Stevche RadevskiandGitHub 444a244eab feat: Add basic support for importing products (#8266) 2024-07-25 11:07:24 +02:00
Stevche RadevskiandGitHub a26b7cf253 feat: Implement notifications feed (#8224)
Designs: https://www.figma.com/design/z3aUuOVWUKmdHH0ofmMpEV/Web-app-3.0?node-id=10-50&t=9k6K9k7oJh5tIi09-0

![Screenshot 2024-07-22 at 17 02 10](https://github.com/user-attachments/assets/bc7da39f-8ddb-4f93-bf4e-884f063bc1c6)


CLOSES CC-219
2024-07-25 07:37:01 +00:00
Stevche RadevskiandGitHub 44f593a7ca fix:Product options were not preserved over updates (#8267) 2024-07-25 08:24:26 +02:00
Stevche RadevskiandGitHub bcba5b3a6c chore: Make scheduled job tests less likely to fail (#8241) 2024-07-23 16:59:27 +02:00
Stevche RadevskiandGitHub 4b09be3a88 feat: Add skeleton for supporting product imports in BE (#8232) 2024-07-23 11:16:14 +02:00
Stevche RadevskiandGitHub 4c67599730 fix: Event emitter not cleared in export tests (#8228) 2024-07-22 21:43:22 +02:00
Stevche RadevskiandGitHub 0d2e7befbd feat: Add support for exporting products in backend (#8214)
CLOSES CC-221
CLOSES CC-223
CLOSES CC-224
2024-07-22 13:40:04 +00:00