Skip to content

Commit

Permalink
Merge pull request #654 from alphagov/BAU-recurring_payment_changes
Browse files Browse the repository at this point in the history
PP-10909 recurring payment changes
  • Loading branch information
SandorArpa authored Jul 19, 2023
2 parents 86d222d + 5e4361d commit 9565b24
Show file tree
Hide file tree
Showing 7 changed files with 59 additions and 14 deletions.
1 change: 1 addition & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
source/images
*.txt.erb
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
# Pay Product Page

## Raising a PR

- Before raising a PR, you need to run prettier (`npm run format`), then add all files to your commit
- PR builds needs to be approved in percy (https://percy.io) if they contain any changes under the src dir (performance data update does not require percy approval)

## Running Locally

- `bundle install` to install middleman and its dependencies
Expand Down
1 change: 1 addition & 0 deletions source/api-integration.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ title: API integration
<p class="govuk-body">You’ll be able to:</p>
<ul class="govuk-list govuk-list--bullet">
<li>take payments using debit cards, credit cards or digital wallets</li>
<li>take recurring payments</li>
<li>give full or partial refunds</li>
<li>report on payments manually with CSV downloads or automatically via our API</li>
<li>apply custom branding on payment pages</li>
Expand Down
15 changes: 2 additions & 13 deletions source/direct-debit.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -11,19 +11,8 @@ title: Direct Debit

<div class="govuk-grid-column-two-thirds">
<h1 class="govuk-heading-l">Direct Debit on GOV.UK&nbsp;Pay</h1>
<p class="govuk-body">Our Direct Debit private beta is currently paused, but we’re exploring options for another round.</p>
<p class="govuk-body">
Contact
<%=
mail_to '[email protected]',
'[email protected]',
'data-click-events' => '',
'data-click-category' => 'Content',
'data-click-action' => 'Email link clicked',
:class => 'govuk-link'
%>
with questions about Direct Debit or if you’re interested in taking Direct Debit payments on GOV.UK&nbsp;Pay.
</p>
<p class="govuk-body">You can now <%= link_to 'take recurring payments', 'recurring-payments', class: 'govuk-link' %> on GOV.UK Pay.</p>
<p class="govuk-body">GOV.UK Pay will not be implementing Direct Debit in the near future.</p>
</div>
</div>
</main>
Expand Down
1 change: 1 addition & 0 deletions source/partials/_features-sub-nav.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
'Cost benefits of Pay' => ['cost-benefits-of-pay', true],
'GOV.UK payment pages' => ['govuk-payment-pages', true],
'API integration' => ['api-integration', true],
'Recurring payments' => ['recurring-payments', true],
'Take payments by phone or post' => ['take-payments-by-phone-or-post', true],
'GOV.UK Pay’s Payment Service Provider' => ['payment-service-provider', false],
'Direct Debit' => ['direct-debit', false],
Expand Down
44 changes: 44 additions & 0 deletions source/recurring-payments.html.erb
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
---
title: Recurring payments
---

<div class="govuk-width-container">
<%= partial 'partials/breadcrumb.html.erb' %>

<main id="main-content" class="govuk-main-wrapper" role="main">
<div class="govuk-grid-row">
<%= partial 'partials/features-sub-nav.html.erb', locals: { current_page: current_page.data.title } %>

<div class="govuk-grid-column-two-thirds">
<h1 class="govuk-heading-l">Recurring payments</h1>

<p class="govuk-body">
GOV.UK&nbsp;Pay is still developing recurring payments so this feature is only available to a limited number of services at the moment.
<%= mail_to '[email protected]', 'Contact us', class: 'govuk-link' %> if you’re interested in taking recurring payments.
</p>

<p class="govuk-body">
If you are a beta service, you can take recurring payments from a user using GOV.UK Pay. The user consents to making recurring payments, enters into an ‘agreement’ with
your service, and provides their payment details. The agreement allows you to take further payments without the user interacting with your service again.
</p>

<p class="govuk-body">
Your service has
<%=
link_to 'additional responsibilities', 'https://docs.payments.service.gov.uk/recurring_payments/#1-understand-what-your-service-is-responsible-for', class: 'govuk-link'
%>
when taking recurring payments. You’re responsible for:
</p>
<ul class="govuk-list govuk-list--bullet">
<li>managing the relationship between your service and users</li>
<li>providing terms and conditions to users</li>
<li>authenticating users</li>
<li>getting and recording users’ consent for you to take recurring payments</li>
<li>managing payment schedules</li>
<li>telling users when you’re going to take or change payments</li>
<li>letting users amend their recurring payments</li>
</ul>
</div>
</div>
</main>
</div>
6 changes: 5 additions & 1 deletion source/using-govuk-pay.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,11 @@ title: Using GOV.UK Pay
</p>
<p class="govuk-body">With GOV.UK&nbsp;Pay you can:</p>
<ul class="govuk-list govuk-list--bullet">
<li>take debit card, credit card and digital wallets payments via our API integration or payment links functionality</li>
<li>
take debit card, credit card and digital wallets payments via our API integration or payment links functionality
<%= link_to 'take recurring payments', 'recurring-payments', class: 'govuk-link' %>
for ongoing services that automatically renew, for example licensing
</li>
<li>
provide assisted digital methods by taking debit and credit card payments by telephone, or post with
<%= link_to 'MOTO payment', 'take-payments-by-phone-or-post', class: 'govuk-link' %>
Expand Down

0 comments on commit 9565b24

Please sign in to comment.