diff --git a/src/AlipayPaymentMethod.php b/src/AlipayPaymentMethod.php index 2fb5f37..b683bb7 100644 --- a/src/AlipayPaymentMethod.php +++ b/src/AlipayPaymentMethod.php @@ -39,9 +39,8 @@ class AlipayPaymentMethod extends PaymentMethod { * @param EE_Payment_Method $pm_instance Event Espresso payment method instance. */ public function __construct( $pm_instance = null ) { - $this->_gateway = new AlipayGateway(); - $this->_pretty_name = PaymentMethods::get_name( PaymentMethods::ALIPAY ); - $this->_default_button_url = plugins_url( 'images/alipay/icon-64x48.png', Plugin::$file ); + $this->_gateway = new AlipayGateway(); + $this->_pretty_name = PaymentMethods::get_name( PaymentMethods::ALIPAY ); parent::__construct( $pm_instance ); } diff --git a/src/BancontactPaymentMethod.php b/src/BancontactPaymentMethod.php index 984f2a2..a5b050c 100644 --- a/src/BancontactPaymentMethod.php +++ b/src/BancontactPaymentMethod.php @@ -39,9 +39,8 @@ class BancontactPaymentMethod extends PaymentMethod { * @param EE_Payment_Method $pm_instance Event Espresso payment method instance. */ public function __construct( $pm_instance = null ) { - $this->_gateway = new BancontactGateway(); - $this->_pretty_name = PaymentMethods::get_name( PaymentMethods::BANCONTACT ); - $this->_default_button_url = plugins_url( 'images/bancontact/icon-64x48.png', Plugin::$file ); + $this->_gateway = new BancontactGateway(); + $this->_pretty_name = PaymentMethods::get_name( PaymentMethods::BANCONTACT ); parent::__construct( $pm_instance ); } diff --git a/src/BankTransferPaymentMethod.php b/src/BankTransferPaymentMethod.php index 8ab5063..7201d6d 100644 --- a/src/BankTransferPaymentMethod.php +++ b/src/BankTransferPaymentMethod.php @@ -39,9 +39,8 @@ class BankTransferPaymentMethod extends PaymentMethod { * @param EE_Payment_Method $pm_instance Event Espresso payment method instance. */ public function __construct( $pm_instance = null ) { - $this->_gateway = new BankTransferGateway(); - $this->_pretty_name = PaymentMethods::get_name( PaymentMethods::BANK_TRANSFER ); - $this->_default_button_url = plugins_url( 'images/bank-transfer/icon-64x48.png', Plugin::$file ); + $this->_gateway = new BankTransferGateway(); + $this->_pretty_name = PaymentMethods::get_name( PaymentMethods::BANK_TRANSFER ); parent::__construct( $pm_instance ); } diff --git a/src/BelfiusPaymentMethod.php b/src/BelfiusPaymentMethod.php index fdb3017..28a53a5 100644 --- a/src/BelfiusPaymentMethod.php +++ b/src/BelfiusPaymentMethod.php @@ -39,9 +39,8 @@ class BelfiusPaymentMethod extends PaymentMethod { * @param EE_Payment_Method $pm_instance Event Espresso payment method instance. */ public function __construct( $pm_instance = null ) { - $this->_gateway = new BelfiusGateway(); - $this->_pretty_name = PaymentMethods::get_name( PaymentMethods::BELFIUS ); - $this->_default_button_url = plugins_url( 'images/belfius/icon-64x48.png', Plugin::$file ); + $this->_gateway = new BelfiusGateway(); + $this->_pretty_name = PaymentMethods::get_name( PaymentMethods::BELFIUS ); parent::__construct( $pm_instance ); } diff --git a/src/BitcoinPaymentMethod.php b/src/BitcoinPaymentMethod.php index eea4fa7..f8f9e26 100644 --- a/src/BitcoinPaymentMethod.php +++ b/src/BitcoinPaymentMethod.php @@ -39,9 +39,8 @@ class BitcoinPaymentMethod extends PaymentMethod { * @param EE_Payment_Method $pm_instance Event Espresso payment method instance. */ public function __construct( $pm_instance = null ) { - $this->_gateway = new BitcoinGateway(); - $this->_pretty_name = PaymentMethods::get_name( PaymentMethods::BITCOIN ); - $this->_default_button_url = plugins_url( 'images/bitcoin/icon-64x48.png', Plugin::$file ); + $this->_gateway = new BitcoinGateway(); + $this->_pretty_name = PaymentMethods::get_name( PaymentMethods::BITCOIN ); parent::__construct( $pm_instance ); } diff --git a/src/CreditCardPaymentMethod.php b/src/CreditCardPaymentMethod.php index 3f3da13..fd353bd 100644 --- a/src/CreditCardPaymentMethod.php +++ b/src/CreditCardPaymentMethod.php @@ -39,9 +39,8 @@ class CreditCardPaymentMethod extends PaymentMethod { * @param EE_Payment_Method $pm_instance Event Espresso payment method instance. */ public function __construct( $pm_instance = null ) { - $this->_gateway = new CreditCardGateway(); - $this->_pretty_name = PaymentMethods::get_name( PaymentMethods::CREDIT_CARD ); - $this->_default_button_url = plugins_url( 'images/credit-card/icon-64x48.png', Plugin::$file ); + $this->_gateway = new CreditCardGateway(); + $this->_pretty_name = PaymentMethods::get_name( PaymentMethods::CREDIT_CARD ); parent::__construct( $pm_instance ); } diff --git a/src/DirectDebitPaymentMethod.php b/src/DirectDebitPaymentMethod.php index ea232f9..1a5d7b5 100644 --- a/src/DirectDebitPaymentMethod.php +++ b/src/DirectDebitPaymentMethod.php @@ -39,9 +39,8 @@ class DirectDebitPaymentMethod extends PaymentMethod { * @param EE_Payment_Method $pm_instance Event Espresso payment method instance. */ public function __construct( $pm_instance = null ) { - $this->_gateway = new DirectDebitGateway(); - $this->_pretty_name = PaymentMethods::get_name( PaymentMethods::DIRECT_DEBIT ); - $this->_default_button_url = plugins_url( 'images/direct-debit/icon-64x48.png', Plugin::$file ); + $this->_gateway = new DirectDebitGateway(); + $this->_pretty_name = PaymentMethods::get_name( PaymentMethods::DIRECT_DEBIT ); parent::__construct( $pm_instance ); } diff --git a/src/GiropayPaymentMethod.php b/src/GiropayPaymentMethod.php index 45db8a3..ed4ce4d 100644 --- a/src/GiropayPaymentMethod.php +++ b/src/GiropayPaymentMethod.php @@ -39,9 +39,8 @@ class GiropayPaymentMethod extends PaymentMethod { * @param EE_Payment_Method $pm_instance Event Espresso payment method instance. */ public function __construct( $pm_instance = null ) { - $this->_gateway = new GiropayGateway(); - $this->_pretty_name = PaymentMethods::get_name( PaymentMethods::GIROPAY ); - $this->_default_button_url = plugins_url( 'images/giropay/icon-64x48.png', Plugin::$file ); + $this->_gateway = new GiropayGateway(); + $this->_pretty_name = PaymentMethods::get_name( PaymentMethods::GIROPAY ); parent::__construct( $pm_instance ); } diff --git a/src/IDealPaymentMethod.php b/src/IDealPaymentMethod.php index 95c5e3e..8af6a42 100644 --- a/src/IDealPaymentMethod.php +++ b/src/IDealPaymentMethod.php @@ -39,9 +39,8 @@ class IDealPaymentMethod extends PaymentMethod { * @param EE_Payment_Method $pm_instance Event Espresso payment method instance. */ public function __construct( $pm_instance = null ) { - $this->_gateway = new IDealGateway(); - $this->_pretty_name = __( 'iDEAL', 'pronamic_ideal' ); - $this->_default_button_url = plugins_url( 'images/ideal/icon-64x48.png', Plugin::$file ); + $this->_gateway = new IDealGateway(); + $this->_pretty_name = __( 'iDEAL', 'pronamic_ideal' ); parent::__construct( $pm_instance ); } diff --git a/src/IDealQRPaymentMethod.php b/src/IDealQRPaymentMethod.php index 3e25d28..ce08068 100644 --- a/src/IDealQRPaymentMethod.php +++ b/src/IDealQRPaymentMethod.php @@ -39,9 +39,8 @@ class IDealQRPaymentMethod extends PaymentMethod { * @param EE_Payment_Method $pm_instance Event Espresso payment method instance. */ public function __construct( $pm_instance = null ) { - $this->_gateway = new IDealQRGateway(); - $this->_pretty_name = PaymentMethods::get_name( PaymentMethods::IDEALQR ); - $this->_default_button_url = plugins_url( 'images/ideal-qr/icon-64x48.png', Plugin::$file ); + $this->_gateway = new IDealQRGateway(); + $this->_pretty_name = PaymentMethods::get_name( PaymentMethods::IDEALQR ); parent::__construct( $pm_instance ); } diff --git a/src/KBCPaymentMethod.php b/src/KBCPaymentMethod.php index 8ac734c..434af7a 100644 --- a/src/KBCPaymentMethod.php +++ b/src/KBCPaymentMethod.php @@ -39,9 +39,8 @@ class KBCPaymentMethod extends PaymentMethod { * @param EE_Payment_Method $pm_instance Event Espresso payment method instance. */ public function __construct( $pm_instance = null ) { - $this->_gateway = new KBCGateway(); - $this->_pretty_name = PaymentMethods::get_name( PaymentMethods::KBC ); - $this->_default_button_url = plugins_url( 'images/kbc/icon-64x48.png', Plugin::$file ); + $this->_gateway = new KBCGateway(); + $this->_pretty_name = PaymentMethods::get_name( PaymentMethods::KBC ); parent::__construct( $pm_instance ); } diff --git a/src/PayPalPaymentMethod.php b/src/PayPalPaymentMethod.php index 1a1c9d1..278178d 100644 --- a/src/PayPalPaymentMethod.php +++ b/src/PayPalPaymentMethod.php @@ -39,9 +39,8 @@ class PayPalPaymentMethod extends PaymentMethod { * @param EE_Payment_Method $pm_instance Event Espresso payment method instance. */ public function __construct( $pm_instance = null ) { - $this->_gateway = new PayPalGateway(); - $this->_pretty_name = PaymentMethods::get_name( PaymentMethods::PAYPAL ); - $this->_default_button_url = plugins_url( 'images/paypal/icon-64x48.png', Plugin::$file ); + $this->_gateway = new PayPalGateway(); + $this->_pretty_name = PaymentMethods::get_name( PaymentMethods::PAYPAL ); parent::__construct( $pm_instance ); } diff --git a/src/PayconiqPaymentMethod.php b/src/PayconiqPaymentMethod.php index 69b8d0d..5041286 100644 --- a/src/PayconiqPaymentMethod.php +++ b/src/PayconiqPaymentMethod.php @@ -39,9 +39,8 @@ class PayconiqPaymentMethod extends PaymentMethod { * @param EE_Payment_Method $pm_instance Event Espresso payment method instance. */ public function __construct( $pm_instance = null ) { - $this->_gateway = new PayconiqPaymentMethod(); - $this->_pretty_name = PaymentMethods::get_name( PaymentMethods::PAYCONIQ ); - $this->_default_button_url = plugins_url( 'images/payconiq/icon-64x48.png', Plugin::$file ); + $this->_gateway = new PayconiqPaymentMethod(); + $this->_pretty_name = PaymentMethods::get_name( PaymentMethods::PAYCONIQ ); parent::__construct( $pm_instance ); } diff --git a/src/PaymentMethod.php b/src/PaymentMethod.php index 6e27cfd..1edd7c3 100644 --- a/src/PaymentMethod.php +++ b/src/PaymentMethod.php @@ -49,9 +49,8 @@ class PaymentMethod extends EE_PMT_Base { */ public function __construct( $pm_instance = null ) { if ( null === $this->payment_method ) { - $this->_gateway = new Gateway(); - $this->_pretty_name = __( 'Pronamic', 'pronamic_ideal' ); - $this->_default_button_url = plugins_url( 'images/credit-card/icon-64x48.png', Plugin::$file ); + $this->_gateway = new Gateway(); + $this->_pretty_name = __( 'Pronamic', 'pronamic_ideal' ); } parent::__construct( $pm_instance ); diff --git a/src/SofortPaymentMethod.php b/src/SofortPaymentMethod.php index 737ad5d..2f3677d 100644 --- a/src/SofortPaymentMethod.php +++ b/src/SofortPaymentMethod.php @@ -39,9 +39,8 @@ class SofortPaymentMethod extends PaymentMethod { * @param EE_Payment_Method $pm_instance Event Espresso payment method instance. */ public function __construct( $pm_instance = null ) { - $this->_gateway = new SofortGateway(); - $this->_pretty_name = PaymentMethods::get_name( PaymentMethods::SOFORT ); - $this->_default_button_url = plugins_url( 'images/sofort/icon-64x48.png', Plugin::$file ); + $this->_gateway = new SofortGateway(); + $this->_pretty_name = PaymentMethods::get_name( PaymentMethods::SOFORT ); parent::__construct( $pm_instance ); }