syntax error, unexpected T_STRING in ipn_main_handler.php
Error at checkout with paypal express after upgrading to 1.3.9g.
Error:
Parse error: syntax error, unexpected T_STRING in
/home/mydomain/ipn_main_handler.php on line 452
I have checked the 1.3.9g version of the file against the previous version, no difference in line 452 (the last line).
I have to replace with previous version now because customers are waiting to check out. Please advise.
Re: [1.3.9g] syntax error, unexpected T_STRING in ipn_main_handler.php
to add, it worked fine when I replaced with the old file.
Re: [1.3.9g] syntax error, unexpected T_STRING in ipn_main_handler.php
Make sure that you updated all of the PayPal files:
/includes/modules/payment/paypal/tpl_ec_button.php
/includes/modules/payment/paypaldp.php
/ipn_main_handler.php
Re: syntax error, unexpected T_STRING in ipn_main_handler.php
That error message is not a result of something wrong with the ipn_main_handler.php file in v1.3.9g.
You must have an incomplete upload of one or more files.
Using the file from the previous version is likely to cause transaction problems.
Re: [1.3.9g] syntax error, unexpected T_STRING in ipn_main_handler.php
Quote:
Originally Posted by
Ajeh
Make sure that you updated all of the PayPal files:
/includes/modules/payment/paypal/tpl_ec_button.php
/includes/modules/payment/paypaldp.php
/ipn_main_handler.php
Thank you, I left out /includes/modules/payment/paypal/tpl_ec_button.php. It's solved now. :clap:
Re: syntax error, unexpected T_STRING in ipn_main_handler.php
Thanks for the update that you were able to fix this by loading the:
/includes/modules/payment/paypal/tpl_ec_button.php