Jump to content

<SOLVED> Server Error 500 at Confirmation on PayPal Europe


hcfovargue

Recommended Posts

I am running PayPal v3.10.2 (Europe) and Prestashop 1.6.0.8

 

I am having some issues with my Paypal module. At the final stage of the purchase, after you are logged into Paypal and you have clicked to confirm the order, the next page is a Server Error 500. 

 

I have look at similar issues on many other forum threads and have tried many different things. All Folders are 755 and all files are 644. Help!

 

Thanks!

Henry

 

===

 

Step 1 URL: (Confirm Screen)

"http://ww w.charmedknitting.co.uk/module/paypal/confirm?get_confirmation=1"

 

Step 2: (Error Screen)

"http://ww w.charmedknitting.co.uk/module/paypal/submit?key=abc123&id_module=0001&id_cart=0001&id_order=0001"

 

Step 1 Photo:

paypalstep1.png

 

Step 2 Screen:

paypalstep2.png

Edited by hcfovargue (see edit history)
Link to comment
Share on other sites

Really helpful, thanks! Fixed it :)

 

So, I enabled error reporting. I found that a bit of code I had inserted to track Ad conversion was causing the issue. See below. So, steps for future similar issues:

 

1) Enable error reporting (see post above)

2) Follow the code... :)

 

Henry

 

<begin message>

Fatal error: Uncaught exception 'SmartyCompilerException' with message 'Syntax Error in template "/home/sites/charmedknitting.co.uk/public_html/modules/yotpo/views/templates/front/conversionImage.tpl" on line 6 "<!-- Facebook Conversion Code for yotpo_checkouts_pixel --> <script>(function() { var _fbq = window._fbq || (window._fbq = []); if (!_fbq.loaded) { var fbds = document.createElement('script'); fbds.async = true; fbds.src = '//connect.facebook.net/en_US/fbds.js'; var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(fbds, s); _fbq.loaded = true; } })(); window._fbq = window._fbq || []; window._fbq.push(['track', '123', {'value':'0.01','currency':'USD'}]); </script> <noscript><img height="1" width="1" alt="" style="display:none" src="https://www.facebook.com/tr?ev=123&cd[value]=0.01&cd[currency]=USD&noscript=1" /></noscript>" - Unexpected &quo in /home/sites/charmedknitting.co.uk/public_html/tools/smarty/sysplugins/smarty_internal_templatecompilerbase.php on line 667

<end message>

Edited by hcfovargue (see edit history)
  • Like 1
Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...