-
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.
Merge pull request #7 from pronamic/6-add-support-for-eps-payment-method
Add EPS payment method.
- Loading branch information
Showing
2 changed files
with
37 additions
and
0 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 |
---|---|---|
@@ -0,0 +1,36 @@ | ||
<?php | ||
/** | ||
* EPS gateway | ||
* | ||
* @author Pronamic <[email protected]> | ||
* @copyright 2005-2023 Pronamic | ||
* @license GPL-3.0-or-later | ||
* @package Pronamic\WordPress\Pay\Extensions\RestrictContentPro | ||
*/ | ||
|
||
namespace Pronamic\WordPress\Pay\Extensions\RestrictContentPro; | ||
|
||
use Pronamic\WordPress\Pay\Core\PaymentMethods; | ||
|
||
/** | ||
* EPS gateway | ||
* | ||
* @author Reüel van der Steege | ||
* @version 4.3.6 | ||
* @since 4.3.6 | ||
*/ | ||
class EpsGateway extends Gateway { | ||
/** | ||
* Gateway id. | ||
* | ||
* @var string | ||
*/ | ||
protected $id = 'pronamic_pay_eps'; | ||
|
||
/** | ||
* Payment method. | ||
* | ||
* @var string | ||
*/ | ||
protected $payment_method = PaymentMethods::EPS; | ||
} |
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