fix for html characters (see https://bugs.php.net/bug.php?id=36795)
various fixes; start adding multiple payment info elements