Skip to content

feat(ad-hoc): Send third_party_sdk_version by default when not provided by merchant - #407

Merged
vitalii-vanziak-cko merged 6 commits into
masterfrom
feat/ad-hoc/third_party_sdk_version
Dec 3, 2026
Merged

vitalii-vanziak-cko merged 6 commits into
masterfrom
feat/ad-hoc/third_party_sdk_version

Conversation

@vitalii-vanziak-cko

Copy link
Copy Markdown
Collaborator

Send third_party_sdk_version by default when not provided by merchant during:

  • Invoice authorization
  • Assigning customer token
  • Dynamic checkout authorization

  • Added version property to PO3DSService interface which is provided by PONetcetera3DS2Service and POCheckout3DSService
  • Updated Checkout 3DS SDK to 3.7.0
  • Updated gradle configs of all modules to use "LIBRARY_NAME", "\"$publishDescription\"" instead of copy-pasted names.

Copilot AI 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 recommended

The new version getter breaks compatibility with existing 3DS implementations, causing AbstractMethodError for compiled adapters and adding a required method for Java implementations.

1 open issue
What changed in this PR

This PR automatically populates third_party_sdk_version from the configured 3DS service when merchants omit it, while preserving explicitly supplied values.

Changes:

  • Add version reporting to 3DS services and apply it to invoice authorization, customer-token assignment, and dynamic checkout.
  • Upgrade Checkout 3DS SDK to 3.7.0.
  • Derive module LIBRARY_NAME values from publishDescription.
File Description
ui/​src/​main/​kotlin/​com/​processout/​sdk/​ui/​checkout/​PODynamicCheckoutLauncher.kt Default the SDK version after delegate customization.
ui/​build.gradle Use the publishing description for the library name.
ui-core/​build.gradle Use the publishing description for the library name.
sdk/​src/​main/​kotlin/​com/​processout/​sdk/​api/​service/​PO3DSService.kt Add a nullable SDK-version property.
sdk/​src/​main/​kotlin/​com/​processout/​sdk/​api/​service/​DefaultInvoicesService.kt Default the SDK version in invoice authorization requests.
sdk/​src/​main/​kotlin/​com/​processout/​sdk/​api/​service/​DefaultCustomerTokensService.kt Default the SDK version in token-assignment requests.
sdk/​build.gradle Use the publishing description for the library name.
netcetera-3ds/​src/​main/​kotlin/​com/​processout/​sdk/​netcetera/​threeds/​PONetcetera3DS2Service.kt Expose the Netcetera service version.
netcetera-3ds/​build.gradle Use the publishing description for the library name.
netcetera-3ds-core/​build.gradle Use the publishing description for the library name.
checkout-3ds/​src/​main/​kotlin/​com/​processout/​sdk/​checkout/​threeds/​POCheckout3DSService.kt Expose the Checkout 3DS SDK version.
checkout-3ds/​build.gradle Generate SDK-version metadata and standardize the library name.
build.gradle Upgrade Checkout 3DS SDK to 3.7.0.

Review effort: Balanced

@vitalii-vanziak-cko
vitalii-vanziak-cko merged commit 37b1b42 into master Dec 3, 2026
4 checks passed
@vitalii-vanziak-cko
vitalii-vanziak-cko deleted the feat/ad-hoc/third_party_sdk_version branch December 3, 2026 13:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

3 participants