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())) ); }