before integrating stripe for payment