Hey guys,

kindly let you know that the built-in terms and conditions check in the 
checkout process does not work (always accepted) if you use the shipped PayOne 
module with OXID (EE, maybe also PE).
The mistake is in the 'fcPayOneOrderView.php' which is shipped with in OXID EE 
(maybe also PE) on line 347:

if(parent::_validateTermsAndConditions() === true); {

Should be:
if(parent::_validateTermsAndConditions() === true) {


The semicolon ignores the condition so that the 'if-block' (which actually does 
not belong to the if) is executed always!

Also see my reported issue at:
https://bugs.oxid-esales.com/view.php?id=6568

Have a nice day, cheers,
Jens-Christopher Trant



[Closed]<http://www.closed.com/>


Closed GmbH  |  Stra├čenbahnring 6  |  20251 Hamburg  |  Germany
T +49 40 441840 865  |  M +49 151 28439981  |  E 
jens.tr...@closed.com<mailto:jens.tr...@closed.com>
closed.com<http://closed.com>  |  
facebook.com/closed<https://www.facebook.com/closed> 
<http://www.facebook.com/closed>  |  instagram.com/closedofficial 
<https://www.instagram.com/closedofficial/>

Amtsgericht Hamburg HRB 53868 | Umsatzsteuer-Ident.-Nr.: DE 164980577
GF: Gordon Giers, Til Nadler, Hans Redlefsen

Reply via email to