Forums / Addon Payment Modules / Need help with Virtual Merchant module

Need help with Virtual Merchant module

Views: 120,796

Results 281 to 300 of 357
27 Jun 2008, 2:12 PM
#281
thepatch avatar

thepatch

Zen Follower

Join Date:
Sep 2006
Posts:
281
Plugin Contributions:
0

Need help with Virtual Merchant module

The only potential concern I would see with that method is the 'ficklness' of the DCC system. It only works on certain currencies and even then it relies solely on the Bin range of the card. Bin ranges change from time to time so the DCC option may not be tripped.

Or well, I guess you accounted for that if the 'id' stamp is not returned. Does your process negate the pop up from happening at all?

Samuel Turnmire
co-Founder
geekFoundry

3 Feb 2009, 7:55 PM
#282
techiant avatar

techiant

New Zenner

Join Date:
Oct 2008
Posts:
82
Plugin Contributions:
0

Re: Need help with Virtual Merchant module

Has anyone tested this with v1.3.8?

Thanks

**Case Badges** by Techiant

25 Mar 2009, 9:17 PM
#283
missb avatar

missb

New Zenner

Join Date:
Mar 2009
Posts:
4
Plugin Contributions:
0

Re: Need help with Virtual Merchant module

I am needing some serious help. I am to the point of pulling my hair out. we currently have my virtual merchant to process our cards. when testing we are receiving the error code 4003.
My question is how do we find the address to put in to the referrel page on our virtual merchant site to have the orders go through? I have put several in already and they are not working. Do they need to be https or can it be http. we currently don't have our site secure till we move our site to our secure domain name. does it need to be a secure address to work? please help!!!!:shocking:

25 Mar 2009, 9:28 PM
#284
thepatch avatar

thepatch

Zen Follower

Join Date:
Sep 2006
Posts:
281
Plugin Contributions:
0

Re: Need help with Virtual Merchant module

Since there's a lot of information missing here I'm going to guess you're getting an invalid referrer URL error message. You have a few different options; you can turn off referring url's; this would just take care of the issue in the matter of a button click. You said your URL is going to change so it might be wise to turn it off in the short term until your site moves to where it's going to be. You'll need to determine if your server is passing a referring url at all and if so what is it. Umm . . . making sense so far?

Samuel Turnmire
co-Founder
geekFoundry

26 Mar 2009, 12:32 AM
#285
rtw819 avatar

rtw819

New Zenner

Join Date:
Feb 2006
Location:
CMH
Posts:
94
Plugin Contributions:
3

Re: Need help with Virtual Merchant module

Techiant:

Has anyone tested this with v1.3.8?

Thanks

There have been no reported problems on v1.3.8a

26 Mar 2009, 12:46 AM
#286
rtw819 avatar

rtw819

New Zenner

Join Date:
Feb 2006
Location:
CMH
Posts:
94
Plugin Contributions:
3

Re: Need help with Virtual Merchant module

missb:

I am needing some serious help. I am to the point of pulling my hair out. we currently have my virtual merchant to process our cards. when testing we are receiving the error code 4003.
My question is how do we find the address to put in to the referrel page on our virtual merchant site to have the orders go through? I have put several in already and they are not working. Do they need to be https or can it be http. we currently don't have our site secure till we move our site to our secure domain name. does it need to be a secure address to work? please help!!!!:shocking:

I would strongly recommend securing your site since card numbers being entered on your site will be in the clear unless your site is using an SSL certificate and customers are using https:// in their browsers.

When you're ready to set up the referrer setting, this might be useful info:

Q: I get the following error when I try to check out:
"4003 - HTTP Referrer Invalid"

A: You must set up a valid referrer in your VM Web Terminal Configuration.
You should set your Web Terminal up with a simple https://mysite.com URL.

