1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32
<?php
defined( 'ABSPATH' ) || exit();
if ( ! class_exists( 'WC_Payment_Gateway_Stripe_Local_Payment' ) ) {
return;
}
class WC_Payment_Gateway_Stripe_EPS extends WC_Payment_Gateway_Stripe_Local_Payment {
use WC_Stripe_Local_Payment_Charge_Trait;
public function __construct() {
$this->local_payment_type = 'eps';
$this->currencies = array( 'EUR' );
$this->countries = array( 'AT' );
$this->id = 'stripe_eps';
$this->tab_title = __( 'EPS', 'woo-stripe-payment' );
$this->template_name = 'local-payment.php';
$this->token_type = 'Stripe_Local';
$this->method_title = __( 'EPS', 'woo-stripe-payment' );
$this->method_description = __( 'EPS gateway that integrates with your Stripe account.', 'woo-stripe-payment' );
$this->icon = stripe_wc()->assets_url( 'img/eps.svg' );
parent::__construct();
}
}