fix: Idempotent cart completion (#9231)

What
- Store result of cart-completion workflow for three days by default
  - This enables the built-in idempotency mechanism to kick-in, provided the same transaction ID is used on workflow executions
- Return order from cart-completion workflow if the cart has already been completed
  - In case transaction ID is not used on workflow executions, we still only want to complete a cart once
This commit is contained in:
Oli Juhl authored and GitHub committed 2024-10-04 12:01:09 +00:00
1 parent 6055f4c9cf
commit f7472a6fa6
14 files changed
+809 -525

No files matched your search

+397 -296
View File
File diff suppressed because it is too large. Load diff