Skip to content

GAR-549 : CNP API Upgrade from 12.50 to 12.51 - #102

Merged
isunnapud merged 1 commit into
Worldpay:12.xfrom
mishravinod202:feature/v12.51
Jul 28, 2026
Merged

GAR-549 : CNP API Upgrade from 12.50 to 12.51#102
isunnapud merged 1 commit into
Worldpay:12.xfrom
mishravinod202:feature/v12.51

Conversation

@mishravinod202

Copy link
Copy Markdown
Contributor
  • Change: Upgraded SDK to cnpAPI v12.51.
  • Change: [cnpAPI v12.51]: In cnpBatch_v12.51.xsd, batchTotalAmountType restriction totalDigits increased from 10 to 12, allowing batch amount totals up to 999,999,999,999.
  • Change: Added setId(String id) and getId() methods to CnpBatchRequest to expose the id attribute (type string25Type) of the cnpBatch element, enabling callers to assign a custom identifier to each batch request.
  • Change: Added unit tests in TestCnpBatchRequest to validate the 12-digit batchTotalAmountType limit (XSD validation and amount accumulation) and the new setId/getId behaviour.

@SushamaGhadage0310

Copy link
Copy Markdown
Contributor

Changes looks good.

@isunnapud isunnapud left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Changes looks good.

@isunnapud
isunnapud merged commit ef50742 into Worldpay:12.x Jul 28, 2026
@mishravinod202 mishravinod202 changed the title CNP API Upgrade from 12.50 to 12.51 GAR-549 : CNP API Upgrade from 12.50 to 12.51 Jul 29, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants