Fixed i18n in templates. Added support for JSON block script configuration. Improved callback handling for invoice status changes.