Go to the Terminal -> Advanced -> System Setup menu options:

  • MUST Enable HTTP Transactions: (check box)

  • DO set up the HTTP Referrer security option in your Elavon VM configuration.
    (Add your site as a Referrer to the list of authorized referrers!)
    Add ONLY your SSL-based website domain name in the VM Terminal settings.
    Do not include any cart path or subfolder information in this setting.

    Referrer Example: https://www.yoursite.com

Hope this helps!

26 Mar 2009, 4:14 PM
#287
missb avatar

missb

New Zenner

Join Date:
Mar 2009
Posts:
4
Plugin Contributions:
0

Re: Need help with Virtual Merchant module

ThePatch:

Since there's a lot of information missing here I'm going to guess you're getting an invalid referrer URL error message. You have a few different options; you can turn off referring url's; this would just take care of the issue in the matter of a button click. You said your URL is going to change so it might be wise to turn it off in the short term until your site moves to where it's going to be. You'll need to determine if your server is passing a referring url at all and if so what is it. Umm . . . making sense so far?

correct i am getting the invalid referrer url error message. My boss is afraid to turn off the referring urls due to he is afraid that our account will have charges that are not from our site. I'm completely new to all of this. Learning as I go. How do i determine if my server is passing a referrer? How in the world would i know what it is? Is it not working because we do not have a secure url at the moment?

26 Mar 2009, 4:18 PM
#288
missb avatar

missb

New Zenner

Join Date:
Mar 2009
Posts:
4
Plugin Contributions:
0

Re: Need help with Virtual Merchant module

rtw819:

I would strongly recommend securing your site since card numbers being entered on your site will be in the clear unless your site is using an SSL certificate and customers are using https:// in their browsers.

When you're ready to set up the referrer setting, this might be useful info:

Q: I get the following error when I try to check out:
"4003 - HTTP Referrer Invalid"

A: You must set up a valid referrer in your VM Web Terminal Configuration.
You should set your Web Terminal up with a simple https://mysite.com URL.

Go to the Terminal -> Advanced -> System Setup menu options:

  • MUST Enable HTTP Transactions: (check box)

  • DO set up the HTTP Referrer security option in your Elavon VM configuration.
    (Add your site as a Referrer to the list of authorized referrers!)
    Add ONLY your SSL-based website domain name in the VM Terminal settings.
    Do not include any cart path or subfolder information in this setting.

    Referrer Example: https://www.yoursite.com

Hope this helps!

I do currently have our current site, example: http://www.yoursite.com as one of our referrers. but i also have others. should i delete the other referrers and see if just the basic url will work? we plan to secure the site once we transfer over to our other url. we are using an unsecure site to build our new website and work out the kinks before transfering over to our company live url. am i making any sense? :smile:

27 Mar 2009, 3:18 AM
#289
rtw819 avatar

rtw819

New Zenner

Join Date:
Feb 2006
Location:
CMH
Posts:
94
Plugin Contributions:
3

Re: Need help with Virtual Merchant module

missb:

I do currently have our current site, example: http://www.yoursite.com as one of our referrers. but i also have others. should i delete the other referrers and see if just the basic url will work? we plan to secure the site once we transfer over to our other url. we are using an unsecure site to build our new website and work out the kinks before transfering over to our company live url. am i making any sense? :smile:

Yep, makes perfect sense. Your server, more specifically the VM Enhanced Payment Module (which I wrote), does send a Referrer to Elavon when processing card transactions for security purposes. The VMEPM code uses the Zen environment variable HTTPS_SERVER as the referrer when submitting payments to Elavon. Even though you may not be using the SSL address yet, trying adding the "https://www.yoursite.com" as your referrer.

Also, another way to look at this... Do you have the VM Payment Module logging turned on? If so, take a peek at your VM payment transaction logs on your store's server and look for the "Referrer:" entry in the logs. You will want to add that entry which is being displayed in the log, verbatim, to your VM Web Terminal System Setup. This is the actual value being sent to Elavon to match against.

Hope we're still making sense? :)

