mirror of
https://github.com/valitydev/adapter-flow-lib.git
synced 2024-11-06 00:05:22 +00:00
Added email and phone (#44)
Co-authored-by: Inal Arsanukaev <aiz@empayre.com>
This commit is contained in:
parent
ddea6b66c7
commit
08b04350e3
@ -82,6 +82,8 @@ public class CtxToEntryModelConverter implements Converter<PaymentContext, Entry
|
||||
.details(Objects.requireNonNullElse(details.getDescription(), details.getProduct()))
|
||||
.payerInfo(PayerInfo.builder()
|
||||
.ip(ProxyProviderPackageCreators.extractIpAddress(context))
|
||||
.email(payment.getContactInfo().getEmail())
|
||||
.phone(payment.getContactInfo().getPhoneNumber())
|
||||
.build())
|
||||
.adapterConfigurations(adapterConfigurations)
|
||||
.providerTrxId(trx != null ? trx.getId() : temporaryContext.getProviderTrxId())
|
||||
|
Loading…
Reference in New Issue
Block a user