Loading...
Was this page helpful?
This documentation provides a reference to the validateCartPaymentsStep
. It belongs to the @medusajs/medusa/core-flows
package.
This step validates a cart's payment sessions. Their status must
be pending
or requires_more
. If not valid, the step throws an error.
ValidateCartPaymentsStepInput
ValidateCartPaymentsStepInputcart
CartWorkflowDTOPaymentSessionDTO[]
PaymentSessionDTO[]id
stringamount
BigNumberValuecurrency_code
stringprovider_id
stringdata
Record<string, unknown>status
PaymentSessionStatuscreated_at
string | Dateupdated_at
string | Datepayment_collection_id
stringcontext
Record<string, unknown>Optionalauthorized_at
DateOptional