Didjou Posted July 31, 2015 Share Posted July 31, 2015 Hi i'm on presta 1.6.1.0 and used the default bootstrap ( only change the css ) and have some problems with Paypal Eu from a long time but today with 1.6.1.0 it's very complicated too have apparently a good version of Paypal from prestashop today very persisting problems to use correctly paypal i'm using Last version of Paypal EU v3.10.1 and being on PayPal Intégral Evolution and also activated Paypal Login When we are on the order opc advanced ( because module Eu is activated ) many problems appears first Paypal login doesn't work - not appears and failed Paypal paiement doesen't work correctly when choosing it work sometimes but not always it appears when i check on google dev & Safari dev : Some errors on Js appears on api and quick-order : TypeError: null is not an object (evaluating 'document.body.querySelectorAll') on api.js [Error] Error: Mismatched anonymous define() module: function ($) {var j=$.scrollTo=function(a,b,c){return $(window).scrollTo(a,b,c)};j.defaults={axis:'xy',duration:0,limit:!0};j.window=function(a){return $(window)._scrollable()};$.fn._scrollable=function(){return this.map(function(){var a=this,isWin=!a.nodeName||$.inArray(a.nodeName.toLowerCase(),['iframe','#document','html','body'])!=-1;if(!isWin)return a;var b=(a.contentWindow||a).document||a.ownerDocument||a;return/webkit/i.test(navigator.userAgent)||b.compatMode=='BackCompat'?b.body:b.documentElement})};$.fn.scrollTo=function(f,g,h){if(typeof g=='object'){h=g;g=0}if(typeof h=='function')h={onAfter:h};if(f=='max')f=9e9;h=$.extend({},j.defaults,h);g=g||h.duration;h.queue=h.queue&&h.axis.length>1;if(h.queue)g/=2;h.offset=both(h.offset);h.over=both(h.over);return this._scrollable().each(function(){if(f==null)return;var d=this,$elem=$(d),targ=f,toff,attr={},win=$elem.is('html,body');switch(typeof targ){case'number':case'string':if(/^([+-]=?)?\d+(\.\d+)?(px|%)?$/.test(targ)){targ=both(targ);break}targ=win?$(targ):$(targ,this);if(!targ.length)return;case'object':if(targ.is||targ.style)toff=(targ=$(targ)).offset()}var e=$.isFunction(h.offset)&&h.offset(d,targ)||h.offset;$.each(h.axis.split(''),function(i,a){var b=a=='x'?'Left':'Top',pos=b.toLowerCase(),key='scroll'+b,old=d[key],max=j.max(d,a);if(toff){attr[key]=toff[pos]+(win?0:old-$elem.offset()[pos]);if(h.margin){attr[key]-=parseInt(targ.css('margin'+)||0;attr[key]-=parseInt(targ.css('border'+b+'Width'))||0}attr[key]+=e[pos]||0;if(h.over[pos])attr[key]+=targ[a==x'?'width':'height]()*h.over[pos]}else{var c=targ[pos];attr[key]=c.slice&&c.slice(-1)=='%'?parseFloat©/100*max:c}if(h.limit&&/^\d+$/.test(attr[key]))attr[key]=attr[key]<=0?0:Math.min(attr[key],max);if(!i&&h.queue){if(old!=attr[key])animate(h.onAfterFirst);delete attr[key][spam-filter]);animate(h.onAfter);function animate(a){$elem.animate(attr,g,h.easing,a&&function(){a.call(this,targ,h)})[spam-filter]).end()};j.max=function(a,{var c=b=='x'?'Width':'Height',scroll='scroll'+c;if(!$(a).is('html,body'))return a[scroll]-$(a)[c.toLowerCase()]();var d='client'+c,html=a.ownerDocument.documentElement,body=a.ownerDocument.body;return Math.max(html[scroll],body[scroll])-Math.min(html[d],body[d])};function both(a){return $.isFunction(a)||$.isPlainObject(a)?a:{top:a,left:a[spam-filter]return j;} http://requirejs.org/docs/errors.html#mismatch onError (api.js, line 2) C (api.js, line 2) K (api.js, line 2) f (api.js, line 2) requirejs (api.js, line 2) config (api.js, line 2) (fonction anonyme) (api.js, line 4) (fonction anonyme) (api.js, line 5) global code (api.js, line 8) On Api.js and SyntaxError: Unexpected end of script On QUick Order I have reinstall Paypal module turn on the cache reinstall the initial theme default-bootstrap (without changing the css ) and still the same ... did you some ideas of what's the problem ? is not with the EU module ( on the advanced order, it still impossible to translate the line : I agree to the terms .... + the read links ... thanks and best regards =) 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