Compute transaction fees from a CSV string | Stripe Coding Question