VirtualMerchant gateway

Contrib type: 
Module
Status: 
Uploaded for testing
Compatibility: 
Ubercart 1.x
Latest version: 
v 1.3

Based off the viaklix module originally developed by ESA Technologies, http://www.esatech.com. VirtualMerchant gateway is used by NOVA Systems / Costco Merchant Services.

Update: a few bug fixes on 12/15/2007.

Jan 3, 2008 Update: a few more bug fixes.

July 21 2008 update: Added in the recommended fixes from the comments below. thanks for the feedback.

AttachmentSize
uc_virtualmerchant.zip3.25 KB

SSL

aswalla,

I cannot thank you enough for developing and contributing this payment module! I have a customer who insists on using Wachovia Bank who then has outsourced all of their Merchant Services to NOVA. And so, it is NOVA's brand new gateway "MyVirtualMerchant" or nothing! I had first attempted and struggled horribly with OSCommerce but, once I discovered Drupal/Ubercart and your Module, I was thrilled - Thanks!

One confirmation question, in order utilize your "test" Transaction mode (also very nice Thank you), does it require that I have first set-up the SSL for the site?

I got this error: "Credit card payment declined wHAT."

And in looking at your code, I see this message falls under the SSL test.
Is my assumption correct?

Thanks in advance - kim

Re: VirtualMerchant gateway

Just updated the virtualmerchant payment gateway module.

Fixes:
1) NOVA appears to require the tax field even if it is just set to 0. So, that is what it is set at. The total amount sent to NOVA then includes product + tax + shipping cost. I hope this is okay with folks.

2) Address verification field was getting screwed up if people had both street address and an apartment number. To remedy this, just the first 20 characters are grabbed for this field, which is the maximum NOVA can accept on this field anyhow.

Please test and let me know how it works for you.

Unable to process your credit card payment.

Aswalla - I'm getting this error on checkout: "We were unable to process your credit card payment. Please verify your card details and try again. If the problem persists, contact us to complete your order."

Anything special I need to do? Have you tested it to work?

Thanks,

-Steve

Re: VirtualMerchant gateway

For some reason, NOVA appears to change their requirements every so often. Latest NOVA changes seemed to break the gateway but I got it working again. Attached is the latest version - 1.2.

Please test.

AttachmentSize
uc_virtualmerchant1.2.zip2.86 KB

Virtual Merchant Payment Gateway Module (1.2) not working for me

Same results. I am in production mode and still not receiving any NOVA responses, only generic Drupal messages.

-Steve

Have you tested v1.2?

Have you test either 1.1 or 1.2? If so, what was your setup?
(I am running Ubercart Alpha8 on Drupal 5.2 with PHP5)

Virtual Merchant Payment Gateway Module (1.2) not working for me

I stopped attempting to process cards on checkout. Instead, I tried processing the payment through the store orders admin page. I'm getting a "Credit card payment declined wHAT." error. I've got SSL working, the VM payment gateway is in production mode, plus I've run a test order from my server to VirtualMerchant using a simple HTML form with the required fields. Any idea what's going on? I'm really anxious for this to be working!

-Steve

How to get a more verbose error

Steve,

I was getting this same error, and it seems to be a generic thing. There is actually more specific error information available but for some reason it doesn't get printed (maybe it gets stored somewhere, but I couldn't find out where).

To access it, you can modify line 178 of uc_virtualmerchant.module from this:
'message' => t('Credit card payment declined wHAT.'),

To this:
'message' => t('Credit card payment declined wHAT. ').print_r($response, TRUE),

This should give you the specific error code and description of the error that you are getting.

Authorized Referrers

Quick qeustion regarding setting the authorized referrer(s) within NOVA's MyVirtualMerchant system interface that limits the url(s) by which NOVA then will only accept HTTP communication from my Ubercart store.

