Skip to content

Commit

Permalink
Merge pull request #1964 from Adyen/develop
Browse files Browse the repository at this point in the history
Release 5.9.0
  • Loading branch information
OscarSpruit authored Jan 16, 2025
2 parents a456abd + 5bf39ff commit b95ca25
Show file tree
Hide file tree
Showing 251 changed files with 5,356 additions and 883 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/publish_docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ jobs:

# Deploy to GitHub Pages
- name: Deploy GitHub Pages
uses: JamesIves/github-pages-deploy-action@v4.6.9
uses: JamesIves/github-pages-deploy-action@v4.7.2
with:
BRANCH: gh-pages
FOLDER: build/docs/
14 changes: 10 additions & 4 deletions .github/workflows/update_verification_metadata.yml
Original file line number Diff line number Diff line change
@@ -1,17 +1,21 @@
name: Update verification metadata

on:
push:
branches:
- 'renovate/android.gradle.plugin'
workflow_dispatch:

jobs:
update-verification-metadata:
name: Update verification metadata
runs-on: ubuntu-latest
if: ${{ !contains(github.event.commits[0].message, '[skip update-verification-metadata]') }}

steps:
- uses: actions/checkout@v4
with:
ref: ${{ github.head_ref }}
token: ${{ secrets.ADYEN_AUTOMATION_BOT_ACCESS_TOKEN }}

- name: Set up JDK
uses: actions/setup-java@v4
Expand All @@ -32,8 +36,10 @@ jobs:

- name: Commit
run: |
git config --global user.name "${{ github.actor }}"
git config --global user.email "${{ github.actor }}@users.noreply.github.com"
git config user.name "${{ secrets.ADYEN_AUTOMATION_BOT_USER }}"
git config user.email "${{ secrets.ADYEN_AUTOMATION_BOT_NO_REPLY_EMAIL }}"
git add .
git diff-index --quiet HEAD || git commit -am 'Update verification metadata'
git diff-index --quiet HEAD || git commit -m "Update verification metadata
[skip update-verification-metadata]"
git push
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
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ package com.adyen.checkout.adyen3ds2.internal.analytics
import androidx.annotation.RestrictTo
import com.adyen.checkout.components.core.internal.analytics.AnalyticsEvent
import com.adyen.checkout.components.core.internal.analytics.DirectAnalyticsEventCreation
import com.adyen.checkout.components.core.internal.analytics.ErrorEvent
import com.adyen.checkout.components.core.internal.analytics.GenericEvents

@OptIn(DirectAnalyticsEventCreation::class)
@RestrictTo(RestrictTo.Scope.LIBRARY_GROUP)
Expand Down Expand Up @@ -40,6 +42,24 @@ internal object ThreeDS2Events {
message = message,
)

fun threeDS2FingerprintError(
event: ErrorEvent,
message: String? = null
) = GenericEvents.error(
component = "threeDS2Fingerprint",
event = event,
message = message,
)

fun threeDS2ChallengeError(
event: ErrorEvent,
message: String? = null
) = GenericEvents.error(
component = "threeDS2Challenge",
event = event,
message = message,
)

enum class SubType(val value: String) {
FINGERPRINT_DATA_SENT("fingerprintDataSentMobile"),
FINGERPRINT_COMPLETED("fingerprintCompleted"),
Expand Down
Loading

0 comments on commit b95ca25

Please sign in to comment.