
Originally Posted by
DrByte
It's probably code in the module itself, and likely in the confirmation() function, since that's what prepares the content which is eventually requested and displayed by the template.
Thanks for the push in the right direction. Spent a few hours on it and just can not seem to locate any code I can edit to add the month numbers 
Not a big deal but now I want to figure it out just because ;)
Looked in every module file and didn't see any changeable code that relates to the months.
I did find different instances of this:
Code:
$confirmation['fields'][] = array(
'title' => '<span class="card_hide" style="margin-right:10px">' . MODULE_PAYMENT_STRIPEPAY_CREDIT_CARD_EXPIRES . '</span>'.zen_draw_pull_down_menu('', $expires_month, '', 'class="card_expiry_month card_hide"') . ' ' . zen_draw_pull_down_menu('', $expires_year, '', 'class="card-expiry-year card_hide"'),
'field' => ''
Thought maybe it was calling for a zencart file that maybe had the months in it. Did find one but changing the instances of say January to 1-January did not update the stripe payment page. Should not be this hard to find but maybe im looking in the wrong place or thinking to symple (find months and change to number plus months).
When you look at the view page source from my checkout page you see this portion of source code. Thought it might help me sort it out but dint really. If you see anything let me know.
Code:
</script><script type="text/javascript">
function stripeResponseHandler(status, response) {
if (response.error) {
alert(response.error.message);
//$(".payment-errors").text(response.error.message);
} else {
var form$ = $("form[name=checkout_confirmation]");
var token = response['id'];
form$.append("<input type='hidden' name='StripeToken' value='" + token + "'/>");
if ( $('.new_stripe').attr('checked')) {
form$.append("<input type='hidden' name='StripeSaveCard' value='YES'/>");
}
form$.attr('action', 'index.php?main_page=checkout_process');
//hide button
$("#tdb5").hide();
// and submit
form$.get(0).submit();
}
}
</script></div>
<div class="important">
<div class="back"><span class="card_hide" style="margin-right:10px">Card Owner</span><input type="text" name="" value="Marne Mobley" class="card-name card_hide" /></div>
<div ></div>
<div class="back"><span class="card_hide" style="margin-right:10px">Credit Card Number</span><input type="text" name="" style="display:inline-block; padding-right:10px" class="card_number card_hide" /></div>
<div ></div>
<div class="back"><span class="card_hide" style="margin-right:10px">Expiry</span><select name="" class="card_expiry_month card_hide">
<option value="01">January</option>
<option value="02">February</option>
<option value="03">March</option>
<option value="04">April</option>
<option value="05">May</option>
<option value="06">June</option>
<option value="07">July</option>
<option value="08">August</option>
<option value="09">September</option>
<option value="10">October</option>
<option value="11">November</option>
<option value="12">December</option>
I will try and look into it a little later and if I find a solution I will post.
Just wanted to say thanks DrByte for all your contributions to the zencart community! I have been using these forums for years now and have found many successful answers to my questions from your posting! Made a donation at one time for you guys but need to do it again as zencart is an awesome shopping cart and community!
Bookmarks