In August I was on the same flight with Itisam, one of the software engineers in the debit card team. We chatted about what he had been working on and then went on to my user feedback - I had been using the green "Hello World!" debit card exclusively for 2 years going. We talked through a couple of features and how we could go about building them - a DCC warning notification was one of them.
Inspired by the conversation, I went on to research the data we have been seeing about DCC and had a spare weekend coming up, so I thought I could give it a go - to build it myself.
I'm not a software engineer, not for any practical purposes. Yet I've been always curious how they do it, so I had a pretty good overview already of how the systems hang together. The way to set up the feature was to add a new spring boot micro service, which does the following:
- listen to debit card authorisation events from our Kafka cluster
- analyse each event, specifically check if the transaction currency is what we'd expect to be used in the country, where the transaction took place
- estimate the savings, based on the currency, country and merchant
- queue a push notification and an in-app inbox message to the user
It was nice to try out different bits of technical infrastructure I could use for the purpose.
- We have a github template for spring-boot services, which wires all security, database connections and many other TransferWise specific goodies
- There is a widely used homegrown library, which handles out of the box Kafka message consuming, task creation and asynchronous processing. It is open sourced as tw-tasks-executor.
- I took advantage of our feature-service, another microservice, which lets us test new features in production for whitelisted users and handles gradual roll-out
- Our notification-service abstracts away the sending of push notifications, emails, in-app inbox messages, webhooks, etc.
- Having the standard circle-ci build pipeline, prometheus, rollbar, new relic and kubernetes config all helped
At the end of the day my service was only a couple of hundred lines of code. It didn't get done in the first weekend, it took a few more Saturdays and evenings over 4 weeks.
Coding is pretty far from my day job and I won't be good at it, but I learned a lot in the process. Someone told me you're going to be a pretty poor dairy farmer, if you never try to milk the cow.
They say good things come to those who wait. They also say that you can’t rush art. Were “they” talking about multi-user access for TransferWise for Business...
We’ve broadened our partnership with N26 to help even more people make fast and low-cost international payments, straight from their N26 app
Until now, we’ve been offering business bank details to our customers for free. From June 15th, there will be a small, one-time fee to get your bank details...
You can now connect your TransferWise business multi-currency account with QuickBooks — the most requested accounting tool. This means your business activity...
The year’s 2020. You need to pay a colleague back for a dinner you shared in London. But she’s in Spain. And you haven’t got her bank details, let alone an...
Back in November Xero announced that Pay with TransferWise was about to launch and we invited you to join the Beta programme. We’re delighted to announce that...