@@ -160,8 +160,8 @@ void invalidOperation() {
160160 void parsePaymentResponseSuccessfulAPI () {
161161 String body = "{\" acquirer-details\" :{\" dynamic-descriptor\" :\" test\" ,\" eci-sli\" :\" 648\" ,\" result-code\" :\" 000\" ,\" status-description\" :\" Approved\" ," +
162162 "\" status-text\" :\" Approved\" ,\" terminal-mid\" :\" 5800978\" ,\" transaction-id\" :\" 1899493845214315\" },\" error\" :{}," +
163- "\" gw\" :{\" gateway-transaction-id\" :\" 8a9bed66-8412-494f-9866-2c26b5ceee62\" ,\" status-code \" :7, \" status-text \" :\" SUCCESS \" ," +
164- "\" original-gateway-transaction-id\" :\" orig-aaa\" ,\" parent-gateway-transaction-id\" :\" parent-aaa\" }," +
163+ "\" gw\" :{\" gateway-transaction-id\" :\" 8a9bed66-8412-494f-9866-2c26b5ceee62\" ,\" merchant-transaction-id \" :\" 87d53472ba27fde33ec03e2f5ca6137a \" ," +
164+ "\" status-code \" :7, \" status-text \" : \" SUCCESS \" , \" original-gateway-transaction-id\" :\" orig-aaa\" ,\" parent-gateway-transaction-id\" :\" parent-aaa\" }," +
165165 "\" warnings\" :[\" Soon counters will be exceeded for the merchant\" ,\" Soon counters will be exceeded for the account\" ," +
166166 "\" Soon counters will be exceeded for the terminal group\" ,\" Soon counters will be exceeded for the terminal\" ]}\n " ;
167167
@@ -179,6 +179,7 @@ void parsePaymentResponseSuccessfulAPI() {
179179
180180 assertNotNull (parsedResponse .getGw ());
181181 assertEquals ("8a9bed66-8412-494f-9866-2c26b5ceee62" , parsedResponse .getGw ().getGatewayTransactionId ());
182+ assertEquals ("87d53472ba27fde33ec03e2f5ca6137a" , parsedResponse .getGw ().getMerchantTransactionId ());
182183 assertEquals ("orig-aaa" , parsedResponse .getGw ().getOriginalGatewayTransactionId ());
183184 assertEquals ("parent-aaa" , parsedResponse .getGw ().getParentGatewayTransactionId ());
184185 assertEquals (Status .SUCCESS , parsedResponse .getGw ().getStatusCode ());
0 commit comments