{# # Single Payment Method (Bootstrap 5 Override) # # Renders a payment gateway as a list-group-item with radio and description. # # Expected context: # gateway - WC_Payment_Gateway object with: # .id - Gateway ID # .get_title() - Gateway title # .get_icon() - Gateway icon HTML # .has_fields() - Whether gateway has inline fields # .get_description() - Gateway description # .chosen - Whether this is the selected gateway # .payment_fields() - Renders inline payment fields # # WooCommerce PHP equivalent: checkout/payment-method.php # # @package WcBootstrap # @since 0.1.0 #}
{{ gateway.get_description()|wp_kses_post }}
{% endif %} {{ gateway.payment_fields() }}