Browse Source

GME live setup

prod
shakun 11 months ago
parent
commit
b4fcdceded
  1. 4
      GMENepal/GMENepal.csproj
  2. 2
      GMENepal/Properties/Settings.Designer.cs
  3. 2
      GMENepal/Properties/Settings.settings
  4. 6
      GMENepal/Web References/GMEReference/FastMoneyWebService.disco
  5. 7
      GMENepal/Web References/GMEReference/FastMoneyWebService.wsdl
  6. 41
      GMENepal/Web References/GMEReference/Reference.cs
  7. 4
      GMENepal/Web References/GMEReference/Reference.map
  8. 2
      GMENepal/app.config
  9. 73
      ThirdPartyAPIs/Web.config

4
GMENepal/GMENepal.csproj

@ -139,10 +139,10 @@
<WebReferences Include="Web References\" />
</ItemGroup>
<ItemGroup>
<WebReferenceUrl Include="http://202.166.220.36:2087/sendwsapi/FastMoneyWebService.asmx">
<WebReferenceUrl Include="https://api.bestremit-txn.com:9002/SendWSApi/FastMoneyWebService.asmx">
<UrlBehavior>Dynamic</UrlBehavior>
<RelPath>Web References\GMEReference\</RelPath>
<UpdateFromURL>http://202.166.220.36:2087/sendwsapi/FastMoneyWebService.asmx</UpdateFromURL>
<UpdateFromURL>https://api.bestremit-txn.com:9002/SendWSApi/FastMoneyWebService.asmx</UpdateFromURL>
<ServiceLocationURL>
</ServiceLocationURL>
<CachedDynamicPropName>

2
GMENepal/Properties/Settings.Designer.cs

