[Skip to main content](#vessel-content)

#   FINISH Button does not redirect

##

- **[phamosa](/forum/user/7861-phamosa "View phamosa's Profile")**
- [![phamosa's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/gallery/guitar.gif)](/forum/user/7861-phamosa "View phamosa's Profile") Topic Author
- [ Offline](/forum/user/7861-phamosa)

Less More

- Posts: 65
- Thank you received: 0
-
-

12 years 6 months ago [\#156266](#156266) by [phamosa](/forum/user/7861-phamosa "View phamosa's Profile")  *[FINISH Button does not redirect](/forum/27-checkout/868270-finish-button-does-not-redirect#156266 "-- url of the page with the problem -- :   www.rufrecords.de  -- HikaShop version -- : 2.3.0 -- Joomla version -- : x2.5.19 -- PHP version -- : 5.4.9 -- Browser(s) name and version -- : Firefox or Chrome  The FINISH Button at the end of the checkout flow does not work, the page loads again but does not do the checkout and does not forward the order.  Here is a screenshot of the checkout flow:")* was created by *[phamosa](/forum/user/7861-phamosa "View phamosa's Profile")*

-- url of the page with the problem -- : [ www.rufrecords.de](http://www.rufrecords.de)
-- HikaShop version -- : 2.3.0
-- Joomla version -- : x2.5.19
-- PHP version -- : 5.4.9
-- Browser(s) name and version -- : Firefox or Chrome

The FINISH Button at the end of the checkout flow does not work, the page loads again but does not do the checkout and does not forward the order.

Here is a screenshot of the checkout flow:

- [ ![h32b3e8b.png](/forum/attachment/17313) ](/forum/attachment/17313 "h32b3e8b.png") [ ](/forum/attachment/17313?download=1 "h32b3e8b.png")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtL2NoZWNrb3V0Lzg2ODI3MC1maW5pc2gtYnV0dG9uLWRvZXMtbm90LXJlZGlyZWN0P3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86584
- Thank you received: 14325
-
-

12 years 6 months ago [\#156273](#156273) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[FINISH Button does not redirect](/forum/27-checkout/868270-finish-button-does-not-redirect#156273 "-- url of the page with the problem -- :   www.rufrecords.de  -- HikaShop version -- : 2.3.0 -- Joomla version -- : x2.5.19 -- PHP version -- : 5.4.9 -- Browser(s) name and version -- : Firefox or Chrome  The FINISH Button at the end of the checkout flow does not work, the page loads again but does not do the checkout and does not forward the order.  Here is a screenshot of the checkout flow:")*

It means that the system is not creating the order because something is missing.
Please make sure that your template is able to display error messages:
[ www.hikashop.com/support/support/documen...tibility-issues.html](http://www.hikashop.com/support/support/documentation/61-hikashop-compatibility-issues.html)
Then, turn on the "error reporting" and "debug mode" options of the Joomla configuration.
Then, try again. Do you get any error displayed after clicking on the "Finish" button ?

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtL2NoZWNrb3V0Lzg2ODI3MC1maW5pc2gtYnV0dG9uLWRvZXMtbm90LXJlZGlyZWN0P3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[cbadmin](/forum/user/15476-cbadmin "View cbadmin's Profile")**
- [![cbadmin's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/15476-cbadmin "View cbadmin's Profile")
- [ Offline](/forum/user/15476-cbadmin)

Less More

- Posts: 68
- Thank you received: 6
-
-

12 years 5 months ago [\#159334](#159334) by [cbadmin](/forum/user/15476-cbadmin "View cbadmin's Profile")  Replied by *[cbadmin](/forum/user/15476-cbadmin "View cbadmin's Profile")* on topic *[FINISH Button does not redirect](/forum/27-checkout/868270-finish-button-does-not-redirect#159334 "-- url of the page with the problem -- :   www.rufrecords.de  -- HikaShop version -- : 2.3.0 -- Joomla version -- : x2.5.19 -- PHP version -- : 5.4.9 -- Browser(s) name and version -- : Firefox or Chrome  The FINISH Button at the end of the checkout flow does not work, the page loads again but does not do the checkout and does not forward the order.  Here is a screenshot of the checkout flow:")*

I had the exact same problem with Hikashop 2.3.1 and this was what fixed it for me [ www.hikashop.com/forum/checkout/868353-u...checkout.html#156651](http://www.hikashop.com/forum/checkout/868353-unable-to-register-and-checkout.html#156651)

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtL2NoZWNrb3V0Lzg2ODI3MC1maW5pc2gtYnV0dG9uLWRvZXMtbm90LXJlZGlyZWN0P3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Eliot](/forum/user/1824-eliot "View Eliot's Profile")**
- [![Eliot's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar1824.png)](/forum/user/1824-eliot "View Eliot's Profile")
- [ Offline](/forum/user/1824-eliot)

Less More

- Posts: 2334
- Thank you received: 403
-
-

12 years 5 months ago [\#159488](#159488) by [Eliot](/forum/user/1824-eliot "View Eliot's Profile")  Replied by *[Eliot](/forum/user/1824-eliot "View Eliot's Profile")* on topic *[FINISH Button does not redirect](/forum/27-checkout/868270-finish-button-does-not-redirect#159488 "-- url of the page with the problem -- :   www.rufrecords.de  -- HikaShop version -- : 2.3.0 -- Joomla version -- : x2.5.19 -- PHP version -- : 5.4.9 -- Browser(s) name and version -- : Firefox or Chrome  The FINISH Button at the end of the checkout flow does not work, the page loads again but does not do the checkout and does not forward the order.  Here is a screenshot of the checkout flow:")*

Thanks for sharing your solution ![;)](/media/kunena/emoticons/24.png ";)")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtL2NoZWNrb3V0Lzg2ODI3MC1maW5pc2gtYnV0dG9uLWRvZXMtbm90LXJlZGlyZWN0P3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[phamosa](/forum/user/7861-phamosa "View phamosa's Profile")**
- [![phamosa's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/gallery/guitar.gif)](/forum/user/7861-phamosa "View phamosa's Profile") Topic Author
- [ Offline](/forum/user/7861-phamosa)

Less More

- Posts: 65
- Thank you received: 0
-
-

12 years 5 months ago -  12 years 5 months ago [\#159514](#159514) by [phamosa](/forum/user/7861-phamosa "View phamosa's Profile")  Replied by *[phamosa](/forum/user/7861-phamosa "View phamosa's Profile")* on topic *[FINISH Button does not redirect](/forum/27-checkout/868270-finish-button-does-not-redirect#159514 "-- url of the page with the problem -- :   www.rufrecords.de  -- HikaShop version -- : 2.3.0 -- Joomla version -- : x2.5.19 -- PHP version -- : 5.4.9 -- Browser(s) name and version -- : Firefox or Chrome  The FINISH Button at the end of the checkout flow does not work, the page loads again but does not do the checkout and does not forward the order.  Here is a screenshot of the checkout flow:")*

hi everybody,

this is my code here below, there is no such code as in the suggested solution.
the registration WORKS, the problem is that after choosing payment and shipping method and clicking on FINISH, the page is just reloaded and no order is created. what's wrong?

please do a test order on the RUf Records Website to understand the problem.
Thank you!
Code:

/** * @package HikaShop for Joomla! * @version 2.3.0 * @author hikashop.com * @copyright (C) 2010-2014 HIKARI SOFTWARE. All rights reserved. * @license GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html */ function tableOrdering( order, dir, task ) { var form = document.adminForm; form.filter_order.value = order; form.filter_order_Dir.value = dir; submitform( task ); } function submitform(pressbutton){ if (pressbutton) { document.adminForm.task.value=pressbutton; } if( typeof(CodeMirror) == 'function'){ for (x in CodeMirror.instances){ document.getElementById(x).value = CodeMirror.instances[x].getCode(); } } if (typeof document.adminForm.onsubmit == "function") { document.adminForm.onsubmit(); } document.adminForm.submit(); return false; } function hikashopCheckChangeForm(type,form) { if(!form) return true; var varform = document[form]; if(typeof hikashopFieldsJs != 'undefined' &amp;&amp; typeof hikashopFieldsJs['reqFieldsComp'] != 'undefined' &amp;&amp; typeof hikashopFieldsJs['reqFieldsComp'][type] != 'undefined' &amp;&amp; hikashopFieldsJs['reqFieldsComp'][type].length &gt; 0) { for(var i =0;i&lt;hikashopFieldsJs['reqFieldsComp'][type].length;i++) { elementName = 'data['+type+']['+hikashopFieldsJs['reqFieldsComp'][type][i]+']'; if( typeof varform.elements[elementName]=='undefined'){ elementName = type+'_'+hikashopFieldsJs['reqFieldsComp'][type][i]; } elementToCheck = varform.elements[elementName]; elementId = 'hikashop_'+type+'_'+ hikashopFieldsJs['reqFieldsComp'][type][i]; el = document.getElementById(elementId); if(elementToCheck &amp;&amp; (typeof el == 'undefined' &#124;&#124; el == null &#124;&#124; typeof el.style == 'undefined' &#124;&#124; el.style.display!='none') &amp;&amp; !hikashopCheckField(elementToCheck,type,i,elementName,varform.elements)){ if(typeof hikashopFieldsJs['entry_id'] == 'undefined') return false; for(var j =1;j&lt;=hikashop['entry_id'];j++){ elementName = 'data['+type+'][entry_'+j+']['+hikashopFieldsJs['reqFieldsComp'][type][i]+']'; elementToCheck = varform.elements[elementName]; elementId = 'hikashop_'+type+'_'+ hikashopFieldsJs['reqFieldsComp'][type][i] + '_' + j; el = document.getElementById(elementId); if(elementToCheck &amp;&amp; (typeof el == 'undefined' &#124;&#124; el == null &#124;&#124; typeof el.style == 'undefined' &#124;&#124; el.style.display!='none') &amp;&amp; !hikashopCheckField(elementToCheck,type,i,elementName,varform.elements)){ return false; } } } } if(type=='register'){ //check password if(typeof varform.elements['data[register][password]'] != 'undefined' &amp;&amp; typeof varform.elements['data[register][password2]'] != 'undefined'){ passwd = varform.elements['data[register][password]']; passwd2 = varform.elements['data[register][password2]']; if(passwd.value!=passwd2.value){ alert(hikashopFieldsJs['password_different']); return false; } } //check email var emailField = varform.elements['data[register][email]']; emailField.value = emailField.value.replace(/ /g,""); var filter = /^([a-z0-9_'&amp;\.\-\+])+\@(([a-z0-9\-])+\.)+([a-z0-9]{2,10})+$/i; if(!emailField &#124;&#124; !filter.test(emailField.value)){ alert(hikashopFieldsJs['valid_email']); return false; } }else if(type=='address' &amp;&amp; typeof varform.elements['data[address][address_telephone]'] != 'undefined'){ var phoneField = varform.elements['data[address][address_telephone]'], filter = /[0-9]+/i; if(phoneField){ phoneField.value = phoneField.value.replace(/ /g,""); if(phoneField.value.length &gt; 0 &amp;&amp; !filter.test(phoneField.value)){ alert(hikashopFieldsJs['valid_phone']); return false; } } } } return true; } function hikashopCheckField(elementToCheck,type,i,elementName,form){ if(elementToCheck){ var isValid = false; if(typeof elementToCheck.value != 'undefined'){ if(elementToCheck.value==' ' &amp;&amp; typeof form[elementName+'[]'] != 'undefined'){ if(form[elementName+'[]'].checked){ isValid = true; }else{ for(var a=0; a &lt; form[elementName+'[]'].length; a++){ if(form[elementName+'[]'][a].checked &amp;&amp; form[elementName+'[]'][a].value.length&gt;0) isValid = true; } } }else{ if(elementToCheck.value.length&gt;0) isValid = true; } }else{ for(var a=0; a &lt; elementToCheck.length; a++){ if(elementToCheck[a].checked &amp;&amp; elementToCheck[a].value.length&gt;0) isValid = true; } } //Case for the switcher display, ignore check according to the method selected //joomla 3 ids are differents than joomla 1.5... var simplified_pwd = document.getElementById('data_register_registration_method3'); if(!simplified_pwd){ simplified_pwd = document.getElementById('data[register][registration_method]3'); } var simplified = document.getElementById('data_register_registration_method1'); if(!simplified){ simplified = document.getElementById('data[register][registration_method]1'); } var guest = document.getElementById('data_register_registration_method2'); if(!guest){ guest = document.getElementById('data[register][registration_method]2'); } if(!isValid &amp;&amp; ((simplified &amp;&amp; simplified.checked) &#124;&#124; (guest &amp;&amp; guest.checked) ) &amp;&amp; (elementName=='data[register][password]' &#124;&#124; elementName=='data[register][password2]')){ window.Oby.addClass(elementToCheck, 'invalid'); return true; } if (!isValid &amp;&amp; ( (simplified &amp;&amp; simplified.checked) &#124;&#124; (guest &amp;&amp; guest.checked) &#124;&#124; (simplified_pwd &amp;&amp; simplified_pwd.checked) ) &amp;&amp; (elementName=='data[register][name]' &#124;&#124; elementName=='data[register][username]')) { window.Oby.addClass(elementToCheck, 'invalid'); return true; } if(!isValid){ window.Oby.addClass(elementToCheck, 'invalid'); alert(hikashopFieldsJs['validFieldsComp'][type][i]); return false; }else{ window.Oby.removeClass(elementToCheck, 'invalid'); } } return true; } (function() { function preventDefault() { this.returnValue = false; } function stopPropagation() { this.cancelBubble = true; } var Oby = { version: 20140128, ajaxEvents : {}, hasClass : function(o,n) { if(o.className == '' ) return false; var reg = new RegExp("(^&#124;\\s+)"+n+"(\\s+&#124;$)"); return reg.test(o.className); }, addClass : function(o,n) { if( !this.hasClass(o,n) ) { if( o.className == '' ) { o.className = n; } else { o.className += ' '+n; } } }, trim : function(s) { return (s ? '' + s : '').replace(/^\s*&#124;\s*$/g, ''); }, removeClass : function(e, c) { var t = this; if( t.hasClass(e,c) ) { var cn = ' ' + e.className + ' '; e.className = t.trim(cn.replace(' '+c+' ',' ')); } }, addEvent : function(d,e,f) { if( d.attachEvent ) d.attachEvent('on' + e, f); else if (d.addEventListener) d.addEventListener(e, f, false); else d['on' + e] = f; return f; }, removeEvent : function(d,e,f) { try { if( d.detachEvent ) d.detachEvent('on' + e, f); else if( d.removeEventListener) d.removeEventListener(e, f, false); else d['on' + e] = null; } catch(e) {} }, cancelEvent : function(e) { if( !e ) { e = window.event; if( !e ) return false; } if(e.stopPropagation) e.stopPropagation(); else e.cancelBubble = true; if( e.preventDefault ) e.preventDefault(); else e.returnValue = false; return false; }, fireEvent : function(d,e) { if(document.createEvent) { var evt = document.createEvent('HTMLEvents'); evt.initEvent(e, false, true); d.dispatchEvent(evt); } else d.fireEvent("on"+e); }, fireAjax : function(name,params) { var t = this, ev; if( t.ajaxEvents[name] === undefined ) return false; for(var e in t.ajaxEvents[name]) { if( e != '_id' ) { ev = t.ajaxEvents[name][e]; ev(params); } } return true; }, registerAjax : function(name, fct) { var t = this; if( t.ajaxEvents[name] === undefined ) t.ajaxEvents[name] = {'_id':0}; var id = t.ajaxEvents[name]['_id']; t.ajaxEvents[name]['_id'] += 1; t.ajaxEvents[name][id] = fct; return id; }, unregisterAjax : function(name, id) { if( t.ajaxEvents[name] === undefined &#124;&#124; t.ajaxEvents[name][id] === undefined) return false; t.ajaxEvents[name][id] = null; return true; }, ready: function(fct) { var w = window, d = document, t = this; if(d.readyState === "complete") { fct(); return; } var done = false, top = true, root = d.documentElement, init = function(e) { if(e.type == 'readystatechange' &amp;&amp; d.readyState != 'complete') return; t.removeEvent((e.type == 'load' ? w : d), e.type, init); if(!done &amp;&amp; (done = true)) fct(); }, poll = function() { try{ root.doScroll('left'); } catch(e){ setTimeout(poll, 50); return; } init('poll'); }; if(d.createEventObject &amp;&amp; root.doScroll) { try{ top = !w.frameElement; } catch(e){} if(top) poll(); } t.addEvent(d,'DOMContentLoaded',init); t.addEvent(d,'readystatechange',init); t.addEvent(w,'load',init); }, evalJSON : function(text, secure) { if( typeof(text) != "string" &#124;&#124; !text.length) return null; if( secure &amp;&amp; !(/^[,:{}\[\]0-9.\-+Eaeflnr-u \n\r\t]*$/).test(text.replace(/\\./g, '@').replace(/"[^"\\\n\r]*"/g, ''))) return null; return eval('(' + text + ')'); }, getXHR : function() { var xhr = null, w = window; if(w.XMLHttpRequest &#124;&#124; w.ActiveXObject) { if(w.ActiveXObject) { try { xhr = new ActiveXObject("Microsoft.XMLHTTP"); } catch(e) {} } else xhr = new w.XMLHttpRequest(); } return xhr; }, xRequest: function(url, options, cb, cbError) { var t = this, xhr = t.getXHR(); if(!options) options = {}; if(!cb) cb = function(){}; options.mode = options.mode &#124;&#124; 'GET'; options.update = options.update &#124;&#124; false; xhr.onreadystatechange = function() { if(xhr.readyState == 4) { if( xhr.status == 200 &#124;&#124; (xhr.status == 0 &amp;&amp; xhr.responseText &gt; 0) &#124;&#124; !cbError ) { if(cb) cb(xhr,options.params); if(options.update) t.updateElem(options.update, xhr.responseText); } else { cbError(xhr,options.params); } } }; xhr.open(options.mode, url, true); if( options.mode.toUpperCase() == 'POST' ) { xhr.setRequestHeader("Content-type","application/x-www-form-urlencoded"); } xhr.send( options.data ); }, getFormData : function(target) { var d = document, ret = ''; if( typeof(target) == 'string' ) target = d.getElementById(target); if( target === undefined ) target = d; var typelist = ['input','select','textarea']; for(var t in typelist ) { t = typelist[t]; var inputs = target.getElementsByTagName(t); for(var i = inputs.length - 1; i &gt;= 0; i--) { if( inputs[i].name &amp;&amp; !inputs[i].disabled ) { var evalue = inputs[i].value, etype = ''; if( t == 'input' ) etype = inputs[i].type.toLowerCase(); if( (etype == 'radio' &#124;&#124; etype == 'checkbox') &amp;&amp; !inputs[i].checked ) evalue = null; if( (etype != 'file' &amp;&amp; etype != 'submit') &amp;&amp; evalue != null ) { if( ret != '' ) ret += '&amp;'; ret += encodeURI(inputs[i].name) + '=' + encodeURIComponent(evalue); } } } } return ret; }, updateElem : function(elem, data) { var d = document, scripts = ''; if( typeof(elem) == 'string' ) elem = d.getElementById(elem); var text = data.replace(/&lt;script[^&gt;]*&gt;([\s\S]*?)&lt;\/script&gt;/gi, function(all, code){ scripts += code + '\n'; return ''; }); elem.innerHTML = text; if( scripts != '' ) { var script = d.createElement('script'); script.setAttribute('type', 'text/javascript'); script.text = scripts; d.head.appendChild(script); d.head.removeChild(script); } } }; if((typeof(window.Oby) == 'undefined') &#124;&#124; window.Oby.version &lt; Oby.version) { window.Oby = Oby; window.obscurelighty = Oby; } var oldHikaShop = window.hikashop &#124;&#124; hikashop; var hikashop = { submitFct: null, submitBox: function(data) { var t = this, d = document, w = window; if( t.submitFct ) { try { t.submitFct(data); } catch(err) {} } t.closeBox(); }, deleteId: function(id) { var t = this, d = document, el = id; if( typeof(id) == "string") { el = d.getElementById(id); } if(!el) return; el.parentNode.removeChild(el); }, dup: function(tplName, htmlblocks, id, extraData, appendTo) { var d = document, tplElem = d.getElementById(tplName), container = tplElem.parentNode; if(!tplElem) return; elem = tplElem.cloneNode(true); if(!appendTo) { container.insertBefore(elem, tplElem); } else { if(typeof(appendTo) == "string") appendTo = d.getElementById(appendTo); appendTo.appendChild(elem); } elem.style.display = ""; elem.id = ''; if(id) elem.id = id; for(var k in htmlblocks) { elem.innerHTML = elem.innerHTML.replace(new RegExp("{"+k+"}","g"), htmlblocks[k]); elem.innerHTML = elem.innerHTML.replace(new RegExp("%7B"+k+"%7D","g"), htmlblocks[k]); } if(extraData) { for(var k in extraData) { elem.innerHTML = elem.innerHTML.replace(new RegExp('{'+k+'}','g'), extraData[k]); elem.innerHTML = elem.innerHTML.replace(new RegExp('%7B'+k+'%7D','g'), extraData[k]); } } }, deleteRow: function(id) { var t = this, d = document, el = id; if( typeof(id) == "string") { el = d.getElementById(id); } else { while(el != null &amp;&amp; el.tagName.toLowerCase() != 'tr') { el = el.parentNode; } } if(!el) return; var table = el.parentNode; table.removeChild(el); if( table.tagName.toLowerCase() == 'tbody' ) table = table.parentNode; t.cleanTableRows(table); return; }, dupRow: function(tplName, htmlblocks, id, extraData) { var d = document, tplLine = d.getElementById(tplName), tableUser = tplLine.parentNode; if(!tplLine) return; trLine = tplLine.cloneNode(true); tableUser.appendChild(trLine); trLine.style.display = ""; trLine.id = ""; if(id) trLine.id = id; for(var i = tplLine.cells.length - 1; i &gt;= 0; i--) { if(trLine.cells[i]) { for(var k in htmlblocks) { trLine.cells[i].innerHTML = trLine.cells[i].innerHTML.replace(new RegExp("{"+k+"}","g"), htmlblocks[k]); trLine.cells[i].innerHTML = trLine.cells[i].innerHTML.replace(new RegExp("%7B"+k+"%7D","g"), htmlblocks[k]); } if(extraData) { for(var k in extraData) { trLine.cells[i].innerHTML = trLine.cells[i].innerHTML.replace(new RegExp('{'+k+'}','g'), extraData[k]); trLine.cells[i].innerHTML = trLine.cells[i].innerHTML.replace(new RegExp('%7B'+k+'%7D','g'), extraData[k]); } } } } if(tplLine.className == "row0") tplLine.className = "row1"; else if(tplLine.className == "row1") tplLine.className = "row0"; }, cleanTableRows: function(id) { var d = document, el = id; if(typeof(id) == "string") el = d.getElementById(id); if(el == null &#124;&#124; el.tagName.toLowerCase() != 'table') return; var k = 0, c = '', line = null, lines = el.getElementsByTagName('tr'); for(var i = 0; i &lt; lines.length; i++) { line = lines[i]; if( line.style.display != "none") { c = ' '+line.className+' '; if( c.indexOf(' row0 ') &gt;= 0 &#124;&#124; c.indexOf(' row1 ') &gt;= 0 ) { line.className = c.replace(' row'+(1-k)+' ', ' row'+k+' ').replace(/^\s*&#124;\s*$/g, ''); k = 1 - k; } } } }, checkRow: function(id) { var t = this, d = document, el = id; if(typeof(id) == "string") el = d.getElementById(id); if(el == null &#124;&#124; el.tagName.toLowerCase() != 'input') return; if(this.clicked) { this.clicked = null; t.isChecked(el); return; } el.checked = !el.checked; t.isChecked(el); }, isChecked: function(id,cancel) { var d = document, el = id; if(typeof(id) == "string") el = d.getElementById(id); if(el == null &#124;&#124; el.tagName.toLowerCase() != 'input') return; if(el.form.boxchecked) { if(el.checked) el.form.boxchecked.value++; else el.form.boxchecked.value--; } }, checkAll: function(checkbox, stub) { stub = stub &#124;&#124; 'cb'; if(checkbox.form) { var cb = checkbox.form, c = 0; for(var i = 0, n = cb.elements.length; i &lt; n; i++) { var e = cb.elements[i]; if (e.type == checkbox.type) { if ((stub &amp;&amp; e.id.indexOf(stub) == 0) &#124;&#124; !stub) { e.checked = checkbox.checked; c += (e.checked == true ? 1 : 0); } } } if (cb.boxchecked) { cb.boxchecked.value = c; } return true; } return false; }, submitform: function(task, form, extra) { var d = document; if(typeof form == 'string') { var f = d.getElementById(form); if(!f) f = d.forms[form]; if(!f) return true; form = f; } if(task) { form.task.value = task; } if(typeof form.onsubmit == 'function') form.onsubmit(); form.submit(); return false; }, get: function(elem, target) { window.Oby.xRequest(elem.getAttribute('href'), {update: target}); return false; }, form: function(elem, target) { var data = window.Oby.getFormData(target); window.Oby.xRequest(elem.getAttribute('href'), {update: target, mode: 'POST', data: data}); return false; }, openBox: function(elem, url, jqmodal) { var w = window; if(typeof(elem) == "string") elem = document.getElementById(elem); if(!elem) return false; try { if(jqmodal === undefined) jqmodal = false; if(!jqmodal &amp;&amp; w.SqueezeBox !== undefined) { if(url !== undefined &amp;&amp; url !== null) { elem.href = url; } if(w.SqueezeBox.open !== undefined) SqueezeBox.open(elem, {parse: 'rel'}); else if(w.SqueezeBox.fromElement !== undefined) SqueezeBox.fromElement(elem); } else if(typeof(jQuery) != "undefined") { var id = elem.getAttribute('id'); jQuery('#modal-' + id).modal('show'); if(url) { jQuery('#modal-' + id + '-container').find('iframe').attr('src', url); } } } catch(e) {} return false; }, closeBox: function(parent) { var d = document, w = window; if(parent) { d = window.parent.document; w = window.parent; } try { var e = d.getElementById('sbox-window'); if(e &amp;&amp; typeof(e.close) != "undefined") { e.close(); }else if(typeof(w.jQuery) != "undefined" &amp;&amp; w.jQuery('div.modal.in') &amp;&amp; w.jQuery('div.modal.in').hasClass('in')){ w.jQuery('div.modal.in').modal('hide'); }else if(w.SqueezeBox !== undefined) { w.SqueezeBox.close(); } } catch(err) {} }, submitPopup: function(id, task, form) { var d = document, t = this, el = d.getElementById('modal-'+id+'-iframe'); if(el &amp;&amp; el.contentWindow.hikashop) { if(task === undefined) task = null; if(form === undefined) form = 'adminForm'; el.contentWindow.hikashop.submitform(task, form); } }, tabSelect: function(m,c,id) { var d = document, sub = null; if(typeof m == 'string') m = d.getElementById(m); if(!m) return; if(typeof id == 'string') id = d.getElementById(id); sub = m.getElementsByTagName('div'); if(sub) { for(var i = sub.length - 1; i &gt;= 0; i--) { if(sub[i].getAttribute('class') == c) { sub[i].style.display = 'none'; } } } if(id) id.style.display = ''; }, changeState: function(el, id, url) { window.Oby.xRequest(url, null, function(xhr){ var w = window, d = document; w.Oby.updateElem(id + '_container', xhr.responseText); var defaultVal = '', defaultValInput = d.getElementById(id + '_default_value'), stateSelect = d.getElementById(id); if(defaultValInput) { defaultVal = defaultValInput.value; } if(stateSelect &amp;&amp; w.hikashop.optionValueIndexOf(stateSelect.options, defaultVal) &gt;= 0) stateSelect.value = defaultVal; if(typeof(jQuery) != "undefined" &amp;&amp; jQuery().chosen) { jQuery('#'+id).chosen(); } w.Oby.fireAjax('hikashop.stateupdated', {id: id, elem: stateSelect}); }); }, optionValueIndexOf: function(options, value) { for(var i = options.length - 1; i &gt;= 0; i--) { if(options[i].value == value) return i; } return -1; }, getOffset: function(el) { var x = 0, y = 0; while(el &amp;&amp; !isNaN( el.offsetLeft ) &amp;&amp; !isNaN( el.offsetTop )) { x += el.offsetLeft - el.scrollLeft; y += el.offsetTop - el.scrollTop; el = el.offsetParent; } return { top: y, left: x }; }, dataStore: function(name, value) { if(localStorage) { localStorage.setItem(name, value); } else { var expire = new Date(); expire.setDate(expire.getDate() + 5); document.cookie = name+"="+value+"; expires="+expire; } }, dataGet: function(name) { if(localStorage) { return localStorage.getItem(name); } if(document.cookie.length &gt; 0 &amp;&amp; document.cookie.indexOf(name+"=") != -1) { var s = name+"=", o = document.cookie.indexOf(s) + s.length, e = document.cookie.indexOf(";",o); if(e == -1) e = document.cookie.length; return unescape(document.cookie.substring(o, e)); } return null; }, setArrayDisplay: function(fields, displayValue) { var d = document, e = null; for(var i = 0; i &lt; fields.length; i++) { e = d.getElementById(fields[i]); if(e) e.style.display = displayValue; } }, ready: function(fct) { var w = window, d = w.document; if(w.jQuery !== undefined) { jQuery(d).ready(fct); } else if(window.addEvent) { w.addEvent("domready", fct); } else w.Oby.ready(fct); } }; window.hikashop = hikashop; if(oldHikaShop &amp;&amp; oldHikaShop instanceof Object) { for (var attr in oldHikaShop) { if (obj.hasOwnProperty(attr) &amp;&amp; !window.hikashop.hasOwnProperty(attr)) window.hikashop[attr] = obj[attr]; } } var nameboxes = { simpleSearch: function(id, el) { var d = document, s = d.getElementById(id+"_span"); if(typeof(el) == "string") el = d.getElementById(el); s.innerHTML = el.value; window.oTrees[id].search(el.value); el.style.width = s.offsetWidth + 30 + "px"; }, advSearch: function(id, el, url, keyword, min) { var d = document, s = d.getElementById(id+"_span"); s.innerHTML = el.value; if(el.value.length &lt; min) { if(!window['orign_data_'+id]) { window.oTrees[id].lNodes = []; window.oTrees[id].lNodes[0] = new window.oNode(0,-1); window.oTrees[id].load(window['data_'+id]); window.oTrees[id].render(); window['orign_data_'+id] = true; } window.oTrees[id].search(el.value); } else { window.Oby.xRequest( url.replace(keyword, el.value), null, function(xhr,params) { window['orign_data_'+id] = false; window.oTrees[id].lNodes = []; window.oTrees[id].lNodes[0] = new window.oNode(0,-1); var json = window.Oby.evalJSON(xhr.responseText); window.oTrees[id].load(json); window.oTrees[id].render(); }, function(xhr, params) { } ); } el.style.width = s.offsetWidth + 30 + "px"; }, focus: function(id, el) { var d = document, c = d.getElementById(id); e = d.getElementById(id+"_otree"); if(typeof(el) == "string") el = d.getElementById(el); el.focus(); window.oTrees[id].search(el.value); if(e) { e.style.display = ""; var f = function(evt) { var e = d.getElementById(id+"_otree"); if (!evt) var evt = window.event; var trg = (window.event) ? evt.srcElement : evt.target; while(trg != null) { if(trg == el &#124;&#124; trg == e &#124;&#124; trg == c) return; trg = trg.parentNode; } e.style.display = "none"; window.Oby.removeEvent(document, "mousedown", f); }; window.Oby.addEvent(document, "mousedown", f); } }, clean: function(id, el, text) { var d = document, s = d.getElementById(id+"_valuetext"), h = d.getElementById(id+'_valuehidden'); s.innerHTML = text; h.value = ''; window.Oby.cancelEvent(); }, callbackFct: function(t,url,keyword,tree,node,ev) { var o = window.Oby, n = null; o.xRequest( url.replace(keyword, node.value), null, function(xhr,params) { var json = o.evalJSON(xhr.responseText); if(json.length &gt; 0) { var s = json.length; for(var i = 0; i &lt; s; i++) { n = json[i]; t.add(node.id, n.status, n.name, n.value, n.url, n.icon); } t.update(node); if(t.selectOnOpen) { var n = t.find(t.selectOnOpen); if(n) { t.sel(n); } t.selectOnOpen = null; } } else { t.emptyDirectory(node); } }, function(xhr, params) { t.add(node.id, 0, "error"); t.update(node); } ); return false; } }; window.nameboxes = nameboxes; })(); if(window.jQuery &amp;&amp; typeof(jQuery.noConflict) == "function" &amp;&amp; !window.hkjQuery) { window.hkjQuery = jQuery.noConflict(); }

Last edit: 12 years 5 months ago by [phamosa](/forum/user/7861-phamosa "View phamosa's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtL2NoZWNrb3V0Lzg2ODI3MC1maW5pc2gtYnV0dG9uLWRvZXMtbm90LXJlZGlyZWN0P3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86584
- Thank you received: 14325
-
-

12 years 5 months ago [\#159520](#159520) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[FINISH Button does not redirect](/forum/27-checkout/868270-finish-button-does-not-redirect#159520 "-- url of the page with the problem -- :   www.rufrecords.de  -- HikaShop version -- : 2.3.0 -- Joomla version -- : x2.5.19 -- PHP version -- : 5.4.9 -- Browser(s) name and version -- : Firefox or Chrome  The FINISH Button at the end of the checkout flow does not work, the page loads again but does not do the checkout and does not forward the order.  Here is a screenshot of the checkout flow:")*

Hi,

The solution of cbadmin is probably different from the solution you need because the cause of the problem is probably different.
Please follow the instructions I provided here and let us know what you find:
[ www.hikashop.com/forum/checkout/868270-f...redirect.html#156273](http://www.hikashop.com/forum/checkout/868270-finish-button-does-not-redirect.html#156273)

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtL2NoZWNrb3V0Lzg2ODI3MC1maW5pc2gtYnV0dG9uLWRvZXMtbm90LXJlZGlyZWN0P3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[phamosa](/forum/user/7861-phamosa "View phamosa's Profile")**
- [![phamosa's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/gallery/guitar.gif)](/forum/user/7861-phamosa "View phamosa's Profile") Topic Author
- [ Offline](/forum/user/7861-phamosa)

Less More

- Posts: 65
- Thank you received: 0
-
-

12 years 5 months ago [\#159583](#159583) by [phamosa](/forum/user/7861-phamosa "View phamosa's Profile")  Replied by *[phamosa](/forum/user/7861-phamosa "View phamosa's Profile")* on topic *[FINISH Button does not redirect](/forum/27-checkout/868270-finish-button-does-not-redirect#159583 "-- url of the page with the problem -- :   www.rufrecords.de  -- HikaShop version -- : 2.3.0 -- Joomla version -- : x2.5.19 -- PHP version -- : 5.4.9 -- Browser(s) name and version -- : Firefox or Chrome  The FINISH Button at the end of the checkout flow does not work, the page loads again but does not do the checkout and does not forward the order.  Here is a screenshot of the checkout flow:")*

Hi Nicolas,
I turned on the Debug Mod but i don't know what to with it then. on the frontend I get this DEBUG frame on every module but when i click the FINISH button, nothing changes in these debug frames.
sorry, but i'm really not an expert..

would you like to have an access to the site (by email?)

thanks
carolin

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtL2NoZWNrb3V0Lzg2ODI3MC1maW5pc2gtYnV0dG9uLWRvZXMtbm90LXJlZGlyZWN0P3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[phamosa](/forum/user/7861-phamosa "View phamosa's Profile")**
- [![phamosa's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/gallery/guitar.gif)](/forum/user/7861-phamosa "View phamosa's Profile") Topic Author
- [ Offline](/forum/user/7861-phamosa)

Less More

- Posts: 65
- Thank you received: 0
-
-

12 years 5 months ago [\#159677](#159677) by [phamosa](/forum/user/7861-phamosa "View phamosa's Profile")  Replied by *[phamosa](/forum/user/7861-phamosa "View phamosa's Profile")* on topic *[FINISH Button does not redirect](/forum/27-checkout/868270-finish-button-does-not-redirect#159677 "-- url of the page with the problem -- :   www.rufrecords.de  -- HikaShop version -- : 2.3.0 -- Joomla version -- : x2.5.19 -- PHP version -- : 5.4.9 -- Browser(s) name and version -- : Firefox or Chrome  The FINISH Button at the end of the checkout flow does not work, the page loads again but does not do the checkout and does not forward the order.  Here is a screenshot of the checkout flow:")*

hi nicolas, it is REALLY urgent, the shop does not work at all.. could you please have a look why the checkout does not work anymore?
best
carolin

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtL2NoZWNrb3V0Lzg2ODI3MC1maW5pc2gtYnV0dG9uLWRvZXMtbm90LXJlZGlyZWN0P3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86584
- Thank you received: 14325
-
-

12 years 5 months ago [\#159715](#159715) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[FINISH Button does not redirect](/forum/27-checkout/868270-finish-button-does-not-redirect#159715 "-- url of the page with the problem -- :   www.rufrecords.de  -- HikaShop version -- : 2.3.0 -- Joomla version -- : x2.5.19 -- PHP version -- : 5.4.9 -- Browser(s) name and version -- : Firefox or Chrome  The FINISH Button at the end of the checkout flow does not work, the page loads again but does not do the checkout and does not forward the order.  Here is a screenshot of the checkout flow:")*

Hi,

I did a test but creating an order works fine on your website. I was able to click on the Finish button and then I saw the message of the bank transfer payment method telling me to proceed with the payment.
For the credit card payment method, I didn't test since obviously I don't want the payment to be made, but since it's a third party payment method that we didn't develop, if there is a problem with it on the checkout, you need to see that with the developer of the payment plugin.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtL2NoZWNrb3V0Lzg2ODI3MC1maW5pc2gtYnV0dG9uLWRvZXMtbm90LXJlZGlyZWN0P3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

Board Categories HikaShop Install &amp; Update Product &amp; Category Display Content Creation Sales and Orders Orders management Reports &amp; Statistics Customers Checkout Payment Methods Shipping Methods Import &amp; Export (CSV, XLS…) Specific Features Affilation Taxes Wishlist Vote Carousel &amp; Slider Mass Actions Filters &amp; Search Discount &amp; Coupon Feature Request Integrations Showcase General Talk about HikaShop Development HikaShop 3.0 Beta Translation Commercial Jobs HikaShop Components HikaMarket Market: Feature requests Market: How to? Market: Bug Report HikaSerial General talk about HikaSerial Serial: Bug Report Serial: How to? Support en Français de HikaSerial (French Support) HikaSubscription HikaAuction Auction: Feature requests Auction: How to? Auction: Bug report Hikashop around the world Support en Français (French Support) Russian FAQ. Курс выживания с Hikashop. Частые вопросы и о Расширения Hikashop Наши сайты на Hikashop 日本語版サポート(Japanese Support) Thai German Archives Bug Report How to?

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.078 seconds

[Powered by](/forum/credits) [Kunena Forum](https://www.kunena.org)
