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

Need help with Virtual Merchant module

Views: 120,796

Results 121 to 140 of 357
6 Dec 2007, 4:44 AM
#121
rtw819 avatar

rtw819

New Zenner

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

Need help with Virtual Merchant module

toboldlygo:

Hi,
Please disregard the previous post I made

I read the instructions over a second time and found out what I needed know in "Database Additional Options" section. I guess I was not set up for PHP curl so I just had to find where my curl binary executable was located, input that into the applicable space in the mod's admin options, and the warning message disappeared.

Looks good now.

You got it!! Not all web servers and hosting providers have cURL enabled PHP installations, hence why I added the additional function/option to call the binary cURL executable. It was a bit of extra work since the methods for calling the two are completely different, but I needed the binary version for my test-bed server, so I went ahead and worked up the functionality to go both ways.

Our production web host had PHP based cURL, but required we use an HTTP/S proxy so that the web server with our cart could get back out to the internet to get approvals from Nova. This might be another struggle for some folks. I tried to make this puppy as versatile as possible so we could jump through all the necessary hoops. :)

Glad you got it figured out. Let us know if you have any other questions.

6 Dec 2007, 6:19 PM
#122
issy avatar

issy

New Zenner

Join Date:
Jan 2006
Posts:
59
Plugin Contributions:
0

Re: Need help with Virtual Merchant module

Hello,
I just installed this mod following the instructions provided and this is the error I get.

Credit Card Processing Error:
Error There has been an error processing your credit card!
Please Try Again Later - TEMPORARY Problem with Credit Card Processing: (127)
An UNEXPECTED PROCESSING ERROR occurred

I'm going to read instructions again and make sure I've done everything right.

Maybe this has to do with VM.

I'll keep you updated.

Thanks

6 Dec 2007, 8:19 PM
#123
hedera avatar

hedera

Zen Follower

Join Date:
Nov 2007
Posts:
128
Plugin Contributions:
0

Re: Need help with Virtual Merchant module

Wow. I set out TODAY to find out if there was a working module for Nova's VirtualMerchant and got this thread. :P I feel like I've been watching the Perils of Pauline; and let me tell all those of you who say you don't know much PHP - compared to me you are absolute masters! I can just barely read the code fragments.

We're still deciding what portal to use (with a very short deadline of course as our existing cert, at the provider we want to leave, is about to expire...) and the availability or not of this module is a major factor.

With many thanks from an awed ZenCart noob -

hedera

Nature bats last.

7 Dec 2007, 3:28 AM
#124
thepatch avatar

thepatch

Zen Follower

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

Re: Need help with Virtual Merchant module

issy:

Hello,
I just installed this mod following the instructions provided and this is the error I get.

Credit Card Processing Error:
Error There has been an error processing your credit card!
Please Try Again Later - TEMPORARY Problem with Credit Card Processing: (127)
An UNEXPECTED PROCESSING ERROR occurred

I'm going to read instructions again and make sure I've done everything right.

Maybe this has to do with VM.

I'll keep you updated.

Thanks

Yea if you can check the error log OR look at the error file in VM you should have an idea. Let us know what you see and we can check about updating the error list.

Samuel Turnmire
co-Founder
geekFoundry

7 Dec 2007, 5:08 AM
#125
rtw819 avatar

rtw819

New Zenner

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

Re: Need help with Virtual Merchant module

issy:

Hello,
Credit Card Processing Error:
Error There has been an error processing your credit card!
Please Try Again Later - TEMPORARY Problem with Credit Card Processing: (127)
An UNEXPECTED PROCESSING ERROR occurred

...

Maybe this has to do with VM.

Hi Issy,

This is a cURL related fatal error of some sort. Which variety (PHP or command line) cURL are you using, and which version of cURL does your web server have? Which version of PHP is your web server running? Are you on a Unix/Linux/Windows web host?

Also, is this error consistent and repeatable? Have you tried turning up the debug level and checking the logs? If you have logs available, could you post them (blanking out any personal info)?

Let me know what you find.

Todd

7 Dec 2007, 6:56 AM
#126
rtw819 avatar

rtw819

New Zenner

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

Re: Need help with Virtual Merchant module

Hi all,

Here below is a very quick and dirty script that will tell you some useful things about your unix-based web host:

  1. which TYPE of cURL software (if any) your web server has installed/available (PHP vs. command line)

and

  1. which VERSION of the cURL software your web server has installed (reports version information on cURL/OpenSSL/zlib)

This will be useful in troubleshooting problems. If reporting issues, please report which type/version of cURL your web server is utilizing by using this script if possible.