What should that URL be? Their tech support said only that it was the URL(s) of those page(s) where a customer would be entering in their credit card number? Trouble is, when entering this URL into MyVirtualMerchant, the interface would not "take it"?

When I think about it, would it instead be the path to this module where the actual processing/communication is taking place vs. the checkout and Administration Order Processing URL?

Hoping someone who is up and running w/ NOVA & this Module can advise. Please send a private message if answering would leave Ubercart less secure.

(If curious, I am running Drupla 5.5, I believe I am running Ubercart Alpha 8, for sure not yet Beta, and this Module 5.x-1.1-alpha8.)
All is well with my install and I have sucessfully ran a live credit card order through to NOVA but have since set MyVirtualMerchant in such a way that cards will not be processed as I have left the authorized referrer empty, basically blocking all attempts to process.
Once, I have the authorized referrer correct, I will be allowing the store to "Open" officially for business and looking forward to getting going.

Thanks in advance - KIM Smiling

Not Really Realistic

I was having issues with this as well. For checkout it was fairly straightforward, because without even looking in the code to see where the call to their gateway was actually taking place, I knew that checkout only has a few URLs: cart, cart/checkout, cart/checkout/review, and cart/checkout/complete, so I could, if nothing else, enter all those urls into the myvirtualmerchant.com admin interface as allowed referrers.

The problem comes when you want to do processing from the store administration section, because each page you'll be processing from includes the individual order number in it. Without wildcards, this means you'd have to enter each individual order processing page as an allowed page.

I called the support number and asked about using wildcards, and apparently that's not something they support. This essentially rules out being able to use the store administration interface for processing if you've enabled the "Use HTTP Referer" option.

I've just disabled this referer filtering option, as it's unrealistic to expect the store admins to never use that feature.

Good luck! And if you find a way to do that wildcard, post back here and let us know, thanks!

Josiah

Enable HTTP Transactions & Disable HTTP Referrers

That's what I did to get things working in my store, www.mysticinkpublishing.com

-Steve

small tweak

I had to add the following line after line 115 to get it to work for me

'ssl_salestax'=>'0',

I have it working just fine with RC 4

Thanks for the module.

Tim

Re: VirtualMerchant gateway

thanks everyone for the feedback on the module. I have added in the tweaks and made a note in the module to enable http transactions and disable http referrers.

Error message

I just upgraded to Ubercart 1.0 and upgraded the payment module. I ran update.php also.

When running a order/payment in production mode i get the following.

Payment failed: Credit card payment declined error message. Array ( [errorCode] => 4009 [errorName] => Required Field Not Supplied [errorMessage] => The field Customer Code (ssl_customer_code) required but not supplied in the authorization request. )

Any thoughts?

Thanks

update, I added the following between line 118 and 119, It works now, i have no clue why that field is required, it shows it isn't in the developers manual.

'ssl_customer_code' => 1111,

let me know if this is wrong
thanks

no response after confirmation

Have drupal 5.9 (latest)(new install)
ubercart - latest update
and I have the latest uc_virtualmerchant.zip I belive this updated with the last ubercart
I have the gateway set to vm in test when I try to make payment it simply goes back to checkout page with no error and does not process. - no other response-
I also tried swiching to production just to try and get a response -no response, it just goes back to checkout page-

I did do the https on and referreers off on the vm panel but nothing else. It seems I'm not getting to VM site because I'm not getting a response of any kind. The process takes me to the confirm page and then when I try to proceed with payment it just lands me back on the checkout page with no error message or reponse.

Using the test gateway works....

scratch that..it was working until the last update so I going to post this on the main support page

Running this on a linux system

Any help or a direction to start looking?? It would help if I could get an error or response of some kind.

This turned out to be an update issue.

The orders process but it only sets the the order to pending on confirm it does not auto run the transaction. I see were I could process on order view but some card info is missing and this shouldn't be the processs. One would expect on confirm order that it processes and either completes the transaction or returns an error of some kind? Am I missing something?