feat(core-flows,typers,utils,medusa): add payment auth step to complete cart workflow - [complete cart part 3] (#7248)

* chore: authorize payment sessions for cart

* chore: add spec for cart returns

* fix: Correctly select fields for cart

* chore: fix specs + address comments

---------

Co-authored-by: Stevche Radevski <sradevski@live.com>
Co-authored-by: Oli Juhl <59018053+olivermrbl@users.noreply.github.com>
Co-authored-by: Carlos R. L. Rodrigues <37986729+carlos-r-l-rodrigues@users.noreply.github.com>
Co-authored-by: Carlos R. L. Rodrigues <rodrigolr@gmail.com>
This commit is contained in:
Riqwan Thamir
2024-05-06 23:34:56 +02:00
committed by GitHub
co-authored by Stevche Radevski Oli Juhl Carlos R. L. Rodrigues Carlos R. L. Rodrigues
parent 5228b14ca9
commit 0430e63b0b
14 changed files with 391 additions and 55 deletions
+1
View File
@@ -14,6 +14,7 @@ export const MedusaErrorTypes = {
UNEXPECTED_STATE: "unexpected_state",
CONFLICT: "conflict",
PAYMENT_AUTHORIZATION_ERROR: "payment_authorization_error",
PAYMENT_REQUIRES_MORE_ERROR: "payment_requires_more_error",
}
export const MedusaErrorCodes = {