Repository navigation
feat(ad-hoc): Send third_party_sdk_version by default when not provided by merchant - #407
Merged
Merged
Conversation
There was a problem hiding this comment.
🟡 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_NAMEvalues frompublishDescription.
| 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
andrii-vysotskyi-cko
approved these changes
Dec 3, 2026
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.

Send
third_party_sdk_versionby default when not provided by merchant during:versionproperty toPO3DSServiceinterface which is provided byPONetcetera3DS2ServiceandPOCheckout3DSService3.7.0"LIBRARY_NAME", "\"$publishDescription\""instead of copy-pasted names.