VCST-3961: auto-generated transactionId for capture and refund documents#469
VCST-3961: auto-generated transactionId for capture and refund documents#469
Conversation
feat: Added auto-generated transactionId for capture and refund documents.
There was a problem hiding this comment.
Pull Request Overview
Adds auto-generated sequential (zero-padded) transaction IDs for new capture and refund operations, replacing use of the base payment number.
- Introduces logic to compute a suffixed transactionId based on payment.number and count of existing child operations.
- Applies the generated transactionId to both the blade subtitle and the entity's transactionId for capture and refund blades.
Reviewed Changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.
| File | Description |
|---|---|
| src/VirtoCommerce.OrdersModule.Web/Scripts/blades/refund-add.js | Adds generation and assignment of a formatted transactionId for refunds |
| src/VirtoCommerce.OrdersModule.Web/Scripts/blades/capture-add.js | Adds identical transactionId generation logic for captures |
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
vc-ci
left a comment
There was a problem hiding this comment.
Test Suite: Test Suites/Modules/module_Assets
Tests: 13
Failures: 0
Errors: 0
Time: 8.344
Timestamp: 01-10-2025T13:10:24
|
vc-ci
left a comment
There was a problem hiding this comment.
Test Suite: Test Suites/Modules/module_Assets
Tests: 13
Failures: 0
Errors: 0
Time: 7.478
Timestamp: 08-10-2025T12:34:18



Description
feat: Added auto-generated transactionId for capture and refund documents.
References
QA-test:
Jira-link:
https://virtocommerce.atlassian.net/browse/VCST-3961
Artifact URL:
https://vc3prerelease.blob.core.windows.net/packages/VirtoCommerce.Orders_3.861.0-pr-469-ff91.zip