This commit is contained in:
struga 2022-03-01 10:32:03 +03:00 committed by GitHub
parent 8a48e7260a
commit 4ae1db1be5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 5 deletions

View File

@ -13,7 +13,7 @@
</parent>
<artifactId>adapter-flow-lib</artifactId>
<version>0.0.3</version>
<version>0.0.4</version>
<packaging>jar</packaging>
<name>adapter-flow-lib</name>

View File

@ -21,6 +21,8 @@ public class RetryProcessor implements Processor<ExitStateModel, BaseResponseMod
log.debug("Start redirect process response: {} entryStateModel: {}", response, entryStateModel);
ExitStateModel exitStateModel = new ExitStateModel();
exitStateModel.setLastOperationStatus(response.getStatus());
exitStateModel.setProviderTrxId(entryStateModel.getBaseRequestModel().getProviderTrxId());
exitStateModel.setTrxExtra(response.getSaveData());
log.debug("Finish redirect process response: {} entryStateModel: {}", response, entryStateModel);
return exitStateModel;
}

View File

@ -44,12 +44,8 @@ import static org.mockito.ArgumentMatchers.any;
"adapter.callbackUrl=http://localhost:8080/test",
"server.rest.endpoint=adapter",
"server.rest.port=8083"})
@SpringBootTest(webEnvironment = SpringBootTest.WebEnvironment.RANDOM_PORT)
public class PaymentSuccess3dsTest extends AbstractPaymentTest {
@LocalServerPort
int randomServerPort;
@BeforeEach
public void setUp() throws TException {
MockitoAnnotations.openMocks(this);