for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/**
* PayPal gateway
*
* @author Pronamic <[email protected]>
* @copyright 2005-2019 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\Plugin;
* WordPress pay MemberPress PayPal gateway
* @author Reüel van der Steege
* @version 2.0.1
* @since 1.0.5
class PayPalGateway extends Gateway {
* Payment method.
* @var string
protected $payment_method = PaymentMethods::PAYPAL;
* Get icon function, please not that this is not a MemberPress function.
* @since 1.0.2
* @return string
protected function get_icon() {
return plugins_url( 'images/paypal/icon-32x32.png', Plugin::$file );
}
* Get alias class name of this gateway.
public function get_alias() {
return 'MeprPronamicPayPalGateway';