Quote Originally Posted by mydanilo View Post
numinix, thanks for offering. Turns out that if I use cc.php offline credit card mod it works fine with the cvv warning. I want to use the qbms.php quickbooks merchant payment module. Seems like the verification JavaScript is not working correctly. I think it was made for a older zen version where no pop up warning was used. I would love to have it modified to give me the same pop up warning. Here is the script that needs to be modified:

HTML Code:
  // function javascript_validation: Validates the submitted payment details.
   function javascript_validation() {
      $js = '  if (payment_value == "' . $this->code . '") {' . "\n" .
            '    var cc_owner = document.checkout_payment.qbms_cc_owner.value;' . "\n" .
            '    var cc_number = document.checkout_payment.qbms_cc_number.value;' . "\n" .
            '    if (cc_owner == "" || cc_owner.length < ' . CC_OWNER_MIN_LENGTH . ') {' . "\n" .
            '      error_message = error_message + "' . MODULE_PAYMENT_QBMS_TEXT_JS_CC_OWNER . '";' . "\n" .
            '      error = 1;' . "\n" .
            '    }' . "\n" .
            '    if (cc_number == "" || cc_number.length < ' . CC_NUMBER_MIN_LENGTH . ') {' . "\n" .
            '      error_message = error_message + "' . MODULE_PAYMENT_QBMS_TEXT_JS_CC_NUMBER . '";' . "\n" .
            '      error = 1;' . "\n" .
            '    if (' . MODULE_PAYMENT_QBMS_VERIFY_WITH_CVV2 . ' == "True") {' . "\n" .
            '      var cc_cvv2 = document.checkout_payment.qbms_cc_cvv2.value;' . "\n" .
            '      if (cc_cvv2 == "" || cc_number.length < ' . 3 . ') {' . "\n" .
            '        error_message = error_message + "' . MODULE_PAYMENT_QBMS_TEXT_JS_CC_CVV2 . '";' . "\n" .
            '        error = 1;' . "}\n" .
            '      }' . "\n" .  
            '    }' . "\n" .
            '  }' . "\n";

      return $js;
I know you are a programmer. Would you agree that this is the problem?
No the problem is your files are not all up to date:

Viewing the source I see:

PHP Code:
<form name="checkout" action="https://www.mydanilo.com/fec_confirmation" method="post" id="checkout" onsubmit="submitonce();"
This should say id="checkout_payment".

Get the latest version from the Numinix website.