Repository navigation
feat(payments): payment orders, checkout and order events - #98
Merged
Merged
Conversation
…rated types Regenerated api2 / hub2 types and endpoint modules from the gateway campaign audit/payments-checkout (merged with refactoringV2): api.payments.createPaymentOrder, getPaymentOrder, getPaymentOrders, startPaymentCheckout; Montonio and the seven other provider save requests; PaymentOrderEventDto; PaymentFactDto.orderId; plus the base routes the SDK had not picked up (notification inbox on Api and Hub, trigger definition, pre-execute-code test, updateAiServiceUser). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…for Code functions Five order events (paid, partially_refunded, refunded, reversed, expired) carry PaymentOrderEventDto; event.metadata.order holds the order id, its status and orderEventId (the de-duplication key). Code functions read data.order with asPaymentOrder(); asPayment() stays the callback. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
🚀 Release previewNext version on merge to semantic-release dry-run output
|
|
🎉 This PR is included in version 4.29.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 for
@norbix.ai/ts(gateway campaignaudit/payments-checkout, item typegen + sdk-ts).api.payments.createPaymentOrder,getPaymentOrder,getPaymentOrders,startPaymentCheckout(generated from the gateway).hub.payments.savePaymentsIntegration.payments.order.paid,.partially_refunded,.refunded,.reversed,.expiredare typed asPaymentOrderEventDto.event.metadata.orderholds{ id, orderEventId, status };orderEventIdis the de-duplication key.asPaymentOrder()readsdata.order, andasPayment()still reads the callback.updateAiServiceUser. Only additions; no public method changed or was removed.Checks
npx vitest run1068 passed ·npm run lint·prettier --check·npm run typecheck·npm run build·typecheck:distNorbixValidationError(return URL origin not allowed).🤖 Generated with Claude Code