The original error is:
I applied this fix as suggested here. But I get this new error and not sure what is wrong with the endfor it's complaining about:Fatal error: Uncaught Twig_Error_Syntax: Unexpected token "string" of value "Completed" ("name" expected) in "extension/payment/pp_express_transaction.twig" at line 25. in /home/<removed>/public_html/system/library/template/Twig/TokenStream.php:87 Stack trace: #0 /home/<removed>/public_html/system/library/template/Twig/Extension/Core.php(304): Twig_TokenStream->expect(5) #1 /home/<removed>/public_html/system/library/template/Twig/Extension/Core.php(277): Twig_Extension_Core->getTest(Object(Twig_Parser), 25) #2 /home/<removed>/public_html/system/library/template/Twig/ExpressionParser.php(48): Twig_Extension_Core->parseTestExpression(Object(Twig_Parser), Object(Twig_Node_Expression_GetAttr)) #3 /home/<removed>/public_html/system/library/template/Twig/ExpressionParser.php(78): Twig_ExpressionParser->parseExpression() #4 /home/<removed>/public_html/system/library/template/Twig/ExpressionParser.php(41): Twig_ExpressionParser->getPrimary() #5 /home/<removed>/public_html/system/library/template/Twig/ExpressionParser.php(50): Twig_ExpressionPa in /home/<removed>/public_html/system/library/template/Twig/TokenStream.php on line 87
ThanksFatal error: Uncaught Twig_Error_Syntax: Unexpected "endfor" tag (expecting closing tag for the "if" tag defined near line 24) in "extension/payment/pp_express_transaction.twig" at line 31. in /home/<removed>/public_html/system/library/template/Twig/Parser.php:172 Stack trace: #0 /home/<removed>/public_html/system/library/template/Twig/TokenParser/If.php(34): Twig_Parser->subparse(Array) #1 /home/<removed>/public_html/system/library/template/Twig/Parser.php(187): Twig_TokenParser_If->parse(Object(Twig_Token)) #2 /home/<removed>/public_html/system/library/template/Twig/TokenParser/For.php(40): Twig_Parser->subparse(Array) #3 /home/<removed>/public_html/system/library/template/Twig/Parser.php(187): Twig_TokenParser_For->parse(Object(Twig_Token)) #4 /home/<removed>/public_html/system/library/template/Twig/TokenParser/If.php(34): Twig_Parser->subparse(Array) #5 /home/<removed>/public_html/system/library/template/Twig/Parser.php(187): Twig_TokenParser_If->parse(Object(Twig_Token)) #6 /home/<removed>/public_html/system/library/template/Twig/Pa in /home/<removed>/public_html/system/library/template/Twig/Parser.php on line 172