Creating a payment from template