I would take more time to study market readiness, understand the competition, and form a firm hypothesis about how I want to approach this problem rather than solve everything with code.
It is much better to talk to more customers, iterate, understand the market, do market studies before committing to some path. Of course, there are still going to be lots of things that can go wrong.
With Chargebee, we bootstrapped the company for 18–24 months on the assumption that we would have started making money by then.
Had we not gotten the right advice and raised money, we would have completely died as a company.