Usage: UNZIP and upload the included curl_version.php script to your web server, and browse to this page on your site with your web browser. You should see which cURL options you have available to you to use. You can configure your VM module accordingly. Feel free to remove the file once done. Also, feel free to distribute should you feel the need. Enjoy!

7 Dec 2007, 6:12 PM
#127
palatkwapi avatar

palatkwapi

New Zenner

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

Re: Need help with Virtual Merchant module

Having problems...

This seems difficult to figure out, I have tried everything I can think of, if someone could point me in the right direction here it would be appreciated.

Log message

Dec 07 2007 10:07:29 PST - Version 1.0 - v12052007
Virtual Merchant Order Confirmation Page Reached by: (2) Andy Ward
CUST_EMAIL: [email protected]
CC_OWNER: Andy Ward
CC_OBF_NUM: 4111XXXXXXXX1111 (Visa)
CC_CVV_IND: 1 (PRESENT)
CC_EXP: January, 2009
CC_AMT: USD 28.24
Referrer: https://myserver.com
PHP CURL OPTS:
10016 => https://myserver.com
75 => 1
13 => 30

Admin Mail if Error = False

#Test Output Results: (RC=)200
Array###

Virtual Merchant cURL_Processing_Time : 1.225 seconds
Error Return (Internal Error): payment_error=virtualmerchant&errormessage=An+internal+error+occured+during+the+communication+with+the+Payment+Gateway%21+Please+try+it+again+later.+If+this+error+occurs+again%2C+please+choose+a+different+payment+option+and+inform+customer+support+of+this+error+at+andy%40test.com+%21+Thank+You%21&error=UNRECOGNIZED_RESPONSE&virtualmerchant_cc_owner=Andy+Ward&virtualmerchant_cc_expires_month=01&virtualmerchant_cc_expires_year=09&virtualmerchant_cvv_indicator=1

#Get_Error=UNRECOGNIZED_RESPONSE
#Get_ErrorMessage=An internal error occured during the communication with the Payment Gateway! Please try it again later. If this error occurs again, please choose a different payment option and inform customer support of this error at andy@ test.com ! Thank You!
#Get_Error_Output (Displayed to User)=There has been an error processing your credit card!
There has been an error processing your credit card!<br />An internal error occured during the communication with the Payment Gateway! Please try it again later. If this error occurs again, please choose a different payment option and inform customer support of this error at [email protected] ! Thank You!<br />UNRECOGNIZED_RESPONSE

7 Dec 2007, 11:59 PM
#128
thepatch avatar

thepatch

Zen Follower

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

Re: Need help with Virtual Merchant module

I'm thinking this is another cUrl error. Are you using php curl or the command prompt

Samuel Turnmire
co-Founder
geekFoundry

8 Dec 2007, 8:29 AM
#129
rtw819 avatar

rtw819

New Zenner

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

Re: Need help with Virtual Merchant module

Hi palatkwapi,

It turns out we seem to have uncovered a problem with the PHP-based cURL stuff. I've been able to reproduce the issue you are seeing, and after some troubleshooting I have a pretty good idea of what's going on. Now it's just to figure out a work around. I'll be working on that part this weekend.

In the mean time, can you try the command-line version of cURL if your web server has the binary version available?

Thanks for your patience.

8 Dec 2007, 5:27 PM
#130
palatkwapi avatar

palatkwapi

New Zenner

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

Re: Need help with Virtual Merchant module

ThePatch - It is PHP cURL

rtw819 - The host is a local company so I can't get any changes to the server until Monday, so command line is out of the question at least until then.

Thanks for all the help, let me know if you get something you want to try as my client is very anxious to have their store up in time for the holidays.

8 Dec 2007, 6:34 PM
#131
rtw819 avatar

rtw819

New Zenner

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

Re: Need help with Virtual Merchant module

palatkwapi:

ThePatch - It is PHP cURL

rtw819 - The host is a local company so I can't get any changes to the server until Monday, so command line is out of the question at least until then.

Thanks for all the help, let me know if you get something you want to try as my client is very anxious to have their store up in time for the holidays.

Hi palatkwapi,

Can you upload and run the little curl_version script to see what we're dealing with version wise?

If you find there is a binary curl version installed on your web host, you can use that instead of the PHP-based curl.

Thanks much!

8 Dec 2007, 9:56 PM
#132
rtw819 avatar

rtw819

New Zenner

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

Re: Need help with Virtual Merchant module

I've got to run out for a few hours this evening, but should have an updated version posted later tonight that addresses the PHP cURL issues. Want to do a few more tests before I release it. Thanks again for your patience!

Todd

9 Dec 2007, 8:00 AM
#133
rtw819 avatar

rtw819

New Zenner

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

Re: Need help with Virtual Merchant module

rtw819:

Hi all,