9 Apr 2009, 5:20 PM
#290
shady_gun avatar

shady_gun

New Zenner

Join Date:
Apr 2009
Posts:
2
Plugin Contributions:
0

Re: Need help with Virtual Merchant module

wow what a thread.........rtw and thepatch you guys rock...........

:clap::clap::clap::clap::clap:

23 Apr 2009, 6:45 PM
#291
dchardy avatar

dchardy

New Zenner

Join Date:
Apr 2009
Posts:
1
Plugin Contributions:
0

Re: Need help with Virtual Merchant module

OK, so I am setting up this payment module on ZC 1.3.8, and ran into the referrer problem - it seems that the module sets the referrer to the global variable "HTTPS_SERVER", i.e., "http://yoursite.com". NOVA software support says that the referrer can't just be "http://yoursite.com" (even if that's entered as an Authorized Referrer in Virtual Merchant) - it needs to be the whole URL, including the filename - "http://yoursite.com/index.php" or whatever. Setting CURLOPT_REFERER manually in includes/modules/payment/virtualmerchant.php (line 590) makes it work. Sounds like we need another patch.

Great module, though, thanks to the author!

david

7 May 2009, 5:21 PM
#292
freeohio avatar

freeohio

New Zenner

Join Date:
Dec 2007
Posts:
9
Plugin Contributions:
0

Re: Need help with Virtual Merchant module

Great contribution! I read the thread and the README and don't see if it's possible to process the cards through the VM module ad-hoc at a later time (not when the order is processed). Our site takes orders for an event, not for products. The cards are only charged if the enrollment target is set.

Thanks in advance.

7 May 2009, 8:37 PM
#293
helpme avatar

helpme

Totally Zenned

Join Date:
Apr 2007
Posts:
632
Plugin Contributions:
0

Re: Need help with Virtual Merchant module

Okay before I dive into installing, signing up and such.....does anyone use Elavon with the virtual terminal (for free) with 1.3.8a with complete success. How much work am I looking at?
Elavon won't say that zen cart is compatible so I am a little afraid of having to pay the $400 cancelation fee and never even get to use it!
any info would be greatly appreciated!

11 May 2009, 9:03 AM
#294
shady_gun avatar

shady_gun

New Zenner

Join Date:
Apr 2009
Posts:
2
Plugin Contributions:
0

Re: Need help with Virtual Merchant module

Can anyone provide me with test account of myvirtualpayment so that i can use it for testing purpose???

thanks:smile:

30 May 2009, 7:19 PM
#295
mau108 avatar

mau108

New Zenner

Join Date:
May 2009
Posts:
11
Plugin Contributions:
0

Re: Need help with Virtual Merchant module

I'm having a hard time configuring this module.

I am trying to process orders through and I get Credit Card Processing Error: 4012 - VID/UID Invalid.

Merchant Number - Is this suppose to be the 801###... or the 7 digit number??

User ID - is this either webpage or website or is it the 7 digit number?

User PIN - I'm assuming this is the pin on the site setup?

3 Jun 2009, 6:26 AM
#296
glennba avatar

glennba

New Zenner

Join Date:
Apr 2009
Location:
Highlands Ranch, CO
Posts:
1
Plugin Contributions:
0

Re: Need help with Virtual Merchant module

New Zenner,

I actually just got this module up and running this evening in my local dev environment. To answer your question about the test credit card info. I called VM and they gave me a number to test with.

With regard to the values you're using to configure the VM module. It looks like you have everything correct except for the Merchant Number. For Merchant Number you'll actually want to put in your account ID. Apparently this is a fairly common mistake.

I also made one small modification to the virtualmerchant.php to accomodate the test credit card number they gave me. It's a hack but at least it allows me to test. I also can't think of a reason I shouldn't do this. I'll likely comment it out after I've moved to production and feel confident everything is working as it should.

