|
|
@ -273,6 +273,19 @@ namespace GMENepal.GMENepalAPIService |
|
|
|
, gS.SenderCostRate, gS.ReceiverCostRate, Convert.ToString(gS.ExRate), gS.Signature); |
|
|
|
} |
|
|
|
else |
|
|
|
{ |
|
|
|
AccountValidate accValidate = new AccountValidate |
|
|
|
{ |
|
|
|
BankCode = gS.BankCode, |
|
|
|
AccountNumber = gS.BankAccountNumber, |
|
|
|
ReceiverName = gS.BeneName, |
|
|
|
ControlNo = gS.ControlNo, |
|
|
|
PaymentMode = gS.PaymentMethod |
|
|
|
}; |
|
|
|
|
|
|
|
var response = AccountValidation(accValidate); |
|
|
|
|
|
|
|
if (response.ResponseCode.Equals("0") || response.ResponseCode.Equals("100")) |
|
|
|
{ |
|
|
|
var exRateBank = _fastMoneyWeb.GetCalculation(gS.PartnerId, gS.UserName, gS.Password, gS.SessionId, "", "1000", "B", gS.BeneCountry, "P"); |
|
|
|
|
|
|
@ -285,6 +298,12 @@ namespace GMENepal.GMENepalAPIService |
|
|
|
|
|
|
|
_response.Extra = exRateBank.ExRate; |
|
|
|
} |
|
|
|
else |
|
|
|
{ |
|
|
|
_response.ResponseCode = response.ResponseCode; |
|
|
|
_response.Msg = response.Msg; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
_log.Info("SendTransaction | RESPONSE :" + JsonConvert.SerializeObject(model).ToString()); |
|
|
|
|
|
|
|