Improved: Have eCommerce component reflect the new situation re iDEAL

(OFBIZ-5445)

Remove IDEAL related code from the ecommerce component.

When the IDEAL solution isn't part of the accounting component, the code in 
ecommerce should be removed as well. 

Thanks: Pierre Smits

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-plugins/trunk@1846229 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Jacques Le Roux
2018-11-09 10:30:52 +00:00
parent f16195f359
commit a8d7cd417d
2 changed files with 0 additions and 56 deletions
@@ -56,31 +56,6 @@ function submitForm(form, mode, value) {
form.submit();
}
//]]>
$(document).ready(function(){
var issuerId = "";
if ($('#checkOutPaymentId_IDEAL').attr('checked') == true) {
$('#issuers').show();
issuerId = $('#issuer').val();
$('#issuerId').val(issuerId);
} else {
$('#issuers').hide();
$('#issuerId').val('');
}
$('input:radio').click(function(){
if ($(this).val() == "EXT_IDEAL") {
$('#issuers').show();
issuerId = $('#issuer').val();
$('#issuerId').val(issuerId);
} else {
$('#issuers').hide();
$('#issuerId').val('');
}
});
$('#issuer').change(function(){
issuerId = $(this).val();
$('#issuerId').val(issuerId);
});
});
</script>
@@ -134,24 +109,6 @@ var issuerId = "";
${uiLabelMap.AccountingPayWithPayPal}</label>
</div>
</#if>
<#if productStorePaymentMethodTypeIdMap.EXT_IDEAL??>
<div class="form-check">
<label class="form-check-label" for="checkOutPaymentId_IDEAL">
<input class="form-check-input" type="radio" id="checkOutPaymentId_IDEAL" name="checkOutPaymentId" value="EXT_IDEAL" <#if "EXT_IDEAL" == checkOutPaymentId>checked="checked"</#if> />
${uiLabelMap.AccountingPayWithiDEAL}</label>
</div>
<div id="issuers">
<div><label >${uiLabelMap.AccountingBank}</label></div>
<select name="issuer" id="issuer">
<#if issuerList?has_content>
<#list issuerList as issuer>
<option value="${issuer.getIssuerID()}" >${issuer.getIssuerName()}</option>
</#list>
</#if>
</select>
</div>
</#if>
<hr>
<#if !paymentMethodList?has_content>
<div>
@@ -754,7 +754,6 @@ under the License.
<response name="paypal" type="request" value="callPayPal"/>
<response name="billact" type="request" value="emailorder"/>
<response name="cod" type="request" value="emailorder"/>
<response name="ideal" type="request" value="callIdeal"/>
<response name="error" type="view" value="checkoutreview"/>
</request-map>
@@ -796,18 +795,6 @@ under the License.
<response name="success" type="view" value="main"/>
<response name="error" type="view" value="main"/>
</request-map>
<request-map uri="callIdeal">
<security https="true" direct-request="false"/>
<event type="java" path="org.apache.ofbiz.accounting.thirdparty.ideal.IdealEvents" invoke="callIdeal"/>
<response name="success" type="none"/>
<response name="error" type="view" value="checkoutreview"/>
</request-map>
<request-map uri="idealNotify">
<security https="false"/>
<event type="java" path="org.apache.ofbiz.accounting.thirdparty.ideal.IdealEvents" invoke="idealNotify"/>
<response name="success" type="view" value="ordercomplete"/>
<response name="error" type="view" value="checkoutreview"/>
</request-map>
<!-- PayPal Express Checkout Requests -->
<request-map uri="setPayPalCheckout">