From d51cbaa873a9b348d09a1ba4ee4fad8a5767a3c6 Mon Sep 17 00:00:00 2001 From: struga Date: Wed, 2 Mar 2022 16:08:57 +0300 Subject: [PATCH] Fix get card data (#10) --- pom.xml | 2 +- .../vality/adapter/flow/lib/service/IntentResultFactory.java | 5 ++--- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/pom.xml b/pom.xml index c3d41bd..db7a4b0 100644 --- a/pom.xml +++ b/pom.xml @@ -13,7 +13,7 @@ adapter-flow-lib - 0.0.6 + 0.0.7 jar adapter-flow-lib diff --git a/src/main/java/dev/vality/adapter/flow/lib/service/IntentResultFactory.java b/src/main/java/dev/vality/adapter/flow/lib/service/IntentResultFactory.java index 6f87014..8dcd9d3 100644 --- a/src/main/java/dev/vality/adapter/flow/lib/service/IntentResultFactory.java +++ b/src/main/java/dev/vality/adapter/flow/lib/service/IntentResultFactory.java @@ -19,8 +19,7 @@ import lombok.RequiredArgsConstructor; import java.nio.ByteBuffer; import java.util.Map; -import static dev.vality.java.damsel.utils.creators.ProxyProviderPackageCreators.createFinishIntentSuccessWithToken; -import static dev.vality.java.damsel.utils.creators.ProxyProviderPackageCreators.createPostUserInteraction; +import static dev.vality.java.damsel.utils.creators.ProxyProviderPackageCreators.*; import static dev.vality.java.damsel.utils.extractors.OptionsExtractors.extractRedirectTimeout; @RequiredArgsConstructor @@ -82,7 +81,7 @@ public class IntentResultFactory { Timer.timeout(TimeoutUtils.toSeconds(timerRedirectTimeoutMin))) .setTimeoutBehaviour(TimeoutBehaviour.callback( ByteBuffer.wrap(parametersSerializer.writeByte(params))) - ).setUserInteraction(createPostUserInteraction(threeDsData.getAcsUrl(), params)) + ).setUserInteraction(createGetUserInteraction(threeDsData.getAcsUrl())) ); }