Blueprint · Fintech

Multi-currency price list

An online shop that sells the same catalogue to customers who use different currencies. Every price is converted with a rate that shows the day it was taken, rounded to a figure a shop would print on a price tag, and written the way that currency is written, including currencies with no decimal places and currencies with three. A customer pays the figure they were shown, each order records what the customer paid and what it was worth to the shop, and a refund returns exactly what the customer paid.

L3–L5

Level range

8

Sprints

41

Tasks

Backend and frontend

Built as

By the last sprint

What you’ll build

An online shop that sells in more than one currency. Every price shows the rate that made it and the day that rate was taken. Customers switch the whole list into their own currency, written the way that currency is written. A price is held while they decide, and they pay that figure even if the rate has moved. Every order records what the customer paid and what it was worth to the shop, and a refund returns exactly what the customer paid. The shop's staff load each day's rates and see every price that will change before it goes live.

What you’ll learn

A skill in every sprint

You show you have it in a pull request your team reviews, then explain it in a walkthrough.

01

A ledger you can trust

You can record credits and debits and produce a balance that is the sum of them — and explain why the balance is not a column you update, and what happens when two movements land at once.

02

Search and filtering

You can search a list by keyword, combine that with filters, and say what the database does to answer the query — including which part uses an index and which part cannot.

03

Authentication

You can register and sign in a user, keep a request authenticated without asking for the password again, and explain where the credential lives in the browser and why there rather than somewhere else.

04

Roles and permissions

You can give users different roles and have the server refuse what a role may not do — not merely hide the button — and show the refusal working against a request the interface never offered.

05

A cart that survives

You can add, change and remove items, keep the cart across a logout and login, and show a total that reflects prices as they are now.

06

Statements that reconcile

You can generate a statement for a date range that adds up, downloads, and returns the same figures when it is generated again next month.

07

Going live

Somebody who has never met you can open a URL and use the product — and you can say what is different about the copy running there, where its secrets come from, and what you do when a release turns out to be wrong.

The roadmap

8 sprints, 41 tasks

Every sprint has a goal and a set of tasks. Open a sprint to see the tasks you will pick up.

  1. Sprint 01

    A rate with a date on it

    Prices are stored exactly, every rate carries the moment it was taken, and a converted price can be traced back to the rate that made it.

    5 tasks
    1. Show the catalogue with exact prices in pounds
    2. Record every rate with its pair, figure, moment and source
    3. Show a naira price with the rate and date that made it
    4. Warn when a converted price uses an out-of-date rate
    5. Make every page show the same converted figure for a product
  2. Sprint 02

    Not every currency has pennies

    The whole list reads as prices in the currency the shopper chose, including currencies that do not have two decimal places.

    5 tasks
    1. Let the shopper choose the currency they see prices in
    2. Write every amount with its own currency's decimal places and symbol
    3. Round each converted price to a figure that looks like a price
    4. Filter the list by the prices the shopper can see
    5. Keep the order of the list the same from page to page
  3. Sprint 03

    The shop's own door

    Shop staff have accounts of their own, shoppers can have accounts too, neither can be mistaken for the other, and the price list stays open to everybody.

    4 tasks
    1. Let a shopper create an account and come back to it
    2. Let a shopper sign out properly on a shared computer
    3. Create staff accounts that the public sign-up form can never produce
    4. Keep the price list open, and keep the chosen currency through sign-in
  4. Sprint 04

    Tomorrow's rates

    Only shop staff can change a rate or a price, they see every price that is about to change before anyone else does, and the set they replace is still there afterwards.

    6 tasks
    1. Let staff enter or upload a day's rates
    2. Preview what a set of rates does to every price before it goes live
    3. Publish a set of rates all at once, or not at all
    4. Keep every past set of rates, unchanged
    5. Let staff change catalogue prices, and refuse every staff action from anyone else
    6. Let staff take back a set of rates published by mistake
  5. Sprint 05

    The figure they were shown

    A shopper is offered a total in their own currency, is told how long the offer lasts, and pays that figure even if the rate has moved since.

    5 tasks
    1. Give each shopper a basket in the currency they chose
    2. Hold the total for a stated time, and tell the shopper how long
    3. Keep a quote's total when the rates change
    4. Never charge a quote that has ended
    5. Create one order at the quoted figure, however many times Pay is pressed
  6. Sprint 06

    Two amounts, one order

    Every order records what the customer paid and what it was worth to the shop, joined by the rate that was used, and says the same thing a year later.

    5 tasks
    1. Record on each order what the customer paid and what it was worth to the shop
    2. Give the customer a receipt they can read and keep
    3. Keep every receipt exactly as it was when the order was placed
    4. Show staff a period's takings across currencies, adding up to one total
    5. Keep orders readable in a currency the shop has stopped selling in
  7. Sprint 07

    Giving back what was taken

    A refund returns exactly what the customer paid, in the currency they paid in, and the shop's books still balance afterwards.

    6 tasks
    1. Refund exactly the amount the customer paid
    2. Refund single lines so the order always clears to exactly zero
    3. Record each refund as a new entry, never an edit to the sale
    4. Show the exchange difference between a sale and its refund as its own line
    5. Pay out once when the same refund is requested twice
    6. Show the customer that they got their money back in full
  8. Sprint 08

    Where its customers are

    The shop is on the internet at its own address, pricing from rates a person loaded on purpose, and a bad release can be undone without losing an order.

    5 tasks
    1. Put the shop online at its own address
    2. Price the live shop only from rates a person loaded
    3. Keep every secret and setting out of the repository
    4. Let a bad release be undone without losing an order
    5. Tell someone when the shop is broken
The reading

Read before you build

Senior engineers read the docs before they touch the code. Every Blueprint comes with short documents on the product and its world, the kind a team hands a new hire. Read them well and you ask sharper questions and walk into every review prepared.

What you are building

A price list that is really a money product: which rate made a price, when, and what happens when the rate moves.

What an exchange rate actually is

Background you may not have: mid, bid and ask, why a rate without a time is useless, and where rates come from.

More fintech Blueprints

More to build

Not the one for you?

Every Blueprint is planned the same way, across health, shopping, money, education and more.

Browse all Blueprints
Ready?

Build multi-currency price list.

Start your free week. Adaeze runs your kickoff, and Lars reviews every pull request.

Start today, for free