Moibe commited on
Commit
ddb4143
·
1 Parent(s): 03e7a68

Hostname verify

Browse files
Files changed (2) hide show
  1. app.py +2 -1
  2. funciones.py +1 -1
app.py CHANGED
@@ -1,7 +1,8 @@
1
  import funciones
2
  from fastapi import FastAPI, Form, HTTPException
3
  from fastapi.responses import JSONResponse
4
- from typing import Optional
 
5
 
6
  app = FastAPI()
7
 
 
1
  import funciones
2
  from fastapi import FastAPI, Form, HTTPException
3
  from fastapi.responses import JSONResponse
4
+ from typing import Optional
5
+ import globales
6
 
7
  app = FastAPI()
8
 
funciones.py CHANGED
@@ -24,7 +24,7 @@ def create_checkout_session(price_id, customer_email=None, customer_id=None):
24
  'mode': 'payment', #payment Para pagos únicos (one-time payment) o #subscription
25
  'success_url': 'https://app.splashmix.ink/', #'https://tudominio.com/gracias?session_id={CHECKOUT_SESSION_ID}'
26
  'cancel_url': 'https://app.splashmix.ink/',
27
- 'locale': 'fr', #'es' # Establece el idioma del checkout a español
28
  'client_reference_id': 'HERC'
29
  }
30
 
 
24
  'mode': 'payment', #payment Para pagos únicos (one-time payment) o #subscription
25
  'success_url': 'https://app.splashmix.ink/', #'https://tudominio.com/gracias?session_id={CHECKOUT_SESSION_ID}'
26
  'cancel_url': 'https://app.splashmix.ink/',
27
+ 'locale': 'es', #'es' # Establece el idioma del checkout a español
28
  'client_reference_id': 'HERC'
29
  }
30