Skip to content
This repository has been archived by the owner on Jul 23, 2019. It is now read-only.

Commit

Permalink
Don't use currency in default parameters, setting the currency with a…
Browse files Browse the repository at this point in the history
… default value causes unit test failures (currency is separately unit tested)
  • Loading branch information
leith committed Jun 17, 2016
1 parent 6ec1429 commit 7fae043
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/Gateway.php
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand All @@ -36,7 +38,6 @@ public function getDefaultParameters()
'sendMail' => '',
'testEndpoint' => '',
'liveEndpoint' => '',
'currency' => 'GBP',
'testMode' => false,
);
}
Expand Down

0 comments on commit 7fae043

Please sign in to comment.