Stripe interview question

Bug squash