HEX
Server: nginx/1.18.0
System: Linux iZj6c1ieg2jrpk1z5tzi19Z 6.3.9-1.el7.elrepo.x86_64 #1 SMP PREEMPT_DYNAMIC Wed Jun 21 22:18:40 EDT 2023 x86_64
User: www (1001)
PHP: 8.2.4
Disabled: passthru,exec,system,putenv,chroot,chgrp,chown,shell_exec,popen,proc_open,pcntl_exec,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru,pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,imap_open,apache_setenv
Upload Files
File: /www/wwwroot/www.cytocare.cn/wp-content/plugins/woo-wechatpay/inc/templates/computer-pay-qr.php
<?php if ( ! defined( 'ABSPATH' ) ) {
	exit; // Exit if accessed directly
}

?>
<div id="woowechatpay_qr_code_container">
	<?php if ( $has_result ) : ?>
		<p><?php esc_html_e( 'Please scan the QR code with WeChat to finish the payment.', 'woo-wechatpay' ); ?></p>
		<p class="woowechatpay-qr-error woocommerce-error"></p>
		<div id="woowechatpay_code">
			<?php if ( $qr_img_header ) : ?>
				<img class="woowechatpay-qr-header" alt="QR header" src="<?php echo esc_url( $qr_img_header ); ?>"/>
			<?php endif; ?>
			<?php if ( $qr_placeholder ) : ?>
				<img class="woowechatpay-qr-placeholder" alt="QR placeholder" src="<?php echo esc_url( $qr_placeholder ); ?>"/>
			<?php endif; ?>
			<img id="woowechatpay_qr_code" alt="QR Code" data-oid="<?php echo esc_attr( $order_id ); ?>" src="<?php echo esc_url( $qr_url ); ?>"/>
			<?php if ( $qr_img_footer ) : ?>
				<img class="woowechatpay-qr-footer" alt="QR footer" src="<?php echo esc_url( $qr_img_footer ); ?>"/>
			<?php endif; ?>
		</div>
		<?php if ( $qr_phone_bg ) : ?>
			<img class="woowechatpay-qr-bg" alt="QR help" src="<?php echo esc_url( $qr_phone_bg ); ?>"/>
		<?php endif; ?>
	<?php else : ?>
		<p class="woocommerce-error">
			<?php esc_html_e( 'Error generating the payment QR code. If the problem persists, please contact our services.', 'woo-wechatpay' ); ?>
		</p>
		<?php if ( ! empty( $error ) ) : ?>
			<p>
				<?php echo esc_html( $error ); ?>
			</p>
			<div class="woocommerce-info">
				<a href="<?php echo esc_url( get_permalink( wc_get_page_id( 'shop' ) ) ); ?>" class="button wc-forward">
					<?php esc_html_e( 'Return to shop', 'woocommerce' ); ?>
				</a>
				<?php esc_html_e( 'Place a new order and try again.', 'woo-wechatpay' ); ?>
			</div>
		<?php endif; ?>
	<?php endif; ?>
</div>