alphagov / pay-toolbox

Internal administrative tools service for GOV.UK Pay products.
MIT License
11 stars 6 forks source link

PP-11212 Add dedicated MOTO settings pages #1776

Closed stephencdaly closed 6 months ago

stephencdaly commented 6 months ago

Add a settings page for enabling/disabling the various MOTO options:

Add a separate page for managing the Agent-initiated MOTO payment link

Both of these settings pages are accessed by clicking "Manage" links in the card settings summary table for the gateway account.

Have moved all controllers for MOTO settings into a separate module - moto.http.ts, as gateway_accounts.http.ts was getting unweildy.

You get to new settings page by clicking "Manage" links on the gateway account details page

Screenshot 2024-01-12 at 10 18 21

This is what it looks like with all settings enabled

Screenshot 2024-01-12 at 10 30 18

Page for managing MOTO settings

Screenshot 2024-01-12 at 10 18 35

Page for managing Agent-initiated MOTO link

Screenshot 2024-01-12 at 10 19 14

And what it looks like once the payment link has been added

Screenshot 2024-01-12 at 10 20 29

Show a notification banner if Agent-initiated MOTO is enabled, but MOTO is not enabled for account

Screenshot 2024-01-12 at 10 29 27