Simple play icon Course
Skills Expanded

State-machine Driven Payment Flow

by droidcon SF

Droidcon SF 2019 | State-machine Driven Payment Flow | Yisong Wu and Fernando Pereira

What you'll learn

As the world's top-grossing mobile app, payment processing is a crucial part of Tinder. Scaling the payment system is very challenging with a legacy, untestable code base. To resolve the problem, Tinder's team recently made the decision to build a state-machine-based, pluggable solution to represent a universal purchase flow, which is agnostic of any specific payment methods. In this talk, Yisong Wu and Fernando Pereira will share how Tinder's state machine / DSL approach ensures the flow is deterministic, self-documented, and easily testable and how its plug-in system guarantees flexibility by allowing dynamic custom rules to be run along the state transitions.

Table of contents

State-machine Driven Payment Flow
35mins

About the author

Droidcon is the largest global network of developer conferences which bring together the industry's foremost experts dedicated to advancing the Android platform. Droidcon engages a global network of over 25,000 developers attending our events in 22 cities. Our first droidcon conference was held in 2009 in Berlin and since then it has spread its influence across the globe and has established itself as the world's foremost community-driven conference format. Droidcon is the place to meet the inter... more

Ready to upskill? Get started