Looking at the code, paymentsEnabled probably isn't what you think it is. paymentsEnabled is a per link setting (so you can only use it in link.html, which you are), and is only true if the current user is the linkOwner, payments is enabled and it isn't an unlimited link.
Adrian