Package.json file

{
  "name": "medusa-starter-default",
  "version": "0.0.1",
  "description": "A starter for Medusa projects.",
  "author": "Medusa (https://medusajs.com)",
  "license": "MIT",
  "keywords": [
    "sqlite",
    "postgres",
    "typescript",
    "ecommerce",
    "headless",
    "medusa"
  ],
  "scripts": {
    "build": "medusa build && node ./script/postbuild.js",
    "seed": "medusa exec ./src/scripts/seed.ts",
    "start": "medusa start",
    "dev": "medusa develop ",
    "test:integration:http": "TEST_TYPE=integration:http NODE_OPTIONS=--experimental-vm-modules jest --silent=false --runInBand --forceExit",
    "test:integration:modules": "TEST_TYPE=integration:modules NODE_OPTIONS=--experimental-vm-modules jest --silent --runInBand --forceExit",
    "test:unit": "TEST_TYPE=unit NODE_OPTIONS=--experimental-vm-modules jest --silent --runInBand --forceExit"
  },
  "dependencies": {
    "@medusajs/admin-sdk": "2.1.3",
    "@medusajs/cli": "2.1.3",
    "@medusajs/event-bus-local": "latest",
    "@medusajs/event-bus-redis": "latest",
    "@medusajs/file-local-next": "^0.0.3",
    "@medusajs/framework": "2.1.3",
    "@medusajs/fulfillment": "2.1.3",
    "@medusajs/medusa": "2.1.3",
    "@medusajs/notification-sendgrid": "2.1.3",
    "@medusajs/payment-stripe": "2.1.3",
    "@mikro-orm/core": "5.9.7",
    "@mikro-orm/knex": "5.9.7",
    "@mikro-orm/migrations": "5.9.7",
    "@mikro-orm/postgresql": "5.9.7",
    "@react-email/components": "0.0.31",
    "awilix": "^8.0.1",
    "medusa-fulfillment-manual": "^1.1.41",
    "multer": "1.4.5-lts.1",
    "pg": "^8.13.0",
    "react-dropdown-select": "^4.11.4",
    "react-error-boundary": "^4.1.2",
    "resend": "^4.0.1"
  },
  "devDependencies": {
    "@mikro-orm/cli": "5.9.7",
    "@swc/core": "1.5.7",
    "@swc/jest": "^0.2.36",
    "@types/jest": "^29.5.13",
    "@types/multer": "^1.4.12",
    "@types/node": "^20.0.0",
    "@types/react": "^18.3.2",
    "@types/react-dom": "^18.2.25",
    "jest": "^29.7.0",
    "medusa-test-utils": "1.1.45",
    "prop-types": "^15.8.1",
    "react": "^18.2.0",
    "react-dom": "^18.2.0",
    "ts-node": "^10.9.2",
    "typescript": "^5.6.2",
    "vite": "^5.2.11"
  },
  "engines": {
    "node": ">=20"
  },
  "packageManager": "[email protected]+sha512.60c18acd138bff695d339be6ad13f7e936eea6745660d4cc4a776d5247c540d0edee1a563695c183a66eb917ef88f2b4feb1fc25f32a7adcadc7aaf3438e99c1"
}

Node.js version

v22.10.0

Database and its version

PostgreSQL 15.6.1.115

Operating system name and version

Macbook Pro 2023 - MacOS 15.1.1

Browser name

No response

What happended?

I hit the 3 dots in the order detail view, then click cancel, and it does nothing that I see at least. Looking at the network logs it seems to show this:

{ "type": "not_allowed", "message": "Order with payment capture(s) cannot be canceled" }

However nothing in the UI notifies the user as to what happened.

Expected behavior

Notify user

Actual behavior

Does nothing

Link to reproduction repo

https://github.com/medusajs/medusa

Next issue in about 20 hours