icon = AQRPFW_ASSETS . 'img/afterpay.png'; // Fallback title if settings not saved yet if ( empty( $this->title ) ) { $this->title = sprintf( /* translators: %s: Payment provider name (Afterpay) */ _x( '%s QR Pay', 'Payment method title format', 'all-qr-pay-for-woocommerce' ), $this->providerName ); } // Default description tuned for Afterpay if ( empty( $this->description ) || $this->description === __( 'Scan QR and provide transaction details.', 'all-qr-pay-for-woocommerce' ) ) { $this->description = __( 'Scan the Afterpay QR and enter the reference/transaction ID after payment.', 'all-qr-pay-for-woocommerce' ); } } }