State-machine Driven Payment Flow

Droidcon SF 2019 | State-machine Driven Payment Flow | Yisong Wu and Fernando Pereira
Course info
Level
Intermediate
Updated
Dec 19, 2019
Duration
35m
Table of contents
State-machine Driven Payment Flow
Description
Course info
Level
Intermediate
Updated
Dec 19, 2019
Duration
35m
Description

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.

About the author
About the author

droidcon SF is where the industry's leading Android experts converge to support the Android platform and create a strong network for developers and companies.

More from the author
Machine Learning on Android Demystified
Intermediate
39m
Dec 20, 2019
Implementing a Design System
Beginner
28m
Dec 20, 2019
More courses by droidcon SF