stripe_id = self::PAYMENT_METHOD_STRIPE_ID; $this->title = 'Przelewy24 (P24)'; $this->is_reusable = false; $this->currencies = [ Currency_Code::EURO, Currency_Code::POLISH_ZLOTY ]; $this->icon_url = plugins_url( 'assets/images/payment-methods/p24.svg', WCPAY_PLUGIN_FILE ); $this->countries = [ Country_Code::POLAND ]; } /** * Returns testing credentials to be printed at checkout in test mode. * * @param string $account_country The country of the account. * @return string */ public function get_testing_instructions( string $account_country ) { return ''; } /** * Returns payment method description for the settings page. * * @param string|null $account_country Country of merchants account. * * @return string */ public function get_description( ?string $account_country = null ) { return __( 'Accept payments with Przelewy24 (P24), the most popular payment method in Poland.', 'woocommerce-payments' ); } }