Here below is a very quick and dirty script that will tell you some useful things about your unix-based web host:

  1. which TYPE of cURL software (if any) your web server has installed/available (PHP vs. command line)

and

  1. which VERSION of the cURL software your web server has installed (reports version information on cURL/OpenSSL/zlib)

This will be useful in troubleshooting problems. If reporting issues, please report which type/version of cURL your web server is utilizing by using this script if possible.

Usage: UNZIP and upload the included curl_version.php script to your web server, and browse to this page on your site with your web browser. You should see which cURL options you have available to you to use. You can configure your VM module accordingly. Feel free to remove the file once done. Also, feel free to distribute should you feel the need. Enjoy!

Apparently, not all versions of PHP cURL report the same. Who would have known? Here (attached) is an updated copy of the curl_version script (1,005 byte zip file). There are a lot of variables out there, and it is difficult to account for all cases. This one should provide better (actual) version information when it comes to PHP cURL users with some specific versions of PHP cURL. Sorry for any hassles. Guess it goes to prove that you can't test for everything all the time. Thanks for your patience.

9 Dec 2007, 5:25 PM
#134
rtw819 avatar

rtw819

New Zenner

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

Re: Need help with Virtual Merchant module

There seems to be a problem with https://www.zen-cart.com and HTTPS/443 right now, so I can't login to the download section to upload an updated module - so I'll post it here for the time being.

So, here is Version 1.1 of the Virtual Merchant Enhanced Payment Module. This is a Maintenance Release with some functional updates.

Fixes include updates for PHP-based cURL and some additional logging/debugging changes. Two files were changed, one database config option changed. Please see the included ChangeLog.txt for full details.

While a re-installation is needed to take complete advantage of the updated debug settings, but it IS NOT REQUIRED at this time. Write down all of your settings should you choose to re-install. Again, most users will not need the additional high level debug setting, so for this version, re-installation is being categorized as OPTIONAL.

Enjoy!

Todd

9 Dec 2007, 7:26 PM
#135
vj124 avatar

vj124

New Zenner

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

Re: Need help with Virtual Merchant module

rtw819,
Thanks for updated module version 1.1.
Progress, still not fully functional, I cannot get PhP cURL to work.
Using non-php, error log included with strings removed.
Also result from curl_version included.
I got the Nova VM account activited just days back. So I'm fairly new to all this.
Am I the only one getting these error?

VJ124

============================================================================
#Command Line cURL Return Code: 0 = (No Error)
#cURL Version: CMDLINE curl 7.12.1 (i686-redhat-linux-gnu) libcurl/7.12.1 OpenSSL/0.9.7a zlib/1.2.1.2 libidn/0.5.6
#Production VM Output Results: (RC=) (EC=4001)

errorCode=4001
errorName=VID, UID and PIN Invalid
errorMessage=The VirtualMerchant ID, User ID and/or PIN supplied in the authorization request is invalid.

Virtual Merchant cURL_Processing_Time : 1.290 seconds

  • TRANSACTION FAILED
    ============================================================================
    Error Return (Internal Error): payment_error=virtualmerchant&errormessage=An+internal+error+occured+during+the+communication+with+the+Payment+Gateway%21+Please+try+it+again+later.+If+this+error+occurs+again%2C+please+choose+a+different+payment+option+and+inform+customer+support+of+this+error+at+------removed-----+%21+Thank+You%21&error=4001+-+VID%2C+UID+and+PIN+Invalid&virtualmerchant_cc_owner=XremovedX&virtualmerchant_cc_expires_month=XX&virtualmerchant_cc_expires_year=XX&virtualmerchant_cvv_indicator=1
    Error Code: 4001 - VID, UID and PIN Invalid
    The VirtualMerchant ID, User ID and/or PIN supplied in the authorization request is invalid.
    ============================================================================
    #Get_Error=4001 - VID, UID and PIN Invalid
    #Get_ErrorMessage=An internal error occured during the communication with the Payment Gateway! Please try it again later. If this error occurs again, please choose a different payment option and inform customer support of this error at XremovedX ! Thank You!
    #Get_Error_Output (Displayed to User)=There has been an error processing your credit card!
    There has been an error processing your credit card!<br />An internal error occured during the communication with the Payment Gateway! Please try it again later. If this error occurs again, please choose a different payment option and inform customer support of this error at XremovedX ! Thank You!<br />4001 - VID, UID and PIN Invalid

Checking for a PHP-based cURL installation...
PHP based cURL was found!
Version: curl 7.12.1 (i686-redhat-linux-gnu) OpenSSL/0.9.7a zlib/1.2.1.2

