From 8da70a7d9da35a79834019b3dd0f2fc71b986397 Mon Sep 17 00:00:00 2001 From: irisfaraway Date: Fri, 10 Jan 2025 16:14:23 +0000 Subject: [PATCH] Update description --- .../src/__tests__/recurring-payments-processor.spec.js | 4 ++-- .../src/recurring-payments-processor.js | 2 +- .../src/services/__tests__/govuk-pay-service.spec.js | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/packages/recurring-payments-job/src/__tests__/recurring-payments-processor.spec.js b/packages/recurring-payments-job/src/__tests__/recurring-payments-processor.spec.js index 48f9e0f49..45de74f5c 100644 --- a/packages/recurring-payments-job/src/__tests__/recurring-payments-processor.spec.js +++ b/packages/recurring-payments-job/src/__tests__/recurring-payments-processor.spec.js @@ -206,7 +206,7 @@ describe('recurring-payments-processor', () => { const expectedData = { amount: 5000, - description: 'Recurring payment TODO', + description: 'The recurring card payment for your rod fishing licence', reference: transactionId, authorisation_mode: 'agreement', agreement_id: agreementId @@ -302,7 +302,7 @@ describe('recurring-payments-processor', () => { expectedData.push([ { amount: 5000, - description: 'Recurring payment TODO', + description: 'The recurring card payment for your rod fishing licence', reference: permit, authorisation_mode: 'agreement', agreement_id: '456' diff --git a/packages/recurring-payments-job/src/recurring-payments-processor.js b/packages/recurring-payments-job/src/recurring-payments-processor.js index d197b8167..6030d9ee4 100644 --- a/packages/recurring-payments-job/src/recurring-payments-processor.js +++ b/packages/recurring-payments-job/src/recurring-payments-processor.js @@ -74,7 +74,7 @@ const prepareStartDate = permission => { const preparePayment = (agreementId, transaction) => { const result = { amount: Math.round(transaction.cost * 100), - description: 'Recurring payment TODO', + description: 'The recurring card payment for your rod fishing licence', reference: transaction.id, authorisation_mode: 'agreement', agreement_id: agreementId diff --git a/packages/recurring-payments-job/src/services/__tests__/govuk-pay-service.spec.js b/packages/recurring-payments-job/src/services/__tests__/govuk-pay-service.spec.js index 032052418..92780c9f7 100644 --- a/packages/recurring-payments-job/src/services/__tests__/govuk-pay-service.spec.js +++ b/packages/recurring-payments-job/src/services/__tests__/govuk-pay-service.spec.js @@ -13,7 +13,7 @@ describe('govuk-pay-service', () => { const unique = Symbol('payload') const payload = { amount: '100', - description: 'Recurring payment', + description: 'The recurring card payment for your rod fishing licence', reference: unique } await sendPayment(payload)