Did you use the block manager to create the block? Or how have you deployed the code?
The symptoms you are describing are that it's being put into a Smarty variable and then that variable is being displayed without the 'nofilter' modifier. I.e. the variable syntax should be:
EZ I was careful to avoid the blocks that contained smarty support. I used the Banners Block and the "any HTML content" block and each time created a new block to work with.
Are you suggesting that I have to change something in the cart/block settings or something in the PayPal code has to change?
ecom- I just tried the html with smarty support and got this
Syntax error in template "264270203fa23c3ee031facb3cb6839260d6dbe8" on line 2 "(function (d, t) {"use strict";var s = d.getElementsByTagName(t)[0], n = d.createElement(t);n.src = "//www.paypalobjects.com/upstream/bizcomponents/js/merchant.js";s.parentNode.insertBefore(n, s);}(document, "script"));" - Unexpected ";", expected one of: "}"
I have tried EZ's code -no results. I then added no results.
I changed to a black background PayPal code and then I got an error code that I can't figure out -but at least I have something.
Can you tell me what the error code tells me to do?
The PP code is
The error code is
Syntax error in template "3e4e8b68a1b25a407a60ad385b2d78a15b7db720" on line 2 "(function (d, t) {"use strict";var s = d.getElementsByTagName(t)[0], n = d.createElement(t);n.src = "//www.paypalobjects.com/upstream/bizcomponents/js/merchant.js";s.parentNode.insertBefore(n, s);}(document, "script"));" - Unexpected ";", expected one of: "}"
I tried changing wrappers, doesn't help.
I can't believe that PayPal would create such a difficult code. I had one of their technicians on the line for an hour and he couldn't help me. He says that he tried it on his end and it worked.
There must be someone else out there that uses PayPal and their banner. Am I the only one with the problem?
It is a smarty error and will not happen if you either user 'literal' tags or you break the code down so that '{' an '}' don't appear on the same lines. It has nothing to do with paypal.
Any time you see the phrase "error in template" in an error message, that is a smarty error and not related to the code itself.