Browse Source

pass email in trust doc

Ime-london-webcore
shakun 10 months ago
parent
commit
92856268e1
  1. 4
      Swift.web/AgentNew/Administration/CustomerSetup/CustomerRegistration/Manage.aspx
  2. 62
      Swift.web/Payment/STPaymentCustomerRedirect.aspx
  3. 3
      Swift.web/Payment/STPaymentCustomerRedirect.aspx.cs
  4. 10
      Swift.web/Payment/trans_payment_success.aspx
  5. 1
      Swift.web/Remit/Transaction/VerifyMobileTransaction/VerifyMobileTransaction.aspx.cs

4
Swift.web/AgentNew/Administration/CustomerSetup/CustomerRegistration/Manage.aspx

@ -163,7 +163,7 @@
$("#apiDataPopup").modal("hide");
})
//$("#ContentPlaceHolder1_occupation").prop("disabled", true);
$("#<%=verificationTypeNo.ClientID%>").on("change", function () {
<%-- $("#<%=verificationTypeNo.ClientID%>").on("change", function () {
var idtype = $("#<%=idType.ClientID%>").val();
if (idtype.split('|')[0] == 11168 && idtype != '') {
var idNumber = $("#<%=verificationTypeNo.ClientID%>").val();
@ -178,7 +178,7 @@
}
}
});
});--%>
$("#<%=txtStreet.ClientID%>").on("change", function () {
$('#ContentPlaceHolder1_hf_editable_townArea').val($(this).find('option:selected').text());

62
Swift.web/Payment/STPaymentCustomerRedirect.aspx

@ -52,46 +52,52 @@
</div>
<form runat="server" id="from">
<asp:HiddenField ID="sitereference" runat="server" />
<input type="hidden" name="stprofile" value="default"/>
<input type="hidden" name="currencyiso3a" value="GBP"/>
<input type="hidden" name="mainamount" id="mainamount" runat="server"/>
<input type="hidden" name="version" value="2"/>
<asp:HiddenField ID="sitereference" runat="server" />
<input type="hidden" name="stprofile" value="default" />
<input type="hidden" name="currencyiso3a" value="GBP" />
<input type="hidden" name="mainamount" id="mainamount" runat="server" />
<input type="hidden" name="version" value="2" />
<asp:HiddenField ID="orderreference" runat="server" />
<input type="hidden" name="request_source" value="ORM"/>
<input type="hidden" name="billingfirstname" id="billingfirstname" runat="server"/>
<input type="hidden" name="billinglastname" id="billinglastname" runat="server"/>
<input type="hidden" name="billingstreet" id="billingstreet" runat="server"/>
<input type="hidden" name="customerpremise" id="customerpremise" runat="server"/>
<input type="hidden" name="customerstreet" id="customerstreet" runat="server"/>
<input type="hidden" name="billingpostcode" id="billingpostcode" runat="server"/>
<input type="hidden" name="customerpostcode" id="customerpostcode" runat="server"/>
<input type="hidden" name="billingtown" id="billingtown" runat="server"/>
<input type="hidden" name="customertown" id="customertown" runat="server"/>
<input type="hidden" name="billingcountryiso2a" value="GB"/>
<input type="hidden" name="customercountryiso2a" value="GB"/>
<input type="hidden" name="billingtelephone" id="billingtelephone" runat="server"/>
<input type="hidden" name="customertelephone" id="customertelephone" runat="server"/>
<input type="hidden" name="billingemail" id="billingemail" runat="server"/>
<input type="hidden" name="customeremail" id="customeremail" runat="server"/>
<input type="hidden" name="customertelephonetype" value="M"/>
<input type="hidden" name="ruleidentifier" value="STR-6"/>
<input type="hidden" name="request_source" value="ORM" />
<input type="hidden" name="billingfirstname" id="billingfirstname" runat="server" />
<input type="hidden" name="billinglastname" id="billinglastname" runat="server" />
<input type="hidden" name="billingstreet" id="billingstreet" runat="server" />
<input type="hidden" name="customerpremise" id="customerpremise" runat="server" />
<input type="hidden" name="customerstreet" id="customerstreet" runat="server" />
<input type="hidden" name="billingpostcode" id="billingpostcode" runat="server" />
<input type="hidden" name="customerpostcode" id="customerpostcode" runat="server" />
<input type="hidden" name="billingtown" id="billingtown" runat="server" />
<input type="hidden" name="customertown" id="customertown" runat="server" />
<input type="hidden" name="billingcountryiso2a" value="GB" />
<input type="hidden" name="customercountryiso2a" value="GB" />
<input type="hidden" name="billingtelephone" id="billingtelephone" runat="server" />
<input type="hidden" name="customertelephone" id="customertelephone" runat="server" />
<input type="hidden" name="billingemail" id="billingemail" runat="server" />
<input type="hidden" name="customeremail" id="customeremail" runat="server" />
<input type="hidden" name="customertelephonetype" value="M" />
<input type="hidden" name="ruleidentifier" value="STR-6" />
<input type="hidden" runat="server" id="successfulurlredirect" name="successfulurlredirect" />
<input type="hidden" runat="server" id="declinedurlredirect" name="declinedurlredirect" />
<!--Sends email confirmation to the customer, following successful transaction:-->
<input type="hidden" name="ruleidentifier" value="STR-2" />
<!--Sends email confirmation to the customer, following declined transaction:-->
<input type="hidden" name="ruleidentifier" value="STR-3" />
<asp:HiddenField ID="sitesecuritytimestamp" runat="server" />
<asp:HiddenField ID="sitesecurity" runat="server" />
<%-- <input type="hidden" name="sitesecuritytimestamp" value="2023-09-14 15:13:04">
<input type="hidden" name="sitesecurity" value="hb180e83d1a161c4dd32c2fccd368b77a85679563d3ac20f85bbe4ae65bc39f01">--%>
<%-- <input type="hidden" name="ruleidentifier" value="STR-4"/>--%>
<%-- <input type="hidden" name="ruleidentifier" value="STR-4"/>--%>
<!--Sends email confirmation to the merchant, following declined transaction:-->
<%--<input type="hidden" name="ruleidentifier" value="STR-5">--%>
<input type="hidden" name="merchantemail" runat="server" id="merchantemail" value="shakun@japanremit.com"/>
<input type="hidden" name="merchantemail" runat="server" id="merchantemail" value="shakun@japanremit.com" />
<asp:Button ID="btnSubmit" UseSubmitBehavior="true" runat="server" />

3
Swift.web/Payment/STPaymentCustomerRedirect.aspx.cs

@ -79,6 +79,9 @@ namespace Swift.web.Payment
billingtelephone.Value = customertelephone.Value = Convert.ToString(dt.Rows[0]["mobile"]);
billingemail.Value = customeremail.Value = Convert.ToString(dt.Rows[0]["email"]);
successfulurlredirect.Value = GetStatic.ReadWebConfig("sitesuccessfulurlredirect", "");
declinedurlredirect.Value = GetStatic.ReadWebConfig("sitedeclinedurlredirect", "");
merchantemail.Value= GetStatic.ReadWebConfig("merchantemail", "");

10
Swift.web/Payment/trans_payment_success.aspx

@ -30,13 +30,12 @@
}
.table-condensed {
font-size: 18px;
font-size: 26px;
}
.receipt {
font-size: 20px !important;
font-size: 24px !important;
}
.success-icon {
color: #fff;
font-size: 20px;
@ -172,10 +171,9 @@
<i class="fa fa-check success-icon"></i>
</td>
</tr>
<tr>
<td>
<strong>Your payment has been sucessfully recieved.</strong>
<strong>Your payment has been sucessfully received.</strong>
</td>
</tr>
<tr>
@ -186,7 +184,7 @@
</td>
</tr>
<tr>
<td style="font-size: 18px;">
<td >
<strong>Total Payout Amount :</strong>
<asp:Label ID="lblAmount" runat="server"></asp:Label>
<%--<span id="lblAmount" runat="server"></span>--%>

1
Swift.web/Remit/Transaction/VerifyMobileTransaction/VerifyMobileTransaction.aspx.cs

@ -584,6 +584,7 @@ namespace Swift.web.Remit.Transaction.VerifyMobileTransaction
bodyMappings.Add(new Mapping() { SValue = "PayoutAmt", SText = cd.PayoutAmount });
bodyMappings.Add(new Mapping() { SValue = "TransferAmt", SText = cd.TransferAmount });
bodyMappings.Add(new Mapping() { SValue = "Fee", SText = cd.serviceCharge });
bodyMappings.Add(new Mapping() { SValue = "ExRate", SText = cd.ExRate });
bodyMappings.Add(new Mapping() { SValue = "Discount", SText = cd.rewardPoints });
bodyMappings.Add(new Mapping() { SValue = "TotalAmt", SText = cd.TotalAmount });
bodyMappings.Add(new Mapping() { SValue = "TxnDate", SText = cd.TranDate });

Loading…
Cancel
Save