Files
Nicolas Gorga 3df466dadd
Some checks failed
Medusa Pipeline / Module Integration Tests - Shard 2 (push) Has been cancelled
Medusa Pipeline / Module Integration Tests - Shard 3 (push) Has been cancelled
Trigger Release and Publish / Trigger Preview Release (push) Has been cancelled
Trigger Release and Publish / Snapshot Release (push) Has been cancelled
Release / Version packages PR (push) Has been cancelled
Medusa Pipeline / setup (push) Has been cancelled
Medusa Pipeline / Package Integration Tests (fast) - Shard 2 (push) Has been cancelled
Medusa Pipeline / Unit Tests - Shard 1 (push) Has been cancelled
Medusa Pipeline / Unit Tests - Shard 2 (push) Has been cancelled
Medusa Pipeline / Unit Tests - Shard 3 (push) Has been cancelled
Medusa Pipeline / Unit Tests - Shard 4 (push) Has been cancelled
Medusa Pipeline / unit-tests (push) Has been cancelled
Medusa Pipeline / Package Integration Tests (fast) - Shard 1 (push) Has been cancelled
Medusa Pipeline / Package Integration Tests (fast) - Shard 3 (push) Has been cancelled
Medusa Pipeline / Package Integration Tests (slow) - Shard 1 (push) Has been cancelled
Medusa Pipeline / Package Integration Tests (slow) - Shard 2 (push) Has been cancelled
Medusa Pipeline / Package Integration Tests (slow) - Shard 3 (push) Has been cancelled
Medusa Pipeline / integration-tests-packages (push) Has been cancelled
Medusa Pipeline / HTTP Integration Tests - Shard 1 (push) Has been cancelled
Medusa Pipeline / HTTP Integration Tests - Shard 2 (push) Has been cancelled
Medusa Pipeline / HTTP Integration Tests - Shard 3 (push) Has been cancelled
Medusa Pipeline / HTTP Integration Tests - Shard 4 (push) Has been cancelled
Medusa Pipeline / integration-tests-http (push) Has been cancelled
Medusa Pipeline / Module Integration Tests - Shard 1 (push) Has been cancelled
Medusa Pipeline / Module Integration Tests - Shard 4 (push) Has been cancelled
Medusa Pipeline / integration-tests-modules (push) Has been cancelled
Close stale issues and PRs / stale (push) Has been cancelled
Docs Freshness Check / freshness-check (push) Has been cancelled
feat(core-flows): Allow payment session status captured to be processable upon cart completion (#14527)
## Summary

**What** — What changes are introduced in this PR?

Allow payment session `captured` to be processable upon cart completion.

**Why** — Why are these changes relevant or necessary?  

Without it it is impossible to complete a cart that has an already captured payment session. 

**How** — How have these changes been implemented?

Added `captured` to the processable payment session status list in the complete cart workflow payment validation step.

**Testing** — How have these changes been tested, or how can the reviewer test the feature?

Integration tests.

---

## Examples

Provide examples or code snippets that demonstrate how this feature works, or how it can be used in practice.  
This helps with documentation and ensures maintainers can quickly understand and verify the change.

```ts
// Example usage
```

---

## Checklist

Please ensure the following before requesting a review:

- [x] I have added a **changeset** for this PR
    - Every non-breaking change should be marked as a **patch**
    - To add a changeset, run `yarn changeset` and follow the prompts
- [x] The changes are covered by relevant **tests**
- [x] I have verified the code works as intended locally
- [x] I have linked the related issue(s) if applicable

---

## Additional Context

Add any additional context, related issues, or references that might help the reviewer understand this PR.

Closes CORE-1361
2026-01-15 15:03:49 +00:00
..