Spaces:
Running
Running
Move to Sandbox test
Browse files- funciones.py +1 -1
- globales.py +1 -1
funciones.py
CHANGED
@@ -91,7 +91,7 @@ def create_checkout_session(price_id, customer_email=None, customer_id=None, fir
|
|
91 |
'mode': mode, #payment o subscription
|
92 |
#'payment_method_types': ['card'],
|
93 |
'success_url': 'https://app.splashmix.ink/',
|
94 |
-
'cancel_url': 'https://app.splashmix.ink/',
|
95 |
'locale': 'auto',
|
96 |
# 'client_reference_id': 'HERC',
|
97 |
'metadata': {
|
|
|
91 |
'mode': mode, #payment o subscription
|
92 |
#'payment_method_types': ['card'],
|
93 |
'success_url': 'https://app.splashmix.ink/',
|
94 |
+
'cancel_url': 'https://app.splashmix.ink/buy',
|
95 |
'locale': 'auto',
|
96 |
# 'client_reference_id': 'HERC',
|
97 |
'metadata': {
|
globales.py
CHANGED
@@ -1,4 +1,4 @@
|
|
1 |
import autenticacion
|
2 |
|
3 |
-
env = "
|
4 |
llave = autenticacion.defineAmbiente(env)
|
|
|
1 |
import autenticacion
|
2 |
|
3 |
+
env = "dev" #o dev (Define si es sandbox o producci贸n en Stripe.)
|
4 |
llave = autenticacion.defineAmbiente(env)
|