Merge pull request #35 from rbkmoney/ft/JD-232/3ds-v2

Add 3DS 2.0 fields and steps
This commit is contained in:
Alexander Romanov 2021-05-17 12:03:27 +03:00 committed by GitHub
commit fee48814af
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 13 additions and 2 deletions

View File

@ -13,7 +13,7 @@
</parent>
<artifactId>adapter-common-lib</artifactId>
<version>0.0.28</version>
<version>0.0.29</version>
<packaging>jar</packaging>
<name>adapter-common-lib</name>

View File

@ -10,7 +10,10 @@ public enum ThreeDsFields {
MD("MD"),
PA_REQ("PaReq"),
PA_RES("PaRes"),
TERM_URL("TermUrl");
TERM_URL("TermUrl"),
THREE_DS_METHOD_DATA("ThreeDsMethodData"),
C_REQ("creq"),
THREE_DS_SESSION_DATA("threeDSSessionData");
private final String value;
}

View File

@ -6,6 +6,8 @@ public enum Step {
AUTH,
AUTH_MOBILE_PAY,
FINISH_THREE_DS,
FINISH_THREE_DS_V1,
FINISH_THREE_DS_V2,
AWAIT_CALLBACK,
CANCEL,
REFUND,
@ -19,6 +21,9 @@ public enum Step {
GENERATE_TOKEN_AUTH,
GENERATE_TOKEN_AUTH_MOBILE_PAY,
GENERATE_TOKEN_FINISH_THREE_DS,
GENERATE_TOKEN_FINISH_THREE_DS_V1,
GENERATE_TOKEN_FINISH_THREE_DS_V2,
GENERATE_TOKEN_AWAIT_CALLBACK,
GENERATE_TOKEN_CAPTURE,
GENERATE_TOKEN_CANCEL,
GENERATE_TOKEN_REFUND,

View File

@ -18,6 +18,9 @@ public class AdapterContext {
private String acsUrl;
private String termUrl;
private String terminationUri;
private String cReq;
private String threeDsMethodData;
private String threeDsSessionData;
private String trxId;
private Step step;
private Map<String, String> options;