diff --git a/app/controllers/PaymentController.php b/app/controllers/PaymentController.php
index f76fd271f2..1568eb36cd 100755
--- a/app/controllers/PaymentController.php
+++ b/app/controllers/PaymentController.php
@@ -116,10 +116,12 @@ class PaymentController extends \BaseController
$gateway->$function($val);
}
+ /*
if (!Utils::isProd())
{
$gateway->setTestMode(true);
}
+ */
return $gateway;
}
diff --git a/app/lang/en/texts.php b/app/lang/en/texts.php
index 0e6faf7c6b..5ce4a47e77 100644
--- a/app/lang/en/texts.php
+++ b/app/lang/en/texts.php
@@ -308,7 +308,7 @@ return array(
'pro_plan_product' => 'Pro Plan',
'pro_plan_description' => 'One year enrollment in the Invoice Ninja Pro Plan.',
- 'pro_plan_success' => 'Thanks for choosing Invoice Ninja\'s Pro plan!
+ 'pro_plan_success' => 'Thanks for choosing Invoice Ninja\'s Pro plan!
Next StepsA payable invoice has been sent to the email
address associated with your account. To unlock all of the awesome
Pro features, please follow the instructions on the invoice to pay
diff --git a/app/routes.php b/app/routes.php
index 7a7deb4427..7dd66aa8b7 100755
--- a/app/routes.php
+++ b/app/routes.php
@@ -184,6 +184,7 @@ define('RESULT_FAILURE', 'failure');
define('PAYMENT_LIBRARY_OMNIPAY', 1);
define('PAYMENT_LIBRARY_PHP_PAYMENTS', 2);
+define('GATEWAY_AUTHORIZE_NET', 1);
define('GATEWAY_PAYPAL_EXPRESS', 17);
define('GATEWAY_BEANSTREAM', 29);
define('GATEWAY_PSIGATE', 30);
@@ -191,7 +192,7 @@ define('GATEWAY_PSIGATE', 30);
define('PRO_PLAN_PRICE', 50);
define('REQUESTED_PRO_PLAN', 'REQUESTED_PRO_PLAN');
define('NINJA_ACCOUNT_KEY', 'zg4ylmzDkdkPOT8yoKQw9LTWaoZJx79h');
-define('NINJA_GATEWAY_ID', GATEWAY_PAYPAL_EXPRESS);
+define('NINJA_GATEWAY_ID', GATEWAY_AUTHORIZE_NET);
define('NINJA_GATEWAY_CONFIG', '{"apiLoginId":"626vWcD5","transactionKey":"4bn26TgL9r4Br4qJ","testMode":"","developerMode":""}');