Skip to content

Commit

Permalink
Deprecate the Cancelled3DS2Exception and add release notes
Browse files Browse the repository at this point in the history
COAND-1057
  • Loading branch information
araratthehero authored and OscarSpruit committed Jan 15, 2025
1 parent ad61655 commit 1266603
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ import com.adyen.checkout.core.exception.ComponentException
/**
* This exception is an indication that the 3DS2 Authentication was cancelled by the user.
*/
@Deprecated("This exception is no longer in use")
class Cancelled3DS2Exception(errorMessage: String) : ComponentException(errorMessage) {
companion object {
private const val serialVersionUID = 3858008275644429050L
Expand Down
6 changes: 5 additions & 1 deletion RELEASE_NOTES.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,19 +11,23 @@
## New
- Launch Google Pay with `submit()` to get rid of the deprecated activity result handling.
- For drop-in, show a toolbar on every intermediary screen, so shoppers can always easily navigate back.
- For 3DS2 native flow, cancellations by shopper trigger `onAdditionalDetails()` now. With this change, merchants will be able to make a `/payments/details` call so that they can get more insight on the transaction.

## Fixed

## Improved

## Changed
- For 3DS2 native flow, cancellations by shopper trigger `onAdditionalDetails()` event. You can make a `/payments/details` call to gain more insight into the transaction.
- If you already handle other 3DS2 errors by making a `/payments/details` call, then no changes are required and the specific handling for `Cancelled3DS2Exception` can be removed.
- If not yet implemented, you should update your systems to handle shopper cancellations using the new flow.
- Dependency versions:
| Name | Version |
|--------------------------------------------------------------------------------------------------------|-------------------------------|
| | |

## Deprecated
- `Cancelled3DS2Exception` is now deprecated. Shopper cancellations trigger the `onAdditionalDetails()` event, enabling a `/payments/details` call for transaction insights.
- For 3DS2 native flow, `Cancelled3DS2Exception` is deprecated. Now the shopper cancellations triggers `onAdditionalDetails()` and you can make a `/payments/details` call.
- The styles and strings for the Cash App Pay loading indicator. Use the new styles and strings instead.
| Previous | Now |
|-----------------------------------------------------------|------------------------------------------------------------------|
Expand Down

0 comments on commit 1266603

Please sign in to comment.