diff --git a/pom.xml b/pom.xml
index 6a42042..e40b803 100644
--- a/pom.xml
+++ b/pom.xml
@@ -12,7 +12,7 @@
adapter-flow-lib
- 0.1.7
+ 0.1.8
jar
adapter-flow-lib
diff --git a/src/main/java/dev/vality/adapter/flow/lib/converter/entry/CtxToEntryModelConverter.java b/src/main/java/dev/vality/adapter/flow/lib/converter/entry/CtxToEntryModelConverter.java
index ef8d902..083478e 100644
--- a/src/main/java/dev/vality/adapter/flow/lib/converter/entry/CtxToEntryModelConverter.java
+++ b/src/main/java/dev/vality/adapter/flow/lib/converter/entry/CtxToEntryModelConverter.java
@@ -63,12 +63,14 @@ public class CtxToEntryModelConverter implements Converter adapterConfigurations = context.getOptions();
Invoice invoice = paymentInfo.getInvoice();
InvoiceDetails details = invoice.getDetails();
+ String invoiceFormatPaymentId = getInvoiceFormatPaymentId(payment, invoice);
return EntryStateModel.builder()
.baseRequestModel(BaseRequestModel.builder().recurrentPaymentData(recurrentPaymentData)
.mobilePaymentData(mobilePaymentData)
.cardData(cardData)
.refundData(initRefundData(paymentInfo))
- .paymentId(idGenerator.get(invoice.getId()))
+ .paymentId(idGenerator.get(invoiceFormatPaymentId))
+ .invoiceFormatPaymentId(invoiceFormatPaymentId)
.createdAt(paymentInfo.getPayment().getCreatedAt())
.currency(Currency.builder()
.symbolicCode(payment.getCost().getCurrency().getSymbolicCode())
@@ -91,6 +93,10 @@ public class CtxToEntryModelConverter implements Converter adapterConfigurations) {
return callbackUrlExtractor.getSuccessRedirectUrl(
adapterConfigurations,
diff --git a/src/main/java/dev/vality/adapter/flow/lib/converter/entry/RecCtxToEntryModelConverter.java b/src/main/java/dev/vality/adapter/flow/lib/converter/entry/RecCtxToEntryModelConverter.java
index dde16a8..bcc2421 100644
--- a/src/main/java/dev/vality/adapter/flow/lib/converter/entry/RecCtxToEntryModelConverter.java
+++ b/src/main/java/dev/vality/adapter/flow/lib/converter/entry/RecCtxToEntryModelConverter.java
@@ -49,7 +49,8 @@ public class RecCtxToEntryModelConverter implements Converter