Checking for popular locations where a binary executable cURL program may be installed...
curl programs found (if any):
FOUND: /usr/bin/curl Binary IS executable! (Good)
Version: curl 7.12.1 (i686-redhat-linux-gnu) libcurl/7.12.1 OpenSSL/0.9.7a zlib/1.2.1.2 libidn/0.5.6 Protocols: ftp gopher telnet dict ldap http file https ftps Features: GSS-Negotiate IDN IPv6 Largefile NTLM SSL libz


All done!

9 Dec 2007, 10:29 PM
#136
vj124 avatar

vj124

New Zenner

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

Re: Need help with Virtual Merchant module

Please ignore my previous posting :no:
I got it to work.

Key learning

  • When Nova sets up the VM account, the secondary accounts they help setup have their own PIN compared to the main account. To see their each PIN, select the user, then click on "Terminals", PIN for that account will be listed.
    I which VM updates their UI to list all the PINs in one page for the main user.
    - Default terminal setup may not be correct. I had to log into VM, using primary account, then select Terminal, Advanced, System setup. I had to check
    "Enable HTTP Transaction", uncheck "Use HTTP referrers". I also selected "Auto Pend", "Auto Settle" and adjust my setting time to my time zone.

It is working!!!!!!:clap::clap::clap:

rtw819. Thank you very much. Sending my donation in few days, as soon as my web site is live. Appericate your effort & contribution.

VJ124

10 Dec 2007, 4:34 AM
#137
rtw819 avatar

rtw819

New Zenner

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

Re: Need help with Virtual Merchant module

rtw819:

While a re-installation is needed to take complete advantage of the updated debug settings, but it IS NOT REQUIRED at this time. Write down all of your settings should you choose to re-install. Again, most users will not need the additional high level debug setting, so for this version, re-installation is being categorized as OPTIONAL.

Looking back, I guess I should have made my statement a little more clear. (Whoops! Sorry about that!)

I should have also said - I strongly recommend updating the two changed files as there are some functionality fixes in version 1.1. However, the optional part is that you do not necessarily have to use the Admin "- Remove" and "+ Install" module, only unless you desire to do so and re-enter your account details.

Sorry for any confusion. :)

10 Dec 2007, 5:35 AM
#138
rtw819 avatar

rtw819

New Zenner

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

Re: Need help with Virtual Merchant module

vj124:

Please ignore my previous posting :no:
I got it to work.
...
I had to log into VM, using primary account, then select Terminal, Advanced, System setup. I had to check "Enable HTTP Transaction", uncheck "Use HTTP referrers". I also selected "Auto Pend", "Auto Settle" and adjust my setting time to my time zone.

It is working!!!!!!:clap::clap::clap:

rtw819. Thank you very much. Sending my donation in few days, as soon as my web site is live. Appericate your effort & contribution.

VJ124

You're very welcome! Glad to help!

We might want to double check about the issue with use of referrers. We should definitely be taking advantage of the extra security provided by using a specified list of hosts allowed to utilize your VM web terminal account. Other than that, everything sounds good!

10 Dec 2007, 5:09 PM
#139
issy avatar

issy

New Zenner

Join Date:
Jan 2006
Posts:
59
Plugin Contributions:
0

Re: Need help with Virtual Merchant module

vj124:

Please ignore my previous posting :no:
I got it to work.

Key learning

  • When Nova sets up the VM account, the secondary accounts they help setup have their own PIN compared to the main account. To see their each PIN, select the user, then click on "Terminals", PIN for that account will be listed.
    I which VM updates their UI to list all the PINs in one page for the main user.
    - Default terminal setup may not be correct. I had to log into VM, using primary account, then select Terminal, Advanced, System setup. I had to check
    "Enable HTTP Transaction", uncheck "Use HTTP referrers". I also selected "Auto Pend", "Auto Settle" and adjust my setting time to my time zone.

It is working!!!!!!:clap::clap::clap:

rtw819. Thank you very much. Sending my donation in few days, as soon as my web site is live. Appericate your effort & contribution.

VJ124

This is one of the many important steps that need to be taken care of in order for this MOD to work properly, many thanks to vj124 and rtw819 this module is now working!!

Happy holidays to all of you!!

10 Dec 2007, 6:53 PM
#140
rtw819 avatar

rtw819

New Zenner

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

Re: Need help with Virtual Merchant module

This is one of the many important steps that need to be taken care of in order for this MOD to work properly

While our store is still running on viaKLIX -- I haven't actually seen the VM backside yet, but I do agree, as with KLIX there are several steps outside of the Zen VM payment mod config with the Nova/VM web terminal side that will need to be setup. Perhaps we can work on putting together a quick configuration guide to include in a future release to make it easier for those that follow us. Thanks to vj124 for posting your findings! Glad it's working! Take care.