ofbiz-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sameer Gajanan Apte (JIRA)" <j...@apache.org>
Subject [jira] [Comment Edited] (OFBIZ-10329) One Page Checkout page cannot move to Step 5 due to javascript errors
Date Fri, 06 Apr 2018 16:46:00 GMT

    [ 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:45 PM:

To get this working replace 

{{<set field="layoutSettings.javaScripts[+0]" value="/common/js/jquery/plugins/validate/jquery.validate.min.js"



{{<set field="layoutSettings.javaScripts[+0]" value="/common/js/jquery/plugins/validate/additional-methods.min.js"
{{<set field="layoutSettings.javaScripts[+0]" value="/common/js/jquery/plugins/validate/jquery.validate.min.js"


inside ecommerce's commonScreens.xml



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"

{{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}"


{{<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

View raw message