Repository navigation
feat(payments): payment orders and checkout, order triggers, Montonio - #84
Merged
Merged
Conversation
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- payments orders [--buyer --reference --status], payments order <id>, payments order create (--line sku:qty:cents[:title], --meta k=v, --key, --file), payments order checkout <id> --integration --return-url [--method --country --provider] — the four Api routes. - payments trigger save --when OnWebhookCallReceived | OnOrderPaid | OnOrderPaymentChanged; order triggers filter on payments.order.* events. - payments integration save --provider Montonio. - docs/payments.md: Orders section, Montonio, order triggers and tokens. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
🎉 This PR is included in version 1.36.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Payment orders and checkout in the CLI (gateway campaign
audit/payments-checkout, item cli; uses @norbix.ai/ts 4.29.0).payments orders [--buyer --reference --status],payments order <id>payments order create --buyer --reference --key --line sku:qty:cents[:title]... [--meta k=v]... [--currency] [--price-version] [--file]payments order checkout <id> --integration --return-url [--method --country --provider]payments trigger save --when OnWebhookCallReceived | OnOrderPaid | OnOrderPaymentChanged; order triggers filter on thepayments.order.*eventspayments integration save --provider Montoniodata.order/orderEventIdOnly additions, no command or flag changed.
Checks
npm test(build + vitest): 1051 passed. The payments route table covers all 21 payments routes a person calls (17 Hub + 4 Api), each run through oclif and the real SDK withfetchreplaced. New tests cover--when, Montonio,order create(flags,--file+ overrides, a bad--line), theordersfilters, and checkout's body and required flags. Theschemasnapshot shows only additions.npx tsc --noEmit·npm run lint🤖 Generated with Claude Code