-
Notifications
You must be signed in to change notification settings - Fork 13
Product and payment method localisation for newspaper and Guardian Weekly
We only offer newspaper delivery to a selection of postcodes in the Greater London area, and only offer collection (via the i-movo subscription card) in the UK and the Isle of Man. We only show the UK and Isle of Man in the country drop-down for either the delivery or billing address, and we validate the postcode before form submission if the user has selected home delivery to check that it's one we can deliver to.
We only offer the option to pay via direct debit if the user is paying in GBP and their billing address country code is GB, ie. they are in the UK proper, not the Isle of Man. It is possible to use direct debit to purchase a subscription card for delivery to the Isle of Man, as long as the billing address is in the UK proper.
We deliver to a wide range of countries documented in weeklyDeliverableCountries.ts, which forms the basis for the list of options displayed to users in the country drop-down for delivery and billing addresses. The user's selected delivery country affects the following aspects of their product selection:
- Their country group (USA, Europe, etc)
- The fulfilment option (Domestic, meaning fulfilment by a local partner, or RestOfWorld, meaning fulfilment by international post or courier)
- The currency in which they must pay
These all contribute to the actual display price that we show on the checkout.
The user will always pay in the currency for the country group to which their delivery address country belongs. So, for example, for delivery to Sweden the user must pay in Euros. Sweden itself does not use the Euro, but Sweden belongs to our EURCountries
country group for which the payment currency is the Euro. The country of the billing address has no effect on the currency or any other aspect of the product price.
We apply the same rules as the newspaper checkout with regards to payment options- if the user is paying in GBP and their billing address is in the UK proper, they are shown the option to pay via direct debit, no matter if their delivery country is a non-UK country/region in our GBPCountries
country group such as the Isle of Man, Jersey, Gibraltar, etc. Otherwise they will only see the option to pay with a credit/debit card, or via PayPal (depending on the status of our payment method switches).
- Redux Glossary
- Why Redux Toolkit?
- Writing state slices with Redux Toolkit
- Handling action side effects in Redux
- Presentational and Container Components
- Scoped actions and reducers
- Server Side Rendering
- Form validation
- CI build process
- Post deployment testing
- Post deployment test runbook
- TIP Real User Testing
- Code testing and validation
- Visual testing
- Testing Apple Pay locally
- Test Users
- Deploying to CODE
- Automated IT tests
- Deploying Fastly VCL Snippets
- Archived Components
- Authentication
- Switchboard
- How to make a fake contribution
- The epic and banner
- Environments
- Tech stack
- Supported browsers
- Contributions Internationalisation
- Payment method internationalisation in Guardian Weekly
- Print fulfilment/delivery
- Updating the acquisitions model
- Runscope testing
- Scala Steward for dependency management
- Alarm Investigations
- Ticker data