Spaces:
Sleeping
Sleeping
bug3
Browse files- payments.py +1 -0
payments.py
CHANGED
@@ -7,6 +7,7 @@ stripe.api_key = os.getenv('stripe_sk')
|
|
7 |
|
8 |
def create_checkout_session(userid:str,price_id: str):
|
9 |
print("checkout session started")
|
|
|
10 |
try:
|
11 |
checkout_session = stripe.checkout.Session.create(
|
12 |
line_items=[
|
|
|
7 |
|
8 |
def create_checkout_session(userid:str,price_id: str):
|
9 |
print("checkout session started")
|
10 |
+
print(stripe.api_key)
|
11 |
try:
|
12 |
checkout_session = stripe.checkout.Session.create(
|
13 |
line_items=[
|