diff --git a/pom.xml b/pom.xml
index e40b803..754ba2c 100644
--- a/pom.xml
+++ b/pom.xml
@@ -12,7 +12,7 @@
adapter-flow-lib
- 0.1.8
+ 0.1.9
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 3670d3f..00b9e90 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
@@ -57,7 +57,7 @@ public class IntentResultFactory {
new SuspendIntent(
tagManagementService.findTag(params),
Timer.timeout(timerRedirectTimeout)
- ).setUserInteraction(createUserInteraction(threeDsData))
+ ).setUserInteraction(createUserInteraction(threeDsData, params))
);
}
@@ -83,15 +83,15 @@ public class IntentResultFactory {
Timer.timeout(TimeoutUtils.toSeconds(timerRedirectTimeoutMin)))
.setTimeoutBehaviour(TimeoutBehaviour.callback(
ByteBuffer.wrap(parametersSerializer.writeByte(params)))
- ).setUserInteraction(createUserInteraction(threeDsData))
+ ).setUserInteraction(createUserInteraction(threeDsData, params))
);
}
- private UserInteraction createUserInteraction(ThreeDsData threeDsData) {
+ private UserInteraction createUserInteraction(ThreeDsData threeDsData, Map parameters) {
if (threeDsData.getHttpMethod() == HttpMethod.GET) {
return createGetUserInteraction(threeDsData.getAcsUrl());
} else {
- return createPostUserInteraction(threeDsData.getAcsUrl(), threeDsData.getParameters());
+ return createPostUserInteraction(threeDsData.getAcsUrl(), parameters);
}
}