This presentation describes our journey in making a new payment gateway service with the core idea of consistency and simplicity.
We discovered that by having the application logic live inside the database, we could speed up our development process. This was in combination with using statecharts and creating a statecharts interpreter in Postgres to keep our business logic tidy.