finished stripe functionality