add hide products#24
Merged
Merged
Conversation
…saccionCompletaController
…ionCompletaController
…pty block in TransaccionCompletaController
…lete feat: transaction complete
…ith installments and confirmation options
…quest and response details
…erida with confirmation form
…with request and response details
…and response details
…and response details
…lete-deferred Feat/transaction complete deferred
…ete-mall-deferred Tbk 178 feat: tx complete mall deferred
… for header forwarding
…comercio feat: patpass comercio
…k Mall promotions
…r improved readability and maintainability
|
mastudillot
approved these changes
May 14, 2026
luisguananga-continuum
approved these changes
May 14, 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.



This pull request introduces several improvements and new features, most notably the addition of a full controller for Patpass Comercio, enhancements to error handling and JSON serialization, and updates to documentation and dependencies. The changes are grouped below by theme.
New Features
Error Handling and Serialization Improvements
BaseControllerand related controllers by introducing agetDisplayableErrorMessagemethod, which extracts user-friendly error messages from exceptions, especially forTransbankException. This improves the error messages shown to users.BaseControllerby registering a custom serializer forDoublevalues, ensuring consistent formatting in API responses.Dependency and Configuration Updates
transbank-sdk-javadependency from version 6.0.0 to 6.1.0 inpom.xmlto ensure compatibility with the latest features and fixes..env.exampleand documented their usage inREADME.mdfor easier configuration and onboarding.This pull request introduces several improvements and new features to the project. The most significant change is the addition of a new controller for handling Patpass Comercio flows. Other notable updates include enhanced error handling, improved JSON serialization, updated documentation, and a dependency upgrade.
Error Handling Improvements
BaseControllerby adding a method to extract user-friendly error messages from exceptions, prioritizing messages fromTransbankException. This method is now used in all relevant exception handlers. (src/main/java/cl/transbank/webpay/example/controllers/BaseController.java,OneclickMallController.java,OneclickMallDeferredController.java) [1] [2] [3]JSON Serialization Enhancements
BaseControllerby customizing the serialization ofDoublevalues to avoid unnecessary trailing zeros and handle special values (NaN, Infinity) gracefully. (src/main/java/cl/transbank/webpay/example/controllers/BaseController.java)Documentation and Configuration
.env.exampleand documented them in theREADME.md. (.env.example,README.md) [1] [2]Dependency Updates
transbank-sdk-javadependency from version 6.0.0 to 6.1.0 inpom.xml. (pom.xml)