This commits adds the possibility to update the payment reference on a payment transaction before generating XML file.