corrected code for stripe