|
@ -135,7 +135,7 @@ namespace TPApiServices.GuavaPayRemit.Services |
|
|
request.RequestFormat = DataFormat.Json; |
|
|
request.RequestFormat = DataFormat.Json; |
|
|
var txnResponseData = client.Execute<SendTransactionResponse>(request); |
|
|
var txnResponseData = client.Execute<SendTransactionResponse>(request); |
|
|
var sendTxnResponse = txnResponseData.Data; |
|
|
var sendTxnResponse = txnResponseData.Data; |
|
|
// _log.Info($"GUAVAPAYAPI|SENDTRANSACTION|REQUEST URL: {client.BaseUrl}{request.Resource}");
|
|
|
|
|
|
|
|
|
_log.Info($"GUAVAPAYAPI|SENDTRANSACTION|REQUEST URL: {client.BaseUrl}{request.Resource}"); |
|
|
_log.Info($"GUAVAPAYAPI|SENDTRANSACTION|RESPONSE : {txnResponseData.Content}"); |
|
|
_log.Info($"GUAVAPAYAPI|SENDTRANSACTION|RESPONSE : {txnResponseData.Content}"); |
|
|
|
|
|
|
|
|
if (sendTxnResponse != null) |
|
|
if (sendTxnResponse != null) |
|
@ -211,7 +211,7 @@ namespace TPApiServices.GuavaPayRemit.Services |
|
|
Phone = model.Receiver.RMobile, |
|
|
Phone = model.Receiver.RMobile, |
|
|
documentInfo = new DocumentInfo |
|
|
documentInfo = new DocumentInfo |
|
|
{ |
|
|
{ |
|
|
DocumentType = model.Receiver.RIdType, |
|
|
|
|
|
|
|
|
//DocumentType = model.Receiver.RIdType,
|
|
|
DocumentNumber = model.Receiver.RIdNo |
|
|
DocumentNumber = model.Receiver.RIdNo |
|
|
}, |
|
|
}, |
|
|
accountInfo = new AccountInfo |
|
|
accountInfo = new AccountInfo |
|
@ -220,7 +220,7 @@ namespace TPApiServices.GuavaPayRemit.Services |
|
|
BankName = model.Agent.PBankName, //"MeezanBank"
|
|
|
BankName = model.Agent.PBankName, //"MeezanBank"
|
|
|
BankBranchCode = model.Agent.PAgentName, |
|
|
BankBranchCode = model.Agent.PAgentName, |
|
|
BankCode = model.Agent.PBranchId, |
|
|
BankCode = model.Agent.PBranchId, |
|
|
AccountType = model.Agent.PBankType |
|
|
|
|
|
|
|
|
//AccountType = model.Agent.PBankType
|
|
|
} |
|
|
} |
|
|
}, |
|
|
}, |
|
|
Country = model.Receiver.RNativeCountry, |
|
|
Country = model.Receiver.RNativeCountry, |
|
|