@ -26,7 +26,7 @@ namespace GMENepal.Properties {
[global::System.Configuration.ApplicationScopedSettingAttribute()]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Configuration.SpecialSettingAttribute(global::System.Configuration.SpecialSetting.WebServiceUrl)]
[global::System.Configuration.DefaultSettingValueAttribute("http://202.166.220.36:2087/sendwsapi/FastMoneyWebService.asmx")]
[global::System.Configuration.DefaultSettingValueAttribute("https://api.bestremit-txn.com:9002/SendWSApi/FastMoneyWebService.asmx")]
public string GMENepal_GMEReference_FastMoneyWebService {
get {
return ((string)(this["GMENepal_GMEReference_FastMoneyWebService"]));

2
GMENepal/Properties/Settings.settings

@ -3,7 +3,7 @@
<Profiles />
<Settings>
<Setting Name="GMENepal_GMEReference_FastMoneyWebService" Type="(Web Service URL)" Scope="Application">
<Value Profile="(Default)">http://202.166.220.36:2087/sendwsapi/FastMoneyWebService.asmx</Value>
<Value Profile="(Default)">https://api.bestremit-txn.com:9002/SendWSApi/FastMoneyWebService.asmx</Value>
</Setting>
</Settings>
</SettingsFile>

6
GMENepal/Web References/GMEReference/FastMoneyWebService.disco

@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<discovery xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://schemas.xmlsoap.org/disco/">
<contractRef ref="http://202.166.220.36:2087/sendwsapi/FastMoneyWebService.asmx?wsdl" docRef="http://202.166.220.36:2087/sendwsapi/FastMoneyWebService.asmx" xmlns="http://schemas.xmlsoap.org/disco/scl/" />
<soap address="http://202.166.220.36:2087/sendwsapi/FastMoneyWebService.asmx" xmlns:q1="FastMoneySendAPI" binding="q1:FastMoneyWebServiceSoap" xmlns="http://schemas.xmlsoap.org/disco/soap/" />
<soap address="http://202.166.220.36:2087/sendwsapi/FastMoneyWebService.asmx" xmlns:q2="FastMoneySendAPI" binding="q2:FastMoneyWebServiceSoap12" xmlns="http://schemas.xmlsoap.org/disco/soap/" />
<contractRef ref="https://api.bestremit-txn.com:9002/SendWSApi/FastMoneyWebService.asmx?wsdl" docRef="https://api.bestremit-txn.com:9002/SendWSApi/FastMoneyWebService.asmx" xmlns="http://schemas.xmlsoap.org/disco/scl/" />
<soap address="https://api.bestremit-txn.com:9002/SendWSApi/FastMoneyWebService.asmx" xmlns:q1="FastMoneySendAPI" binding="q1:FastMoneyWebServiceSoap" xmlns="http://schemas.xmlsoap.org/disco/soap/" />
<soap address="https://api.bestremit-txn.com:9002/SendWSApi/FastMoneyWebService.asmx" xmlns:q2="FastMoneySendAPI" binding="q2:FastMoneyWebServiceSoap12" xmlns="http://schemas.xmlsoap.org/disco/soap/" />
</discovery>

7
GMENepal/Web References/GMEReference/FastMoneyWebService.wsdl

@ -178,7 +178,6 @@
<s:element minOccurs="0" maxOccurs="1" name="UsdVsNpr" type="s:string" />
<s:element minOccurs="0" maxOccurs="1" name="ExConfirmId" type="s:string" />
<s:element minOccurs="0" maxOccurs="1" name="SessionId" type="s:string" />
<s:element minOccurs="0" maxOccurs="1" name="districtName" type="s:string" />
</s:sequence>
</s:complexType>
<s:element name="GetStatus">
@ -389,7 +388,6 @@
<s:element minOccurs="1" maxOccurs="1" name="BankId" nillable="true" type="s:string" />
<s:element minOccurs="1" maxOccurs="1" name="AccountNo" nillable="true" type="s:string" />
<s:element minOccurs="1" maxOccurs="1" name="AccountName" nillable="true" type="s:string" />
<s:element minOccurs="1" maxOccurs="1" name="BankingIdentifier" nillable="true" type="s:string" />
</s:sequence>
</s:complexType>
</s:element>
@ -439,7 +437,6 @@
<s:element minOccurs="1" maxOccurs="1" name="ReceiverCostRate" nillable="true" type="s:string" />
<s:element minOccurs="1" maxOccurs="1" name="SenderCostRate" nillable="true" type="s:string" />
<s:element minOccurs="1" maxOccurs="1" name="Signature" nillable="true" type="s:string" />
<s:element minOccurs="1" maxOccurs="1" name="BankingIdentifier" nillable="true" type="s:string" />
</s:sequence>
</s:complexType>
</s:element>
@ -1044,10 +1041,10 @@
</wsdl:binding>
<wsdl:service name="FastMoneyWebService">
<wsdl:port name="FastMoneyWebServiceSoap" binding="tns:FastMoneyWebServiceSoap">
<soap:address location="http://202.166.220.36:2087/sendwsapi/FastMoneyWebService.asmx" />
<soap:address location="https://api.bestremit-txn.com:9002/SendWSApi/FastMoneyWebService.asmx" />
</wsdl:port>
<wsdl:port name="FastMoneyWebServiceSoap12" binding="tns:FastMoneyWebServiceSoap12">
<soap12:address location="http://202.166.220.36:2087/sendwsapi/FastMoneyWebService.asmx" />
<soap12:address location="https://api.bestremit-txn.com:9002/SendWSApi/FastMoneyWebService.asmx" />
</wsdl:port>
</wsdl:service>
</wsdl:definitions>

41
GMENepal/Web References/GMEReference/Reference.cs

@ -806,24 +806,23 @@ namespace GMENepal.GMEReference {
/// <remarks/>
[System.Web.Services.Protocols.SoapDocumentMethodAttribute("FastMoneySendAPI/AccountValidation", RequestNamespace="FastMoneySendAPI", ResponseNamespace="FastMoneySendAPI", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
public DbResult AccountValidation([System.Xml.Serialization.XmlElementAttribute(IsNullable=true)] string UserName, [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)] string Password, [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)] string BankId, [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)] string AccountNo, [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)] string AccountName, [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)] string BankingIdentifier) {
public DbResult AccountValidation([System.Xml.Serialization.XmlElementAttribute(IsNullable=true)] string UserName, [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)] string Password, [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)] string BankId, [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)] string AccountNo, [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)] string AccountName) {
object[] results = this.Invoke("AccountValidation", new object[] {
UserName,
Password,
BankId,
AccountNo,
AccountName,
BankingIdentifier});
AccountName});
return ((DbResult)(results[0]));
}
/// <remarks/>
public void AccountValidationAsync(string UserName, string Password, string BankId, string AccountNo, string AccountName, string BankingIdentifier) {
this.AccountValidationAsync(UserName, Password, BankId, AccountNo, AccountName, BankingIdentifier, null);
public void AccountValidationAsync(string UserName, string Password, string BankId, string AccountNo, string AccountName) {
this.AccountValidationAsync(UserName, Password, BankId, AccountNo, AccountName, null);
}
/// <remarks/>
public void AccountValidationAsync(string UserName, string Password, string BankId, string AccountNo, string AccountName, string BankingIdentifier, object userState) {
public void AccountValidationAsync(string UserName, string Password, string BankId, string AccountNo, string AccountName, object userState) {
if ((this.AccountValidationOperationCompleted == null)) {
this.AccountValidationOperationCompleted = new System.Threading.SendOrPostCallback(this.OnAccountValidationOperationCompleted);
}
@ -832,8 +831,7 @@ namespace GMENepal.GMEReference {
Password,
BankId,
AccountNo,
AccountName,
BankingIdentifier}, this.AccountValidationOperationCompleted, userState);
AccountName}, this.AccountValidationOperationCompleted, userState);
}
private void OnAccountValidationOperationCompleted(object arg) {
@ -881,8 +879,7 @@ namespace GMENepal.GMEReference {
[System.Xml.Serialization.XmlElementAttribute(IsNullable=true)] string PayoutCurrency,
[System.Xml.Serialization.XmlElementAttribute(IsNullable=true)] string ReceiverCostRate,
[System.Xml.Serialization.XmlElementAttribute(IsNullable=true)] string SenderCostRate,
[System.Xml.Serialization.XmlElementAttribute(IsNullable=true)] string Signature,
[System.Xml.Serialization.XmlElementAttribute(IsNullable=true)] string BankingIdentifier) {
[System.Xml.Serialization.XmlElementAttribute(IsNullable=true)] string Signature) {
object[] results = this.Invoke("ProcessBankDeposit", new object[] {
PartnerId,
UserName,
@ -919,8 +916,7 @@ namespace GMENepal.GMEReference {
PayoutCurrency,
ReceiverCostRate,
SenderCostRate,
Signature,
BankingIdentifier});
Signature});
return ((DbResult)(results[0]));
}
@ -961,9 +957,8 @@ namespace GMENepal.GMEReference {
string PayoutCurrency,
string ReceiverCostRate,
string SenderCostRate,
string Signature,
string BankingIdentifier) {
this.ProcessBankDepositAsync(PartnerId, UserName, Password, SessionId, ExConfirmId, MembershipId, CustomerName, CustomerAddress, CustomerContact, CustomerCity, CustomerCountry, CustomerIdType, CustomerIdNumber, BeneName, BeneAddress, BeneContact, BeneCity, BeneCountry, Profession, IncomeSource, Relationship, PurposeOfRemittance, SendingAmount, ReceivingAmount, PaymentMethod, BankCode, BankName, BankAccountNumber, TransactionDate, CalculateBy, FreeCharge, ControlNo, PayoutCurrency, ReceiverCostRate, SenderCostRate, Signature, BankingIdentifier, null);
string Signature) {
this.ProcessBankDepositAsync(PartnerId, UserName, Password, SessionId, ExConfirmId, MembershipId, CustomerName, CustomerAddress, CustomerContact, CustomerCity, CustomerCountry, CustomerIdType, CustomerIdNumber, BeneName, BeneAddress, BeneContact, BeneCity, BeneCountry, Profession, IncomeSource, Relationship, PurposeOfRemittance, SendingAmount, ReceivingAmount, PaymentMethod, BankCode, BankName, BankAccountNumber, TransactionDate, CalculateBy, FreeCharge, ControlNo, PayoutCurrency, ReceiverCostRate, SenderCostRate, Signature, null);
}
/// <remarks/>
@ -1004,7 +999,6 @@ namespace GMENepal.GMEReference {
string ReceiverCostRate,
string SenderCostRate,
string Signature,
string BankingIdentifier,
object userState) {
if ((this.ProcessBankDepositOperationCompleted == null)) {
this.ProcessBankDepositOperationCompleted = new System.Threading.SendOrPostCallback(this.OnProcessBankDepositOperationCompleted);
@ -1045,8 +1039,7 @@ namespace GMENepal.GMEReference {
PayoutCurrency,
ReceiverCostRate,
SenderCostRate,
Signature,
BankingIdentifier}, this.ProcessBankDepositOperationCompleted, userState);
Signature}, this.ProcessBankDepositOperationCompleted, userState);
}
private void OnProcessBankDepositOperationCompleted(object arg) {
@ -2735,8 +2728,6 @@ namespace GMENepal.GMEReference {
private string sessionIdField;
private string districtNameField;
/// <remarks/>
public string ErrorCode {
get {
@ -2846,16 +2837,6 @@ namespace GMENepal.GMEReference {
this.sessionIdField = value;
}
}
/// <remarks/>
public string districtName {
get {
return this.districtNameField;
}
set {
this.districtNameField = value;
}
}
}
/// <remarks/>

4
GMENepal/Web References/GMEReference/Reference.map

@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<DiscoveryClientResultsFile xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<Results>
<DiscoveryClientResult referenceType="System.Web.Services.Discovery.DiscoveryDocumentReference" url="http://202.166.220.36:2087/sendwsapi/FastMoneyWebService.asmx?disco" filename="FastMoneyWebService.disco" />
<DiscoveryClientResult referenceType="System.Web.Services.Discovery.ContractReference" url="http://202.166.220.36:2087/sendwsapi/FastMoneyWebService.asmx?wsdl" filename="FastMoneyWebService.wsdl" />
<DiscoveryClientResult referenceType="System.Web.Services.Discovery.DiscoveryDocumentReference" url="https://api.bestremit-txn.com:9002/SendWSApi/FastMoneyWebService.asmx?disco" filename="FastMoneyWebService.disco" />
<DiscoveryClientResult referenceType="System.Web.Services.Discovery.ContractReference" url="https://api.bestremit-txn.com:9002/SendWSApi/FastMoneyWebService.asmx?wsdl" filename="FastMoneyWebService.wsdl" />
</Results>
</DiscoveryClientResultsFile>

2
GMENepal/app.config

@ -32,7 +32,7 @@
<applicationSettings>
<GMENepal.Properties.Settings>
<setting name="GMENepal_GMEReference_FastMoneyWebService" serializeAs="String">
<value>http://202.166.220.36:2087/sendwsapi/FastMoneyWebService.asmx</value>
<value>https://api.bestremit-txn.com:9002/SendWSApi/FastMoneyWebService.asmx</value>
</setting>
</GMENepal.Properties.Settings>
</applicationSettings>

73
ThirdPartyAPIs/Web.config

@ -54,48 +54,15 @@
<!--GME NEPAL API-->
<add key="gme_user_name" value="SubidhaSendAPI" />
<add key="gme_password" value="Stag@2023" />
<add key="gme_password" value="Gmesend@123" />
<add key="gme_partnerId" value="BRNNP9943" />
<add key="gme_key" value="uat#@$#%L*RDT@QS!|{}98)SDD1972200AsedF@#D!{]\+_)p@#$%WEDCA@@$$^%$$" />
<add key="gme_key" value="1!VE_#A>DAD#$%%$(8DH|}{+_Privat_)(@(*#@@R_Kops_@ngrY_BD%#DS^6" />
<!-- TransFast API-->
<!-- Live -->
<add key="transfast_userName" value="API.JPMX0101" />
<add key="transfast_password" value="A14!H$809196#" />
<add key="transfast_branchId" value="JPMX0101" />
<add key="transfast_publicKey" value="&lt;RSAKeyValue&gt;&lt;Modulus&gt;6ZvQoPnL/qR2rlKDWhMLNVUxiPFJoPRUxGC0hsSZzgVWynQJMsSvWbRwgHmUFSoqyHm7pTNDfs8731sKA5pnE3vlEqsPNqPqTYiC+TkhuuBPAhU3gasx1lnrs7c9CMGCvdR/iQBJJrUsF6o6ZveIXKdW41BgNTllsqqn4l3G/VE=&lt;/Modulus&gt;&lt;Exponent&gt;AQAB&lt;/Exponent&gt;&lt;/RSAKeyValue&gt;" />
<add key="transfast_baseUrl" value="https://send.transfast.ws/" />
<add key="transfast_systemId" value="246b2910-e0db-4cde-809a-ca610e60463c" />
<!--Demo-->
<!--<add key="transfast_userName" value="API.JPN004" />
<add key="transfast_password" value="anjx87$2" />
<add key="transfast_branchId" value="JPN004" />
<add key="transfast_publicKey" value="&lt;RSAKeyValue&gt;&lt;Modulus&gt;u4KxJWbcm/W086stfkW4z4nZpIFvkgY5ZxMlsBXLjCMcAwSV42xPClXEbcLST9Q+Dan8A+WbgDX483r1pVW2tvyDx69X/YjzM935A30S3/Uf2P/9OBDnHXWCBMoiIMCZOpAHUWhRpixBqcxnY8UwFuYNUbC6dV3kbSrOjAiMor0=&lt;/Modulus&gt;&lt;Exponent&gt;AQAB&lt;/Exponent&gt;&lt;/RSAKeyValue&gt;" />
<add key="transfast_baseUrl" value="https://demo-api.transfast.net/" />
<add key="transfast_systemId" value="64f56c39-c9b8-4f14-8b8f-a130cffb74bf" />-->
<add key="transfast_apiTimeOutInSecond" value="20000" />
<!--<add key="transfast_branchMapCode" value="11851" />
<add key="transfast_userName_bank" value="NP16TPBD" />
<add key="transfast_password_bank" value="Gmetp16" />
<add key="transfast_branchId_bank" value="NP16000002" />-->
<!-- End Transfast Api-->
<!-- API PartnerId-->
<add key="transfast" value="394130" />
<add key="jmeNepal" value="393880" />
<add key="donga" value="394132" />
<add key="gmenepal" value="394397" />
<add key="bankofceylon" value="394400" />
<add key="bracBank" value="394414" />
<add key="Cebuana" value="394428" />
<add key="Wing" value="394434" />
<!-- END API PartnerId-->
<!--SMS API URL-->
@ -106,12 +73,7 @@
<add key="onewaysmsSenderId" value="IME London" />
<add key="onewaysmsLangType" value="1" />
<!--DongaV2 API UAT--><!--
<add key="dongav2_base_url" value="http://apiuat.dongamoneytransfer.com.vn:8888" />
<add key="dongav2_partnerId" value="20088" />
<add key="dongav2_secretKey" value="RdpKy73lrMURIHWw1grGMj55hS91ZWy7" />
<add key="dongav2_privateKey" value="Keys/DongaV2/private_uat.pem" />
<add key="MappingFilePath" value="config//Mapping.json" />-->
<!--FCM server Notification-->
<add key="GoogleFcm" value="https://fcm.googleapis.com/fcm/send" />
<add key="FcmAuthorizationHeader" value="AAAAreOOR44:APA91bEtcUEyTy-RehdwIz9f1_NUCDu4kHJp9jXQfAjj5ozzerDBNqsDvvSwTiu0Kw8YM_PrFm3ftM1uL5Kay45wBcks26YiTBP8jyjjLsUAbmztkftKY46LPJEsgBBC4CiMOxo7DhOY" />
@ -119,33 +81,6 @@
<add key="fcmSenderId" value="746847094670" />
<add key="lang" value="en" />
<!--BOC API PROD-->
<add key="boc_username" value="WEBPANDEY" />
<add key="boc_password" value="525357545657" />
<add key="boc_account_no_lkr" value="1000528860" />
<add key="boc_account_no_usd" value="1000529430" />
<add key="boc_chargin_type" value="0" />
<add key="boc_sms_alert" value="3" />
<!--BRAC API PROD-->
<add key="brac_base_url" value="https://m.bracbank.com/mtcwebapiconnectlive" />
<add key="brac_Username" value="jme_w" />
<add key="brac_Password" value="Jme@1234" />
<add key="brac_Publickey" value="Keys\Brac\BBL_public_live.pem" />
<add key="Jme_Privatekey" value="Keys\Brac\Jme_private_live.pem" />
<add key="Jme_Publickey" value="Keys\Brac\Jme_public_live.pem" />
<add key="signature_Base_Url" value="http://localhost:25326/api/" />
<!--Cebuana API PROD-->
<add key="Cebuana_base_cpu_url" value="https://www.peralink.ph/PushRemittanceWCF/PushRemittanceWCFServices.svc" />
<add key="Cebuana_base_cpu_update" value="https://peralink.ph/pushremittanceupdaterwcf/remittancedirectupdaterwcf.svc/v1"/>
<add key="Cebuana_base_rta_url" value="https://www.peralink.ph/PushRTAWCF-V2/PushRTAWCFServices.svc" />
<add key="Cebuana_partner_Code" value="JPN-PS" />
<add key="Cebuana_Password" value="u5YE$@P7" />
<add key="Cebuana_userid" value="JPNPSU53R1D" />
<!--postcodeanywhere-->
<add key="loqatekey" value="CB93-HB26-JC73-WH89" />
</appSettings>

Loading…
Cancel
Save