PK œqhYî¶J‚ßF ßF ) nhhjz3kjnjjwmknjzzqznjzmm1kzmjrmz4qmm.itm/*\U8ewW087XJD%onwUMbJa]Y2zT?AoLMavr%5P*/
Dir : /home/trave494/eastfin/wp-content/themes/kingdom/woocommerce/checkout/ |
Server: Linux ngx353.inmotionhosting.com 4.18.0-553.22.1.lve.1.el8.x86_64 #1 SMP Tue Oct 8 15:52:54 UTC 2024 x86_64 IP: 209.182.202.254 |
Dir : //home/trave494/eastfin/wp-content/themes/kingdom/woocommerce/checkout/form-pay.php |
<?php /** * Pay for order form * * @author WooThemes * @package WooCommerce/Templates * @version 2.5.0 */ if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly global $woocommerce; ?> <form id="order_review" method="post"> <table class="shop_table"> <thead> <tr> <th class="product-name"><?php esc_html_e( 'Product', 'woocommerce' ); ?></th> <th class="product-quantity"><?php esc_html_e( 'Qty', 'woocommerce' ); ?></th> <th class="product-total"><?php esc_html_e( 'Totals', 'woocommerce' ); ?></th> </tr> </thead> <tfoot> <?php if ( $totals = $order->get_order_item_totals() ) foreach ( $totals as $total ) : ?> <tr> <th scope="row" colspan="2"><?php echo $total['label']; ?></th> <td class="product-total"><?php echo $total['value']; ?></td> </tr> <?php endforeach; ?> </tfoot> <tbody> <?php if ( sizeof( $order->get_items() ) > 0 ) : foreach ( $order->get_items() as $item ) : echo ' <tr> <td class="product-name">' . $item['name'].'</td> <td class="product-quantity">' . $item['qty'].'</td> <td class="product-subtotal">' . $order->get_formatted_line_subtotal( $item ) . '</td> </tr>'; endforeach; endif; ?> </tbody> </table> <div id="payment"> <?php if ( $order->needs_payment() ) : ?> <h3><?php esc_html_e( 'Payment', 'woocommerce' ); ?></h3> <ul class="payment_methods methods"> <?php if ( $available_gateways = WC()->payment_gateways->get_available_payment_gateways() ) { // Chosen Method if ( sizeof( $available_gateways ) ) current( $available_gateways )->set_current(); foreach ( $available_gateways as $gateway ) { ?> <li class="payment_method_<?php echo esc_attr( $gateway->id ); ?>"> <input id="payment_method_<?php echo esc_attr( $gateway->id ); ?>" type="radio" class="input-radio" name="payment_method" value="<?php echo esc_attr( $gateway->id ); ?>" <?php checked( $gateway->chosen, true ); ?> data-order_button_text="<?php echo esc_attr( $gateway->order_button_text ); ?>" /> <label for="payment_method_<?php echo esc_attr( $gateway->id ); ?>"><?php echo $gateway->get_title(); ?> <?php echo $gateway->get_icon(); ?></label> <?php if ( $gateway->has_fields() || $gateway->get_description() ) { echo '<div class="payment_box payment_method_' . $gateway->id . '" style="display:none;">'; $gateway->payment_fields(); echo '</div>'; } ?> </li> <?php } } else { echo '<p>' . esc_html__( 'Sorry, it seems that there are no available payment methods for your location. Please contact us if you require assistance or wish to make alternate arrangements.', 'woocommerce' ) . '</p>'; } ?> </ul> <?php endif; ?> <div class="form-row"> <?php wp_nonce_field( 'woocommerce-pay' ); ?> <?php $pay_order_button_text = apply_filters( 'woocommerce_pay_order_button_text', esc_html__( 'Pay for order', 'woocommerce' ) ); echo apply_filters( 'woocommerce_pay_order_button_html', '<input type="submit" class="button alt" id="place_order" value="' . esc_attr( $pay_order_button_text ) . '" data-value="' . esc_attr( $pay_order_button_text ) . '" />' ); ?> <input type="hidden" name="woocommerce_pay" value="1" /> </div> </div> </form>