Inside pre_confirmation_check within virtualmerchant.php I added the following code:

	if($_POST['virtualmerchant_cc_number'] == '<your test card number here>')
	{
		$result = 1;		
	}
	else
	{
		$result = $cc_validation->validate($_POST['virtualmerchant_cc_number'], $_POST['virtualmerchant_cc_expires_month'], $_POST['virtualmerchant_cc_expires_year']);
	}
5 Jun 2009, 11:19 PM
#297
somedude avatar

somedude

New Zenner

Join Date:
Jun 2009
Posts:
1
Plugin Contributions:
0

Re: Need help with Virtual Merchant module

I read through the thread and I'm trying to wrap my head around what exactly DCC is and what the issues are with foreign currency, but my problem is that we've been getting errors when people not in the U.S. are trying to make purchases (countries like Norway, Sweden, Australia and a few others). Hopefully someone will be tipped off as to what's wrong. I'll try to provided as much information as I can about the problem.

website: dz-nuts.com
Zen cart version: 1.3.8
VM enhanced payment gateway module version: 1.2
Error in log file: UNRECOGNIZED RESPONSE

Transactions from the U.S. are working just fine. One person that emailed customer support said that he tried paying in U.S. Dollars but that still didn't work. We have quite a few log files with these failed transaction, but I'm not sure which parts of the log files will be most helpful and which pieces of data I need to scrub before posting. If someone can let me know about that I can post the errors.

Also, we called Virtual Merchant and they said they're not getting any of the transactions that are saying failed - no error, no request or anything - supposedly it never gets to them.

Any help would be greatly appreciated, thanks!

9 Jun 2009, 4:49 AM
#298
rtw819 avatar

rtw819

New Zenner

Join Date:
Feb 2006
Location:
CMH
Posts:
94
Plugin Contributions:
3

Re: Need help with Virtual Merchant module

freeohio:

Great contribution! I read the thread and the README and don't see if it's possible to process the cards through the VM module ad-hoc at a later time (not when the order is processed). Our site takes orders for an event, not for products. The cards are only charged if the enrollment target is set.

Thanks in advance.

Hi freeohio,

Thanks!! Sorry, the module is not capable of a store-and-process-later configuration as it is written as that was not the intended purpose of this module. Its purpose is to provide a real time authorization and approval of credit card transactions at customer checkout through the VM web terminal, and does NOT store the credit card number. There are other modules that can be used which will store the card number, although I don't recommend it. You could run the stored transactions (from the generic CC module) manually later as it sounds like what you are doing anyway?

9 Jun 2009, 4:53 AM
#299
rtw819 avatar

rtw819

New Zenner

Join Date:
Feb 2006
Location:
CMH
Posts:
94
Plugin Contributions:
3

Re: Need help with Virtual Merchant module

dchardy:

OK, so I am setting up this payment module on ZC 1.3.8, and ran into the referrer problem -
...
...
Setting CURLOPT_REFERER manually in includes/modules/payment/virtualmerchant.php (line 590) makes it work. Sounds like we need another patch.

Great module, though, thanks to the author!

david

Hi David,

Thanks!! I can add this as a To-Do for the next release of the module...

9 Jun 2009, 5:09 AM
#300
rtw819 avatar

rtw819

New Zenner

Join Date:
Feb 2006
Location:
CMH
Posts:
94
Plugin Contributions:
3

Re: Need help with Virtual Merchant module

glennba:

I also made one small modification to the virtualmerchant.php to accomodate the test credit card number they gave me. It's a hack but at least it allows me to test. I also can't think of a reason I shouldn't do this. I'll likely comment it out after I've moved to production and feel confident everything is working as it should.

Inside pre_confirmation_check within virtualmerchant.php I added the following code:
...

Depending on the card number(s) being used -- test or otherwise -- you may have to update / override the valid CC prefix list in cc_validation.php, which is where the CC validation routine happens. Valid card prefixes (and perhaps special/test numbers?) should be listed there first, at least in my thoughts. This would do in a pinch though.

Thanks!