From 5e4c968c03122bf266681727fb948be7db7e39b6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C3=ABl=20Gallego?= Date: Mon, 10 Feb 2014 14:25:01 +0100 Subject: [PATCH] Fix factory --- src/ZfrStripeModule/Factory/StripeClientFactory.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ZfrStripeModule/Factory/StripeClientFactory.php b/src/ZfrStripeModule/Factory/StripeClientFactory.php index 5d17e1d..969ad43 100755 --- a/src/ZfrStripeModule/Factory/StripeClientFactory.php +++ b/src/ZfrStripeModule/Factory/StripeClientFactory.php @@ -37,7 +37,7 @@ public function createService(ServiceLocatorInterface $serviceLocator) { $config = $serviceLocator->get('Config'); - if (!isset($config['stripe'])) { + if (!isset($config['zfr_stripe'])) { throw new Exception\RuntimeException( 'No config was found for Stripe. Did you copy the `zfr_stripe.local.php` file to your autoload folder?' );