You received a one-time payment from {{#if memberData}}
+ {{donation.name}} ({{donation.email}})
+ {{else}}
+ {{donation.name}} ({{donation.email}})
+ {{/if}}
+ :
+
+
+
+
+
{{donation.amount}}
+
+
+
+
diff --git a/ghost/staff-service/lib/email-templates/donation.txt.js b/ghost/staff-service/lib/email-templates/donation.txt.js
index 26189b8302..39dc293b2d 100644
--- a/ghost/staff-service/lib/email-templates/donation.txt.js
+++ b/ghost/staff-service/lib/email-templates/donation.txt.js
@@ -1,9 +1,9 @@
module.exports = function (data) {
// Be careful when you indent the email, because whitespaces are visible in emails!
return `
-Congratulations!
+Cha-ching!
-You received a donation of ${data.donation.amount} from "${data.donation.name}".
+You received a one-time payment from of ${data.donation.amount} from "${data.donation.name}".
---
diff --git a/ghost/staff-service/test/staff-service.test.js b/ghost/staff-service/test/staff-service.test.js
index ca4879a995..c2a1ec1c43 100644
--- a/ghost/staff-service/test/staff-service.test.js
+++ b/ghost/staff-service/test/staff-service.test.js
@@ -925,7 +925,7 @@ describe('StaffService', function () {
mailStub.calledOnce.should.be.true();
mailStub.calledWith(
- sinon.match.has('html', sinon.match('donation of €15.00 from Simon'))
+ sinon.match.has('html', sinon.match('One-time payment received: €15.00 from Simon'))
).should.be.true();
});
});