Small refactor of stripe card