Skip to content
This repository has been archived by the owner on Aug 24, 2022. It is now read-only.

Commit

Permalink
Merge branch 'release/1.1.5'
Browse files Browse the repository at this point in the history
  • Loading branch information
remcotolsma committed Feb 11, 2016
2 parents ba874d5 + 1dc7670 commit a56ef7b
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 4 deletions.
6 changes: 5 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@ This projects adheres to [Semantic Versioning](http://semver.org/) and [Keep a C
## [Unreleased][unreleased]
-

## [1.1.5] - 2016-02-11
- Use iDEAL payment method also if none set in issuer field.

## [1.1.4] - 2016-02-10
- Set default payment method to iDEAL if none set.

Expand Down Expand Up @@ -36,7 +39,8 @@ This projects adheres to [Semantic Versioning](http://semver.org/) and [Keep a C
## 1.0.0 - 2014-12-12
- First release.

[unreleased]: https://github.com/wp-pay-gateways/sisow/compare/1.1.4...HEAD
[unreleased]: https://github.com/wp-pay-gateways/sisow/compare/1.1.5...HEAD
[1.1.5]: https://github.com/wp-pay-gateways/sisow/compare/1.1.4...1.1.5
[1.1.4]: https://github.com/wp-pay-gateways/sisow/compare/1.1.3...1.1.4
[1.1.3]: https://github.com/wp-pay-gateways/sisow/compare/1.1.2...1.1.3
[1.1.2]: https://github.com/wp-pay-gateways/sisow/compare/1.1.1...1.1.2
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "sisow",
"version": "1.1.4",
"version": "1.1.5",
"description": "Sisow driver for the WordPress payment processing library.",
"repository": {
"type": "git",
Expand Down
6 changes: 4 additions & 2 deletions src/Gateway.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
* Company: Pronamic
*
* @author Remco Tolsma
* @version 1.1.4
* @version 1.1.5
* @since 1.0.0
*/
class Pronamic_WP_Pay_Gateways_Sisow_Gateway extends Pronamic_WP_Pay_Gateway {
Expand Down Expand Up @@ -53,7 +53,9 @@ public function get_issuers() {
/////////////////////////////////////////////////

public function get_issuer_field() {
if ( Pronamic_WP_Pay_PaymentMethods::IDEAL === $this->get_payment_method() ) {
$payment_method = $this->get_payment_method();

if ( null === $payment_method || Pronamic_WP_Pay_PaymentMethods::IDEAL === $payment_method ) {
return array(
'id' => 'pronamic_ideal_issuer_id',
'name' => 'pronamic_ideal_issuer_id',
Expand Down

0 comments on commit a56ef7b

Please sign in to comment.