function payment_form($cart)
 {
     global $tc;
     $this->maybe_start_session();
     $content = '';
     $content .= '<div id="paymill_checkout_errors"></div>';
     $content .= '<table class="tc_cart_billing">
     <thead><tr>
       <th colspan="2">' . __('Enter Your Credit Card Information:', 'tc') . '</th>
     </tr></thead>
     <tbody>
       <tr>
       <td>' . __('Cardholder Name:', 'tc') . '</td>
       <td><input class="card-holdername tickera-input-field" type="text" value="' . esc_attr($this->buyer_info('full_name')) . '" /> </td>
       </tr>';
     $content .= '<tr>';
     $content .= '<td>';
     $content .= __('Card Number', 'tc');
     $content .= '</td>';
     $content .= '<td>';
     $content .= '<input type="text" autocomplete="off" class="card-number"/>';
     $content .= '</td>';
     $content .= '</tr>';
     $content .= '<tr>';
     $content .= '<td>';
     $content .= __('Expiration:', 'tc');
     $content .= '</td>';
     $content .= '<td>';
     $content .= '<select class="card-expiry-month">';
     $content .= tc_months_dropdown();
     $content .= '</select>';
     $content .= '<span> / </span>';
     $content .= '<select class="card-expiry-year">';
     $content .= tc_years_dropdown('', true);
     $content .= '</select>';
     $content .= '</td>';
     $content .= '</tr>';
     $content .= '<tr>';
     $content .= '<td>';
     $content .= __('CVC:', 'tc');
     $content .= '</td>';
     $content .= '<td>';
     $content .= '<input type="text" size="4" autocomplete="off" class="card-cvc" />';
     $content .= '<input type="hidden" class="currency" value="' . $this->currency . '" />';
     $content .= '<input type="hidden" class="amount" value="' . $this->total() * 100 . '" />';
     $content .= '</td>';
     $content .= '</tr>';
     $content .= '</table>';
     $content .= '<span id="paymill_processing" style="display: none;float: right;"><img src="' . $tc->plugin_url . 'images/loading.gif" /> ' . __('Processing...', 'tc') . '</span>';
     return $content;
 }
    function payment_form($cart)
    {
        $cc_number = isset($_POST['tcbs_cc_number']) ? $_POST['tcbs_cc_number'] : '';
        $cc_exp_month = isset($_POST['tcbs_cc_month']) ? $_POST['tcbs_cc_month'] : '';
        $cc_exp_year = isset($_POST['tcbs_cc_year']) ? $_POST['tcbs_cc_year'] : '';
        $cc_exp_cvc = isset($_POST['tcbs_cc_cvc']) ? $_POST['tcbs_cc_cvc'] : '';
        $name = $this->buyer_info('full_name');
        $content = '';
        $content .= '<table class = "cart_billing">
	<thead><tr>
	<th colspan = "2">' . __('Enter Your Credit Card Information: ', 'tc') . '</th>
	</tr></thead>
	<tbody>
	<tr>
	<td align = "right">' . __('Cardholder Name: ', 'tc') . '</td><td>
	<input id = "tcbs_cc_name" name = "' . $this->plugin_name . '_cc_name" type = "text" value = "' . esc_attr($name) . '" /> </td>
	</tr>';
        $content .= '<tr>';
        $content .= '<td align = "right">';
        $content .= __('Card Number', 'tc');
        $content .= '</td>';
        $content .= '<td>';
        $content .= '<input type = "text" autocomplete = "off" name = "' . $this->plugin_name . '_cc_number" id = "' . $this->plugin_name . '_cc_number"/>';
        $content .= '</td>';
        $content .= '</tr>';
        $content .= '<tr>';
        $content .= '<td align = "right">';
        $content .= __('Expiration: ', 'tc');
        $content .= '</td>';
        $content .= '<td>';
        $content .= '<select id = "' . $this->plugin_name . '_cc_month" name = "' . $this->plugin_name . '_cc_month">';
        $content .= tc_months_dropdown();
        $content .= '</select>';
        $content .= '<span> / </span>';
        $content .= '<select id = "' . $this->plugin_name . '_cc_year" name = "' . $this->plugin_name . '_cc_year">';
        $content .= tc_years_dropdown('', false);
        $content .= '</select>';
        $content .= '</td>';
        $content .= '</tr>';
        $content .= '<tr>';
        $content .= '<td align = "right">';
        $content .= __('CVC: ', 'tc');
        $content .= '</td>';
        $content .= '<td>';
        $content .= '<input id = "' . $this->plugin_name . '_cc_cvc" name = "' . $this->plugin_name . '_cc_cvc" type = "text" maxlength = "4" autocomplete = "off" value = ""/>';
        $content .= '</td>';
        $content .= '</tr>';
        $content .= '</table>';
        return $content;
    }
 function payment_form($cart)
 {
     global $tc;
     $content = '';
     $content .= '<div id="braintree_checkout_errors"></div>';
     $content .= '<table class="tc_cart_billing">
     <thead><tr>
       <th colspan="2">' . __('Enter Your Credit Card Information:', 'tc') . '</th>
     </tr></thead>
     <tbody>';
     $content .= '<tr>';
     $content .= '<td>';
     $content .= __('Card Number', 'tc');
     $content .= '</td>';
     $content .= '<td>';
     $content .= '<input type="text" autocomplete="off" class="card-number" data-encrypted-name="number" />';
     $content .= '</td>';
     $content .= '</tr>';
     $content .= '<tr>';
     $content .= '<td>';
     $content .= __('Expiration:', 'tc');
     $content .= '</td>';
     $content .= '<td>';
     $content .= '<select class="card-expiry-month" name="month">';
     $content .= tc_months_dropdown();
     $content .= '</select>';
     $content .= '<span> / </span>';
     $content .= '<select class="card-expiry-year" name="year">';
     $content .= tc_years_dropdown('', true);
     $content .= '</select>';
     $content .= '</td>';
     $content .= '</tr>';
     $content .= '<tr>';
     $content .= '<td>';
     $content .= __('CVV:', 'tc');
     $content .= '</td>';
     $content .= '<td>';
     $content .= '<input type="text" size="4" autocomplete="off" class="card-cvc" data-encrypted-name="cvv" />';
     $content .= '</td>';
     $content .= '</tr>';
     $content .= '</table>';
     $content .= '<script>
   var braintree = Braintree.create("' . $this->cse_key . '");
   braintree.onSubmitEncryptForm("tc_payment_form");
 </script>';
     $content .= '<span id="braintree_processing" style="display: none;float: right;"><img src="' . $tc->plugin_url . 'images/loading.gif" /> ' . __('Processing...', 'tc') . '</span>';
     return $content;
 }
    function payment_form($cart)
    {
        global $tc;
        $content = '';
        $content .= '<div id="simplify_commerce_checkout_errors"></div>';
        $content .= '<table class="tc_cart_billing">
	        <thead><tr>
	          <th colspan="2">' . __('Enter Your Credit Card Information:', 'tc') . '</th>
	        </tr></thead>
	        <tbody>
	          <tr>
	          <td align="right">' . __('Cardholder Name:', 'tc') . '</td><td>
						<input id="sc_cc_name" type="text" value="' . esc_attr($this->buyer_info('full_name')) . '" /> </td>
	          </tr>';
        $content .= '<tr>';
        $content .= '<td align="right">';
        $content .= __('Card Number', 'tc');
        $content .= '</td>';
        $content .= '<td>';
        $content .= '<input type="text" autocomplete="off" id="sc_cc_number"/>';
        $content .= '</td>';
        $content .= '</tr>';
        $content .= '<tr>';
        $content .= '<td align="right">';
        $content .= __('Expiration:', 'tc');
        $content .= '</td>';
        $content .= '<td>';
        $content .= '<select id="sc_cc_month">';
        $content .= tc_months_dropdown();
        $content .= '</select>';
        $content .= '<span> / </span>';
        $content .= '<select id="sc_cc_year">';
        $content .= tc_years_dropdown('', false);
        $content .= '</select>';
        $content .= '</td>';
        $content .= '</tr>';
        $content .= '<tr>';
        $content .= '<td align="right">';
        $content .= __('CVC:', 'tc');
        $content .= '</td>';
        $content .= '<td>';
        $content .= '<input id="sc_cc_cvc" type="text" maxlength="4" autocomplete="off" value=""/>';
        $content .= '</td>';
        $content .= '</tr>';
        $content .= '</table>';
        $content .= '<span id="simplify_commerce_processing" style="display:none; float:right;"><img src="' . $tc->plugin_url . 'images/loading.gif" /> ' . __('Processing...', 'tc') . '</span>';
        return $content;
    }
 function payment_form($cart)
 {
     $name = $this->buyer_info('full_name');
     $content = '';
     $content .= '<table class="tc_cart_billing"><thead><tr><th colspan="2">' . __('Enter Your Credit Card Information:', 'tc') . '</th></tr></thead><tbody><tr><td align="right">' . __('Cardholder Name:', 'tc') . '</td><td><input name= "tc_nb_name" id="tc_nb_name" type="text" value="' . esc_attr($name) . '" /> </td></tr>';
     $content .= '<tr>';
     $content .= '<td align="right">';
     $content .= __('Card Number', 'tc');
     $content .= '</td>';
     $content .= '<td>';
     $content .= '<input type="text" autocomplete="off" id="tc_nb_number" name="tc_nb_number"/>';
     $content .= '</td>';
     $content .= '</tr>';
     $content .= '<tr>';
     $content .= '<td align="right">';
     $content .= __('Expiration:', 'tc');
     $content .= '</td>';
     $content .= '<td>';
     $content .= '<select id="tc_nb_month" name="tc_nb_month">';
     $content .= tc_months_dropdown();
     $content .= '</select>';
     $content .= '<span> / </span>';
     $content .= '<select id="tc_nb_year" name="tc_nb_year">';
     $content .= tc_years_dropdown('', false);
     $content .= '</select>';
     $content .= '</td>';
     $content .= '</tr>';
     $content .= '<tr>';
     $content .= '<td align="right">';
     $content .= __('CVC:', 'tc');
     $content .= '</td>';
     $content .= '<td>';
     $content .= '<input id="tc_nb_cvc" name="tc_nb_cvc" type="text" maxlength="4" autocomplete="off" value=""/>';
     $content .= '</td>';
     $content .= '</tr>';
     $content .= '<tr>';
     $content .= '<td align="right">';
     $content .= __('ZIP:', 'tc-netbanx');
     $content .= '</td>';
     $content .= '<td>';
     $content .= '<input id="tc_nb_zip" name="tc_nb_zip" type="text" maxlength="6" minlength="1">';
     $content .= '</td>';
     $content .= '</tr>';
     $content .= '</table>';
     return $content;
 }
    function payment_form($cart)
    {
        global $tc;
        $content = '';
        $content .= '<table class="tc_cart_billing">
        <thead><tr>
          <th colspan="2">' . __('Billing Information:', 'tc') . '</th>
        </tr></thead>
        <tbody>
          <tr>
            <td>' . __('Credit Card Number:', 'tc') . '*</td>
            <td>
              <input name="card_num"  id="card_num" class="credit_card_number input_field noautocomplete" type="text" size="22" maxlength="22" /><div class="hide_after_success nocard cardimage"  id="cardimage" style="background: url(' . $tc->plugin_url . 'images/card_array.png) no-repeat;"></div></td>
          </tr>
          
          <tr>
            <td>' . __('Expiration Date:', 'tc') . '*</td>
            <td>
            <label class="inputLabel" for="exp_month">' . __('Month', 'tc') . '</label>
		        <select name="exp_month" id="exp_month">
		          ' . tc_months_dropdown() . '
		        </select>
		        <label class="inputLabel" for="exp_year">' . __('Year', 'tc') . '</label>
		        <select name="exp_year" id="exp_year">
		          ' . tc_years_dropdown('', true) . '
		        </select>
		        </td>
          </tr>
          
          <tr>
            <td>' . __('CCV:', 'tc') . '</td>
            <td>
            <input id="card_code" name="card_code" class="input_field noautocomplete" type="text" size="4" maxlength="4" /></td>
          </tr>';
        //check to see if it's required to have these fields
        if ($this->additional_fields == 'yes') {
            $content .= '<tr>
              <td>' . __('Address', 'tc') . '</td>
              <td>
              <input id="billing_address" name="billing_address" class="input_field noautocomplete" type="text" /></td>
            </tr>

            <tr>
              <td>' . __('City', 'tc') . '</td>
              <td>
              <input id="city" name="city" class="input_field noautocomplete" type="text" /></td>
            </tr>

            <tr>
              <td>' . __('State', 'tc') . '</td>
              <td>
              <input id="state" name="state" class="input_field noautocomplete" type="text" /></td>
            </tr>

            <tr>
              <td>' . __('Zip Code', 'tc') . '</td>
              <td>
              <input id="zip" name="zip" class="input_field noautocomplete" type="text" /></td>
            </tr>

            <tr>
              <td>' . __('Country', 'tc') . '</td>
              <td>
              <input id="country" name="country" class="input_field noautocomplete" type="text" /></td>
            </tr>
            
            <tr>
              <td>' . __('Phone Number', 'tc') . '</td>
              <td>
              <input id="phone_number" name="phone_number" class="input_field noautocomplete" type="text" /></td>
            </tr>   

            ';
        }
        //if($this->additional_fields == 'yes')
        $content .= '
        </tbody>
      </table>';
        return $content;
    }
 function payment_form($cart)
 {
     global $tc;
     $this->maybe_start_session();
     $content = '';
     $content .= '<div id="paypal_checkout_errors"></div>';
     $content .= '<table class="tc_cart_billing" cellpadding="10">
     <thead><tr>
       <th colspan="2">' . __('Enter Your Credit Card Information:', 'tc') . '</th>
     </tr></thead>
     <tbody>
       <tr>
       <td>' . __('Cardholder First Name:', 'tc') . '</td>
       <td><input class="card-holdername tickera-input-field" name="FIRSTNAME" type="text" value="' . esc_attr($this->buyer_info('first_name')) . '" /> </td>
       </tr>';
     $content .= '<tr>
       <td>' . __('Cardholder Last Name:', 'tc') . '</td>
       <td><input class="card-holdername tickera-input-field" name="LASTNAME" type="text" value="' . esc_attr($this->buyer_info('last_name')) . '" /> </td>
       </tr>';
     $content .= '<tr>
       <td>' . __('Street:', 'tc') . '</td>
       <td><input class="card-street tickera-input-field" name="STREET" type="text" value="" /> </td>
       </tr>';
     $content .= '<tr>
       <td>' . __('City:', 'tc') . '</td>
       <td><input class="card-city tickera-input-field" name="CITY" type="text" value="" /> </td>
       </tr>';
     $content .= '<tr>
       <td>' . __('State or province:', 'tc') . '</td>
       <td><input class="card-state tickera-input-field" name="STATE" type="text" value="" /> </td>
       </tr>';
     $content .= '<tr>
       <td>' . __('Country:', 'tc') . '</td>
       <td>' . tc_countries('', 'COUNTRYCODE') . '</td>
       </tr>';
     $content .= '<tr>
       <td>' . __('ZIP Code:', 'tc') . '</td>
       <td><input class="card-state tickera-input-field" name="ZIP" "type="text" value="" /> </td>
       </tr>';
     $content .= '<tr>';
     $content .= '<td>';
     $content .= __('Card Number', 'tc');
     $content .= '</td>';
     $content .= '<td>';
     $content .= '<input type="text" name="ACCT" autocomplete="off" class="card-number tickera-input-field"/>';
     $content .= '</td>';
     $content .= '</tr>';
     $content .= '<tr>';
     $content .= '<td>';
     $content .= __('Expiration:', 'tc');
     $content .= '</td>';
     $content .= '<td>';
     $content .= '<select class="card-expiry-month" name="CARD_MONTH">';
     $content .= tc_months_dropdown();
     $content .= '</select>';
     $content .= '<span> / </span>';
     $content .= '<select class="card-expiry-year" name="CARD_YEAR">';
     $content .= tc_years_dropdown('', true);
     $content .= '</select>';
     $content .= '</td>';
     $content .= '</tr>';
     $content .= '<tr>';
     $content .= '<td>';
     $content .= __('CVC:', 'tc');
     $content .= '</td>';
     $content .= '<td>';
     $content .= '<input type="text" size="4" autocomplete="off" name="CCV2" class="card-cvc tickera-input-field" />';
     $content .= '<input type="hidden" name="CURRENCYCODE" value="' . $this->currency . '" />';
     $content .= '<input type="hidden" class="AMT" value="' . $this->total() . '" />';
     $content .= '</td>';
     $content .= '</tr>';
     $content .= '</table>';
     $content .= '<span id="paypal_processing" style="display: none;float: right;"><img src="' . $tc->plugin_url . 'images/loading.gif" /> ' . __('Processing...', 'tc') . '</span>';
     return $content;
 }