Fix: Stripe not working on live mode

This commit is contained in:
Ferran Marcet 2017-09-21 12:06:43 +02:00
parent d68abf8237
commit 76c3fe1260

View File

@ -1,6 +1,7 @@
<?php <?php
/* Copyright (C) 2017 Alexandre Spangaro <aspangaro@zendsi.com> /* Copyright (C) 2017 Alexandre Spangaro <aspangaro@zendsi.com>
* Copyright (C) 2017 Saasprov <saasprov@gmail.com> * Copyright (C) 2017 Saasprov <saasprov@gmail.com>
* Copyright (C) 2017 Ferran Marcet <fmarcet@2byte.es.com>
* *
* This program is free software: you can redistribute it and/or modify * This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by * it under the terms of the GNU General Public License as published by
@ -32,7 +33,7 @@ global $conf;
//use \includes\stripe as stripe; //use \includes\stripe as stripe;
$stripe = array(); $stripe = array();
if (empty($conf->global->SKYPE_LIVE)) if (empty($conf->global->STRIPE_LIVE))
{ {
$stripe = array( $stripe = array(
"secret_key" => $conf->global->STRIPE_TEST_SECRET_KEY, "secret_key" => $conf->global->STRIPE_TEST_SECRET_KEY,