Skip to content

fix(payments): an order line without a title uses its sku, and needs 1 cent or more - #85

Merged
Domantas merged 1 commit into
mainfrom
fix/order-line-title
Oct 19, 2026
Merged

Domantas merged 1 commit into
mainfrom
fix/order-line-title

Conversation

@Domantas

Copy link
Copy Markdown
Contributor

What

payments order create --line sku:qty:cents sent a line without a title, and the gateway refuses that (CM-ERRORS-PAYMENTS-008: every line needs a title, and a unit price of at least 1 cent). Now:

  • a --line without a title uses its sku as the title
  • a 0-cent line is refused before anything is sent
  • docs/payments.md says so

Found while writing the docs (gateway campaign audit/payments-checkout, item docs).

Checks

  • npm test 1052 passed (new: 0-cent refusal; the create body now carries the title)

🤖 Generated with Claude Code

…1 cent or more

The gateway refuses a line with no title or a 0-cent price
(CM-ERRORS-PAYMENTS-008), so `payments order create --line star-day:21:30`
failed on the server.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@Domantas
Domantas merged commit 061a22c into main Oct 19, 2026
11 checks passed
@Domantas
Domantas deleted the fix/order-line-title branch October 19, 2026 18:22
@github-actions

Copy link
Copy Markdown

🎉 This PR is included in version 1.36.1 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant