From e9f2522abda8b04c24882847897d45814033e90d Mon Sep 17 00:00:00 2001 From: Ben Thorner Date: Tue, 31 May 2022 17:32:41 +0100 Subject: [PATCH] Document +882 numbers are not supported These are "countryless" phone numbers used by e.g. satellite phone providers [^1]. We decided not to support them for now because: - The use case is low: only one service is asking for this prefix. - MMG will charge at 4x for them but apparently they cost more. We can't put this "negative" data in the usual place [^2] because this would _enable_ sending via this number. Until we have more cases like this it's easiest to just tack on this fake info. [^1]: https://en.wikipedia.org/wiki/International_Networks_(country_code) [^2]: https://github.com/alphagov/notifications-utils/blob/ca2506c6a626d25f76a25c4a94b7288e1c3aa2b5/notifications_utils/recipients.py#L569 --- app/templates/views/pricing/index.html | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/app/templates/views/pricing/index.html b/app/templates/views/pricing/index.html index 3ffb35e9d..ef29a5785 100644 --- a/app/templates/views/pricing/index.html +++ b/app/templates/views/pricing/index.html @@ -197,7 +197,7 @@
{% call mapping_table( - caption='Letter pricing', + caption='International text message rates', field_headings=['Country code', 'Country', 'Cost multiplier'], field_headings_visible=True, caption_visible=False @@ -213,10 +213,16 @@ {{ text_field('{} ×'.format(billable_units)|safe) }} {% endcall %} {% endfor %} + + {% call row() %} + {{ text_field('+882') }} + {% call field() %}Worldwide{% endcall %} + {{ text_field('Not supported') }} + {% endcall %} {% endcall %}
- {% endset %} + {{ govukDetails({ "summaryText": "International text message rates", "html": smsIntRates