mirror of
https://github.com/valitydev/adapter-flow-lib.git
synced 2024-11-06 00:05:22 +00:00
Fix trx id (#11)
This commit is contained in:
parent
d51cbaa873
commit
4b137530e1
2
pom.xml
2
pom.xml
@ -13,7 +13,7 @@
|
|||||||
</parent>
|
</parent>
|
||||||
|
|
||||||
<artifactId>adapter-flow-lib</artifactId>
|
<artifactId>adapter-flow-lib</artifactId>
|
||||||
<version>0.0.7</version>
|
<version>0.0.8</version>
|
||||||
<packaging>jar</packaging>
|
<packaging>jar</packaging>
|
||||||
|
|
||||||
<name>adapter-flow-lib</name>
|
<name>adapter-flow-lib</name>
|
||||||
|
@ -26,7 +26,9 @@ public class SuccessFinishProcessor
|
|||||||
&& !ErrorUtils.isError(response)) {
|
&& !ErrorUtils.isError(response)) {
|
||||||
log.debug("Start success process response: {} entryStateModel: {}", response, entryStateModel);
|
log.debug("Start success process response: {} entryStateModel: {}", response, entryStateModel);
|
||||||
ExitStateModel exitStateModel = new ExitStateModel();
|
ExitStateModel exitStateModel = new ExitStateModel();
|
||||||
exitStateModel.setProviderTrxId(response.getProviderTrxId());
|
exitStateModel.setProviderTrxId(StringUtils.hasText(response.getProviderTrxId())
|
||||||
|
? response.getProviderTrxId()
|
||||||
|
: entryStateModel.getBaseRequestModel().getProviderTrxId());
|
||||||
exitStateModel.setLastOperationStatus(response.getStatus());
|
exitStateModel.setLastOperationStatus(response.getStatus());
|
||||||
Map<String, String> saveData = response.getSaveData();
|
Map<String, String> saveData = response.getSaveData();
|
||||||
if (entryStateModel.getBaseRequestModel().getRecurrentPaymentData() != null
|
if (entryStateModel.getBaseRequestModel().getRecurrentPaymentData() != null
|
||||||
|
Loading…
Reference in New Issue
Block a user