NewAtThis Posted August 27, 2015 Share Posted August 27, 2015 (edited) Hello, all. As of tonight, I'm missing the Shipping and Billing Addresses on my 1-page order form. I just have rectangles instead. I don't know what I've done to cause this. See screenshot. Any ideas? Thanks. Steven. Edited August 27, 2015 by NewAtThis (see edit history) Link to comment Share on other sites More sharing options...
NewAtThis Posted August 28, 2015 Author Share Posted August 28, 2015 I haven't found the solution yet, but I did just discover that the addresses reappear if the Brinks payment gateway module isn't there. So it appears that something with the Brinks module is turning off the addresses. Any ideas? Thank you! Link to comment Share on other sites More sharing options...
NewAtThis Posted August 29, 2015 Author Share Posted August 29, 2015 I'm just posting updates as I go along. If anyone wants to jump in and shout out an answer, please do! Now I've found that if I go into the file called: /home/mythat5/public_html/modules/brinkscheckout/views/templates/hook/1.6/payment_execution.tpl and remove the line that calls this script: /home/mythat5/public_html/modules/brinkscheckout/js/2co.min.js My addresses come back without removing the payment module. So I think the problem is in that 2co.min.js script. However, the way that file is written, it's very very difficult to make sense of, especially since I don't know javascript. I'm at a loss for how to debug this, but since I think I've isolated it to that file, I'll keep hacking away at it and see if the problem makes itself apparent. Thanks. Link to comment Share on other sites More sharing options...
NewAtThis Posted August 29, 2015 Author Share Posted August 29, 2015 Just figured out that everything works fine in FireFox, but not in Chrome. The problem seems to be related to the Terms of Service checkbox. In FireFox, if I uncheck the Terms of Service checkbox, the payment options go away and are replaced with a message that says "Please accept the terms of service." In Chrome, if I uncheck the Terms of Service checkbox, the payment options stay there. So I think somewhere in that script is an If/Then statement regarding that checkbox, and the way it's coded doesn't work for Chrome, and apparently, it's somehow messing with the addresses, too. Link to comment Share on other sites More sharing options...
NewAtThis Posted August 29, 2015 Author Share Posted August 29, 2015 Ok, I'm not going to figure this out. I'm a hacker, not a programmer. I've asked the Brinks module developer about this. If they come back with an answer, I'll post it here. Thanks. Steven. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now