templates and payment types