public function __construct() { $this->supports = array('products'); $this->issuer = 'creditcard/mastercard'; $this->has_fields = FALSE; parent::__construct(); }
public function __construct() { $this->supports = array('products'); $this->issuer = 'sofort/digital'; $this->has_fields = FALSE; parent::__construct(); }
public function __construct() { $this->supports = array('products'); $this->issuer = 'banktransfer/sepa'; $this->has_fields = FALSE; parent::__construct(); }
public function __construct() { $this->supports = array('products'); $this->issuer = 'bancontact/mrcash'; $this->has_fields = FALSE; parent::__construct(); }
public function __construct() { $this->supports = array('products'); $this->issuer = 'paypal/direct'; $this->has_fields = FALSE; parent::__construct(); }
public function __construct() { $this->supports = array('products'); $this->issuer = 'afterpay/giro'; $this->has_fields = FALSE; parent::__construct(); }
public function payment_fields() { parent::payment_fields(); $ideal_issuers = PayPro_WC_Plugin::$paypro_api->getIdealIssuers(); $selected_issuer = $this->getSelectedIssuer(); $html = '<select name="' . PayPro_WC_Plugin::PLUGIN_ID . '_issuer_' . $this->id . '">'; $html .= '<option value=""></option>'; foreach ($ideal_issuers['issuers'] as $issuer) { $html .= '<option value="' . esc_attr($issuer['id']) . '"' . ($selected_issuer == $issuer['id'] ? ' selected="selected"' : '') . '>' . esc_html($issuer['name']) . '</option>'; } $html .= '</select>'; echo wpautop(wptexturize($html)); }