From 7fae0439b4112e5fba59e139fc310933a359f73f Mon Sep 17 00:00:00 2001 From: Leith Caldwell Date: Fri, 17 Jun 2016 12:56:26 +1200 Subject: [PATCH] Don't use currency in default parameters, setting the currency with a default value causes unit test failures (currency is separately unit tested) --- src/Gateway.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/Gateway.php b/src/Gateway.php index c7e6dbf..9a78007 100644 --- a/src/Gateway.php +++ b/src/Gateway.php @@ -25,6 +25,8 @@ public function getName() * returnMethod : either 'post' or 'redirect'; anything blank/invalid will result in 'post' * sendMail : 'y' if gateway sends receipt to user; blank/invalid (or if no email address supplied) means no email * + * currency should also be set to 'GBP' + * * @return array */ public function getDefaultParameters() @@ -36,7 +38,6 @@ public function getDefaultParameters() 'sendMail' => '', 'testEndpoint' => '', 'liveEndpoint' => '', - 'currency' => 'GBP', 'testMode' => false, ); }