Reference
CASH_TAKEN_ON_ORDER
Cash is taken on the order
Cash is taken on the order
HTTP status 400 Bad Request, code CASH_TAKEN_ON_ORDER.
What it means#
You tried to create a cash payment on its own. A cash payment is taken on the order it pays, which records it, marks the order paid and posts it to the till drawer in one step; a cash payment created by itself would never settle its order.
What to do#
Call POST /v1/orders/{orderId}/payment with paymentMethod: in_person_cash and amountTendered.
On the wire#
Every error response carrying this code names this page in error.moreInfo,
with the request id in the query string. See Error codes for
the response shape and the list of every code.