public function __construct() { $this->id = 'paypalbraintree_paypal'; parent::__construct(); $this->icon = plugins_url('../assets/images/payments/PP_logo_h_100x26.png', __FILE__); $this->checkout_template = 'checkout/paypal-braintree-pay-with-paypal.php'; $this->title = $this->get_option('title_paypal'); $this->description = $this->get_option('description_paypal'); }
public function __construct() { $this->id = 'paypalbraintree_cards'; parent::__construct(); $this->icon = plugins_url('../assets/images/payments/payment-method-cards.png', __FILE__); $this->checkout_template = 'checkout/paypal-braintree-pay-with-card.php'; $this->title = $this->get_option('title_cards'); $this->description = $this->get_option('description_cards'); }