Re: [BETA] QuickBooks Merchant Service
All set up done and tried to make a transaction. Like others, I do not see a charge in Merchant Account. Check out went successful. How would I see in Zencart if the transaction worked? Or do I just see it if I log in the merchant account? What if I need to refund?
I got no errors and no transaction posted to my merchant account. I will re-check everything as advised to others anyway.
Re: [BETA] QuickBooks Merchant Service
Quote:
Originally Posted by
Securfocus
2)I already had QBMS - not the web store portion
3)Once it works you *CAN* see your transactions through Merchant Service Deposits on the QB Accounting Software home page.
Where exactly do you see this? I still can't find my transaction. No errors.
Re: [BETA] QuickBooks Merchant Service
Ok, maybe I posted a bit fast, the transaction did show up if I just go to my merchantcenter and go to Search and reporting - search for transactions. Now I see my test transactions but how would I refund?
Re: [BETA] QuickBooks Merchant Service
I posted again too fast, sorry.
Now I see my test transactions and I see that there is a refund option. So far so good. Now just the question remains how to get the transactions downloaded to QB. I am not taking about the QBI features of importing the orders from Zen, just getting the financial transaction data into QB. How are you guys handling this? Let's say you have 10 transactions for the day from web sales. How do you track them in QB?
Re: [BETA] QuickBooks Merchant Service
Mod works but validation of cvv BEFORE it gets sent to QB merchant service gateway does not work. I can check out without giving CVV. All settings are done so CVV should get checked. Offline CC mod java popup works fine. In this mod not.
I looked at the code that should make it work, did anybody modify so it works?
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;
1 Attachment(s)
Re: [BETA] QuickBooks Merchant Service
Follow up on previous post. I tested other payment modules like Authorize.net and the ccv java pop up works there too. It seems something is wrong with the code in the qbms.php
I want the error to pop up if no cvv is given: (see attached picture)
Any help would be greatly appreciated.
Re: [BETA] QuickBooks Merchant Service
Are you sure you have "Verify Credit Card with CVV2" set to TRUE in the admin Payment Modules settings for qbms?
Re: [BETA] QuickBooks Merchant Service
Confirmed. I'm going to work with this - and will let you know if I find the "bug". But this validation code is not running at all.
Re: [BETA] QuickBooks Merchant Service
Found the issue with the js not validating. The code is correct, the alert is not called. Will fix and post solution.
Re: [BETA] QuickBooks Merchant Service
OK - Here is the fix. Thanks for picking that up. I reformatted a little to match up with the standard cc module. But the key was correct opening/closing of tags. Also - the test for CVV2 length was incorrect - so please note that change as well.
Code:
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" .
' }' . "\n";
if (MODULE_PAYMENT_QBMS_VERIFY_WITH_CVV2 == 'True') {
$js .= ' var cc_cvv2 = document.checkout_payment.qbms_cc_cvv2.value;' . "\n" .
' if (cc_cvv2 == "" || cc_cvv2.length < ' . 3 . ') {' . "\n" .
' error_message = error_message + "' . MODULE_PAYMENT_QBMS_TEXT_JS_CC_CVV2 . '";' . "\n" .
' error = 1;' . "\n" .
' }' . "\n";
}
$js .= ' }' . "\n";
return $js;
}