[ https://issues.apache.org/jira/browse/OFBIZ-10329?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16428551#comment-16428551 ]
Sameer Gajanan Apte edited comment on OFBIZ-10329 at 4/6/18 4:36 PM: --------------------------------------------------------------------- I tried adding in below line inside main decorator of the ecommerce application. So that missing validation method 'creditcard' gets added inside validator object. Unfortunately it did not do the magic.. {{<set field="layoutSettings.javaScripts[+0]" value="/common/js/jquery/plugins/validate/additional.methods.min.js" global="true"/>}} {{So for now to bypass the issue I have changed below line from OnePageCheckoutProcess.ftl}} {{<input id="cardNumber" name="cardNumber" class="form-control required {color:#FF0000}creditcard{color}" type="text"}} to {{<input id="cardNumber" name="cardNumber" class="form-control required" type="text"}} which disabled client side credit card number validation.. which is fine for me for time being as temporarily i can rely on server side validation for the same was (Author: aptesameer): I tried adding in below line inside main decorator of the ecommerce application. So that missing validation method 'creditcard' gets added inside validator object. Unfortunately it did not do the magic.. <set field="layoutSettings.javaScripts[+0]" value="/common/js/jquery/plugins/validate/additional.methods.min.js" global="true"/> So for now to bypass the issue I have changed below line from OnePageCheckoutProcess.ftl <input id="cardNumber" name="cardNumber" class="form-control required creditcard" type="text" to <input id="cardNumber" name="cardNumber" class="form-control required" type="text" which disabled client side credit card number validation.. which is fine for me for time being as temporarily i can rely on server side validation for the same > One Page Checkout page cannot move to Step 5 due to javascript errors > --------------------------------------------------------------------- > > Key: OFBIZ-10329 > URL: https://issues.apache.org/jira/browse/OFBIZ-10329 > Project: OFBiz > Issue Type: Bug > Components: ecommerce > Affects Versions: Trunk > Reporter: Sameer Gajanan Apte > Priority: Major > Attachments: image-2018-04-06-13-34-19-540.png, image.png > > > I was trying to give one page checkout a try.. > But seems like no matter which browser(used IE & Chrome) or version of ofbiz > (used *17.12* and *trunk demo*) is used, one cannot go beyond Step 4 : > Billing. > I.e. when you click on continue to step 5 we encounter some javascript > exception which makes the checkout process hit the wall. > For actual error messges etc. please refer to screenshot attached. > -- This message was sent by Atlassian JIRA (v7.6.3#76005)