Spaces:
Running
Running
Global Bridge
Browse files- funciones.py +2 -2
- globales.py +0 -1
funciones.py
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
import stripe
|
2 |
-
import
|
3 |
|
4 |
-
stripe.api_key =
|
5 |
|
6 |
def create_checkout_session(price_id, customer_email=None, customer_id=None):
|
7 |
"""
|
|
|
1 |
import stripe
|
2 |
+
import globales
|
3 |
|
4 |
+
stripe.api_key = globales.llave
|
5 |
|
6 |
def create_checkout_session(price_id, customer_email=None, customer_id=None):
|
7 |
"""
|
globales.py
CHANGED
@@ -1,5 +1,4 @@
|
|
1 |
import autenticacion
|
2 |
|
3 |
-
version = "0.1.1" #remote env check
|
4 |
llave = autenticacion.defineAmbiente()
|
5 |
|
|
|
1 |
import autenticacion
|
2 |
|
|
|
3 |
llave = autenticacion.defineAmbiente()
|
4 |
|