<?php/** * Output a single payment method * * This template can be overridden by copying it to yourtheme/woocommerce/checkout/payment-method.php. * * HOWEVER, on occasion WooCommerce will need to update template files and you * (the theme developer) will need to copy the new files to your theme to * maintain compatibility. We try to do this as little as possible, but it does * happen. When this occurs the version of the template file will be bumped and * the readme will list any important changes. * * @see https://docs.woocommerce.com/document/template-structure/ * @author WooThemes * @package WooCommerce/Templates * @version 2.3.0 */if(!defined('ABSPATH')){exit;}?><liclass="wc_payment_method payment_method_<?phpecho$gateway->id;?>"><inputid="payment_method_<?phpecho$gateway->id;?>"type="radio"class="input-radio"name="payment_method"value="<?phpechoesc_attr($gateway->id);?>"<?phpchecked($gateway->chosen,true);?>data-order_button_text="<?phpechoesc_attr($gateway->order_button_text);?>"/><labelfor="payment_method_<?phpecho$gateway->id;?>"><?phpecho$gateway->get_title();?><?phpecho$gateway->get_icon();?></label><?phpif($gateway->has_fields()||$gateway->get_description()):?><divclass="payment_box payment_method_<?phpecho$gateway->id;?>"<?phpif(!$gateway->chosen):?>style="display:none;"<?phpendif;?>><?php$gateway->payment_fields();?></div><?phpendif;?></li>