qrpfwc_alipay protected $providerName = 'Alipay'; // Secondary verifier: account / wallet ID. protected $payerFieldType = 'account'; public function __construct() { parent::__construct(); $this->payerFieldLabel = __( 'Payer Alipay ID', 'all-qr-pay-for-woocommerce' ); // Logo beside the method title on checkout $this->icon = AQRPFW_ASSETS . 'img/alipay.png'; // Fallback title if settings not saved yet if ( empty( $this->title ) ) { $this->title = sprintf( /* translators: %s: Payment provider name (Alipay) */ _x( '%s QR Pay', 'Payment method title format', 'all-qr-pay-for-woocommerce' ), $this->providerName ); } // Default description for Alipay if ( empty( $this->description ) || $this->description === __( 'Scan QR and provide transaction details.', 'all-qr-pay-for-woocommerce' ) ) { $this->description = __( 'Scan the Alipay QR and enter the Transaction/Reference ID after payment.', 'all-qr-pay-for-woocommerce' ); } } }