Command reference
store test-order
Place a real order, so your app gets real order events.
npx @storeware/cli store test-order [flags]Flags
| Flag | What it does |
|---|---|
--store <handle> | Which development store, by handle or id. Your first one when not given. |
--paid | Also mark it paid, so order.paid.v1 follows. |
--pay <outcome> | Pay it by a test payment instead, ending the way you say: approve, decline, needs_action or error. |
--json | Print the order as JSON, for a script. |
Examples
npx @storeware/cli store test-order
npx @storeware/cli store test-order --paid
npx @storeware/cli store test-order --pay declineMore in Test payments. Every command also takes the flags on the reference page.