Merge pull request #7455 from fmarcet/6.0

FIX Stripe not working on live mode
This commit is contained in:
Laurent Destailleur 2017-09-24 21:53:38 +02:00 committed by GitHub
commit 84173f3759

View File

@ -1,6 +1,7 @@
<?php
/* Copyright (C) 2017 Alexandre Spangaro <aspangaro@zendsi.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
* it under the terms of the GNU General Public License as published by
@ -32,7 +33,7 @@ global $conf;
//use \includes\stripe as stripe;
$stripe = array();
if (empty($conf->global->SKYPE_LIVE))
if (empty($conf->global->STRIPE_LIVE))
{
$stripe = array(
"secret_key" => $conf->global->STRIPE_TEST_SECRET_KEY,