Loading...
Was this page helpful?
This documentation provides a reference to the createPaymentCollectionForCartWorkflow
. It belongs to the @medusajs/medusa/core-flows
package.
This workflow creates a payment collection for a cart. It's executed by the Create Payment Collection Store API Route.
You can use this workflow within your own customizations or custom workflows, allowing you to wrap custom logic around adding creating a payment collection for a cart.
Source CodeWorkflow hook
Step conditioned by when
View step details
CreatePaymentCollectionForCartWorkflowInputDTO
CreatePaymentCollectionForCartWorkflowInputDTOcart_id
stringmetadata
Record<string, unknown>Optional