Fix debit card modal

Debiting cards is broken in prod right now. This fixes it (and tests to make sure it won't break again).