| <?php |
| if ( ! defined( 'ABSPATH' ) ) { |
| exit; |
| } |
| |
| /** |
| * Przelewy24 Payment Method class extending UPE base class |
| */ |
| class WC_Stripe_UPE_Payment_Method_P24 extends WC_Stripe_UPE_Payment_Method { |
| |
| const STRIPE_ID = 'p24'; |
| |
| const LPM_GATEWAY_CLASS = WC_Gateway_Stripe_P24::class; |
| |
| /** |
| * Constructor for Przelewy24 payment method |
| */ |
| public function __construct() { |
| parent::__construct(); |
| $this->stripe_id = self::STRIPE_ID; |
| $this->title = __( 'Pay with Przelewy24', 'woocommerce-gateway-stripe' ); |
| $this->is_reusable = false; |
| $this->supported_currencies = [ 'EUR', 'PLN' ]; |
| $this->label = __( 'Przelewy24', 'woocommerce-gateway-stripe' ); |
| $this->description = __( |
| 'Przelewy24 is a Poland-based payment method aggregator that allows customers to complete transactions online using bank transfers and other methods.', |
| 'woocommerce-gateway-stripe' |
| ); |
| } |
| } |