for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/**
* Przelewy24 gateway
*
* @author Pronamic <[email protected]>
* @copyright 2005-2020 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 Przelewy24 gateway
* @author Reüel van der Steege
* @version 2.2.0
* @since 2.2.0
class Przelewy24Gateway extends Gateway {
* Payment method.
* @var string
protected $payment_method = PaymentMethods::PRZELEWY24;
* Get alias class name of this gateway.
* @return string
public function get_alias() {
return 'MeprPrzelewy24Gateway';
}
* Get icon function, please note that this is not a MemberPress function.
* @since 2.0.8
protected function get_icon() {
return Pronamic::get_method_icon_url( $this->payment_method );