fixed bug in stripe.py