
Originally Posted by
swguy
I'd like the Keep Card on File checkbox to default to unchecked. I would have thought changing the call to zen_draw_checkbox_field in includes/modules/payment/authorizenet_cim.php line 200 would do it, but it seems stuck on checked. Any thoughts?
hi @swguy,
yeah, that's what i would think as well. that code looks wrong there. not sure how it got that way.... have you tried:
PHP Code:
if (!zen_in_guest_checkout()) {
$selection['fields'][] = array(
'title' => 'Keep Card on File',
'field' => zen_draw_checkbox_field('authorizenet_cim_save', '', false),
// '' . ' id="' . $this->code . '-save"' . $onFocus),
'tag' => $this->code . '-save'
);
}
that seems to work for me. i tested on a base157 install as well as on a customized 157a site.
it does not look like that other stuff is doing whatever it was i intended it to do there.
i will fix that in the next release. thanks for pointing it out!
best.