uncloud/archive/uncloud_django_based/meow-payv1/stripe_hack.py

8 lines
201 B
Python
Raw Permalink Normal View History

2020-02-20 08:44:30 +00:00
import stripe_utils
import os
if __name__ == '__main__':
s = stripe_utils.StripeUtils(os.environ['STRIPE_PRIVATE_KEY'])
print(s.get_stripe_customer_from_email('coder.purple+2002@gmail.com'))