finished stripe backend functionality