-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
53 changed files
with
2,385 additions
and
93 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,6 +5,9 @@ | |
/composer.lock | ||
/vendor/ | ||
|
||
# Composer bin plugin | ||
/vendor-bin/**/vendor | ||
|
||
# Eclipse | ||
/.buildpath | ||
/.project | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,7 +2,7 @@ | |
* Grunt tasks. | ||
* | ||
* @author Pronamic <[email protected]> | ||
* @copyright 2005-2020 Pronamic | ||
* @copyright 2005-2021 Pronamic | ||
* @license GPL-3.0-or-later | ||
* @package Pronamic\WordPress\Pay\Extensions\MemberPress | ||
*/ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,7 +3,7 @@ | |
* Apple Pay gateway alias | ||
* | ||
* @author Pronamic <[email protected]> | ||
* @copyright 2005-2020 Pronamic | ||
* @copyright 2005-2021 Pronamic | ||
* @license GPL-3.0-or-later | ||
* @package Pronamic\WordPress\Pay\Extensions\MemberPress | ||
*/ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,7 +3,7 @@ | |
* Bank transfer gateway alias | ||
* | ||
* @author Pronamic <[email protected]> | ||
* @copyright 2005-2020 Pronamic | ||
* @copyright 2005-2021 Pronamic | ||
* @license GPL-3.0-or-later | ||
* @package Pronamic\WordPress\Pay\Extensions\MemberPress | ||
*/ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,7 +3,7 @@ | |
* Bitcoin gateway alias | ||
* | ||
* @author Pronamic <[email protected]> | ||
* @copyright 2005-2020 Pronamic | ||
* @copyright 2005-2021 Pronamic | ||
* @license GPL-3.0-or-later | ||
* @package Pronamic\WordPress\Pay\Extensions\MemberPress | ||
*/ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,7 +3,7 @@ | |
* Credit card gateway alias | ||
* | ||
* @author Pronamic <[email protected]> | ||
* @copyright 2005-2020 Pronamic | ||
* @copyright 2005-2021 Pronamic | ||
* @license GPL-3.0-or-later | ||
* @package Pronamic\WordPress\Pay\Extensions\MemberPress | ||
*/ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,7 +3,7 @@ | |
* Direct Debit mandate via Bancontact gateway alias. | ||
* | ||
* @author Pronamic <[email protected]> | ||
* @copyright 2005-2020 Pronamic | ||
* @copyright 2005-2021 Pronamic | ||
* @license GPL-3.0-or-later | ||
* @package Pronamic\WordPress\Pay\Extensions\MemberPress | ||
*/ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,7 +3,7 @@ | |
* Direct Debit gateway alias | ||
* | ||
* @author Pronamic <[email protected]> | ||
* @copyright 2005-2020 Pronamic | ||
* @copyright 2005-2021 Pronamic | ||
* @license GPL-3.0-or-later | ||
* @package Pronamic\WordPress\Pay\Extensions\MemberPress | ||
*/ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,7 +3,7 @@ | |
* Direct Debit mandate via iDEAL gateway alias | ||
* | ||
* @author Pronamic <[email protected]> | ||
* @copyright 2005-2020 Pronamic | ||
* @copyright 2005-2021 Pronamic | ||
* @license GPL-3.0-or-later | ||
* @package Pronamic\WordPress\Pay\Extensions\MemberPress | ||
*/ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,7 +3,7 @@ | |
* Direct Debit mandate via Sofort gateway alias | ||
* | ||
* @author Pronamic <[email protected]> | ||
* @copyright 2005-2020 Pronamic | ||
* @copyright 2005-2021 Pronamic | ||
* @license GPL-3.0-or-later | ||
* @package Pronamic\WordPress\Pay\Extensions\MemberPress | ||
*/ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,7 +3,7 @@ | |
* IDeal gateway alias | ||
* | ||
* @author Pronamic <[email protected]> | ||
* @copyright 2005-2020 Pronamic | ||
* @copyright 2005-2021 Pronamic | ||
* @license GPL-3.0-or-later | ||
* @package Pronamic\WordPress\Pay\Extensions\MemberPress | ||
*/ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,7 +3,7 @@ | |
* Bancontact/Mister Cash gateway alias | ||
* | ||
* @author Pronamic <[email protected]> | ||
* @copyright 2005-2020 Pronamic | ||
* @copyright 2005-2021 Pronamic | ||
* @license GPL-3.0-or-later | ||
* @package Pronamic\WordPress\Pay\Extensions\MemberPress | ||
*/ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,7 +3,7 @@ | |
* Pronamic gateway alias | ||
* | ||
* @author Pronamic <[email protected]> | ||
* @copyright 2005-2020 Pronamic | ||
* @copyright 2005-2021 Pronamic | ||
* @license GPL-3.0-or-later | ||
* @package Pronamic\WordPress\Pay\Extensions\MemberPress | ||
*/ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,7 +3,7 @@ | |
* Pronamic PayPal gateway alias | ||
* | ||
* @author Pronamic <[email protected]> | ||
* @copyright 2005-2020 Pronamic | ||
* @copyright 2005-2021 Pronamic | ||
* @license GPL-3.0-or-later | ||
* @package Pronamic\WordPress\Pay\Extensions\MemberPress | ||
*/ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,7 +3,7 @@ | |
* Przelewy24 gateway alias | ||
* | ||
* @author Pronamic <[email protected]> | ||
* @copyright 2005-2020 Pronamic | ||
* @copyright 2005-2021 Pronamic | ||
* @license GPL-3.0-or-later | ||
* @package Pronamic\WordPress\Pay\Extensions\MemberPress | ||
*/ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,7 +3,7 @@ | |
* Sofort gateway alias | ||
* | ||
* @author Pronamic <[email protected]> | ||
* @copyright 2005-2020 Pronamic | ||
* @copyright 2005-2021 Pronamic | ||
* @license GPL-3.0-or-later | ||
* @package Pronamic\WordPress\Pay\Extensions\MemberPress | ||
*/ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,9 @@ | ||
includes: | ||
- vendor-bin/phpstan/vendor/szepeviktor/phpstan-wordpress/extension.neon | ||
parameters: | ||
customRulesetUsed: false | ||
level: max | ||
bootstrap: tests/bootstrap.php | ||
bootstrapFiles: | ||
- tests/phpstan/bootstrap.php | ||
paths: | ||
- src | ||
- src/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,7 +3,7 @@ | |
* Admin subscriptions | ||
* | ||
* @author Pronamic <[email protected]> | ||
* @copyright 2005-2020 Pronamic | ||
* @copyright 2005-2021 Pronamic | ||
* @license GPL-3.0-or-later | ||
* @package Pronamic\WordPress\Pay\Extensions\MemberPress | ||
*/ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,7 +3,7 @@ | |
* Admin transactions | ||
* | ||
* @author Pronamic <[email protected]> | ||
* @copyright 2005-2020 Pronamic | ||
* @copyright 2005-2021 Pronamic | ||
* @license GPL-3.0-or-later | ||
* @package Pronamic\WordPress\Pay\Extensions\MemberPress | ||
*/ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,7 +3,7 @@ | |
* Extension | ||
* | ||
* @author Pronamic <[email protected]> | ||
* @copyright 2005-2020 Pronamic | ||
* @copyright 2005-2021 Pronamic | ||
* @license GPL-3.0-or-later | ||
* @package Pronamic\WordPress\Pay\Extensions\MemberPress | ||
*/ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,15 +3,14 @@ | |
* Apple Pay gateway | ||
* | ||
* @author Pronamic <[email protected]> | ||
* @copyright 2005-2020 Pronamic | ||
* @copyright 2005-2021 Pronamic | ||
* @license GPL-3.0-or-later | ||
* @package Pronamic\WordPress\Pay\Extensions\MemberPress | ||
*/ | ||
|
||
namespace Pronamic\WordPress\Pay\Extensions\MemberPress\Gateways; | ||
|
||
use Pronamic\WordPress\Pay\Core\PaymentMethods; | ||
use Pronamic\WordPress\Pay\Extensions\MemberPress\Pronamic; | ||
|
||
/** | ||
* WordPress pay MemberPress Apple Pay gateway | ||
|
@@ -62,6 +61,6 @@ public function get_alias() { | |
* @return string | ||
*/ | ||
protected function get_icon() { | ||
return Pronamic::get_method_icon_url( $this->payment_method ); | ||
return PaymentMethods::get_icon_url( PaymentMethods::APPLE_PAY ); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,15 +3,14 @@ | |
* Bancontact/Mister Cash gateway | ||
* | ||
* @author Pronamic <[email protected]> | ||
* @copyright 2005-2020 Pronamic | ||
* @copyright 2005-2021 Pronamic | ||
* @license GPL-3.0-or-later | ||
* @package Pronamic\WordPress\Pay\Extensions\MemberPress | ||
*/ | ||
|
||
namespace Pronamic\WordPress\Pay\Extensions\MemberPress\Gateways; | ||
|
||
use Pronamic\WordPress\Pay\Core\PaymentMethods; | ||
use Pronamic\WordPress\Pay\Extensions\MemberPress\Pronamic; | ||
|
||
/** | ||
* WordPress pay MemberPress Bancontact/Mister Cash gateway | ||
|
@@ -44,6 +43,6 @@ public function get_alias() { | |
* @return string | ||
*/ | ||
protected function get_icon() { | ||
return Pronamic::get_method_icon_url( $this->payment_method ); | ||
return PaymentMethods::get_icon_url( PaymentMethods::BANCONTACT ); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,15 +3,14 @@ | |
* Bank transfer gateway | ||
* | ||
* @author Pronamic <[email protected]> | ||
* @copyright 2005-2020 Pronamic | ||
* @copyright 2005-2021 Pronamic | ||
* @license GPL-3.0-or-later | ||
* @package Pronamic\WordPress\Pay\Extensions\MemberPress | ||
*/ | ||
|
||
namespace Pronamic\WordPress\Pay\Extensions\MemberPress\Gateways; | ||
|
||
use Pronamic\WordPress\Pay\Core\PaymentMethods; | ||
use Pronamic\WordPress\Pay\Extensions\MemberPress\Pronamic; | ||
|
||
/** | ||
* WordPress pay MemberPress bank transfer gateway | ||
|
@@ -44,6 +43,6 @@ public function get_alias() { | |
* @return string | ||
*/ | ||
protected function get_icon() { | ||
return Pronamic::get_method_icon_url( $this->payment_method ); | ||
return PaymentMethods::get_icon_url( PaymentMethods::BANK_TRANSFER ); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,15 +3,14 @@ | |
* Bitcoin gateway | ||
* | ||
* @author Pronamic <[email protected]> | ||
* @copyright 2005-2020 Pronamic | ||
* @copyright 2005-2021 Pronamic | ||
* @license GPL-3.0-or-later | ||
* @package Pronamic\WordPress\Pay\Extensions\MemberPress | ||
*/ | ||
|
||
namespace Pronamic\WordPress\Pay\Extensions\MemberPress\Gateways; | ||
|
||
use Pronamic\WordPress\Pay\Core\PaymentMethods; | ||
use Pronamic\WordPress\Pay\Extensions\MemberPress\Pronamic; | ||
|
||
/** | ||
* WordPress pay MemberPress Bitcoin gateway | ||
|
@@ -44,6 +43,6 @@ public function get_alias() { | |
* @return string | ||
*/ | ||
protected function get_icon() { | ||
return Pronamic::get_method_icon_url( $this->payment_method ); | ||
return PaymentMethods::get_icon_url( PaymentMethods::BITCOIN ); | ||
} | ||
} |
Oops, something went wrong.