Moibe commited on
Commit
27fd945
·
1 Parent(s): 0203259

Ambiente Stripe controlado desde HF

Browse files
Files changed (1) hide show
  1. autenticacion.py +1 -1
autenticacion.py CHANGED
@@ -13,7 +13,7 @@ def defineAmbiente(env):
13
  webhook == bridges.webhook_sandbox
14
  else:
15
  print("Entorno remoto listo...")
16
- if env == 'prod':
17
  llave = os.getenv("STRIPE_KEY_PROD") #Acceso a HF
18
  webhook = os.getenv("STRIPE_WEBHOOK_SECRET_PROD")
19
  else:
 
13
  webhook == bridges.webhook_sandbox
14
  else:
15
  print("Entorno remoto listo...")
16
+ if os.getenv("ambiente_stripe") == 'prod':
17
  llave = os.getenv("STRIPE_KEY_PROD") #Acceso a HF
18
  webhook = os.getenv("STRIPE_WEBHOOK_SECRET_PROD")
19
  else: