fredp |
First Post Posted on: 09-15-10 06:16 AM |
Money Manager |
|
For some reason I can't get Authorize.net payment processing to work......
I currently have the gateway set to test mode to get everything set up and confirm it's working.....
I should be able to submit a test card transaction to the gateway and get an approved response code in return.
I only get the "(TESTMODE) The credit card number is invalid" (Response code #6) declined response.
Even if I try using the test card that should give me a specific response code, the only response I can generate is "(TESTMODE) The credit card number is invalid" (Response code #6)
I'm using the same test card info / etc. to test other software on the same server with no errors and correct response codes....
(Just in case it matters, MyAccount is on Secure Server.)
The "Weird" thing is that I tried it with the Auction Demo I have up also (It's not in secure mode, FYI) , and got the same result, yet I can post an identical transaction through the BannerManager I'm using with no problem???? |
|
|
|
|
|
|
mewsoft |
Reply #: 1 Posted on: 09-16-10 06:31 AM |
Re: Money Manager |
|
Did you setup that merchant information in your admin->billing setup->authorize net.
also try to turn off the test mode and see if it matters. |
Mewsoft Support www.mewsoft.com
|
|
|
|
|
fredp |
Reply #: 2 Posted on: 09-16-10 08:14 AM |
Re: Money Manager |
|
Yes, It is set up correctly in Billing Manager.....
I don't get any errors that it is not successfully logging into the account....
I edited "Process_AuthroizeNetFamily" in Merchant.pm and commented out;
#x_card_num => $Customer{CC_Number},
I replaced it with;
x_card_num => "4007000000027",
That is the visa test card number for test mode....
The transaction posted OK....
I guess either the script is sending an extra character or two, or it is sending something other than the card number entered in the Billing Manager??
Thanks!! |
|
|
|
|
|
|
mewsoft |
Reply #: 3 Posted on: 09-18-10 04:23 AM |
Re: Money Manager |
|
May be your authorize net setting, remove any refer urls in your authorize net so do not limit access from specific urls, as for the program is sending wrong info, of course you can see and debug the data sent, in the file Merchant.pm you can insert these lines to print you all the data before sending:
print "Content-type: text/html
"; while (($key, $value)=each(%Customer)) {print ("$key = $value<br>");}
after this part of code in the file :
sub Process_AuthroizeNetFamily{ my($Domain, $Sub_Domain, $Login, $Password, %Customer) = @_; my($Fields, @Response, $Response, %AVS, $Temp);
|
Mewsoft Support www.mewsoft.com
|
|
|
|
|
|
fredp |
Reply #: 4 Posted on: 09-19-10 11:38 AM |
Re: Money Manager |
|
Well..... I appreciate the debug code. Here's what I got.
With the CC number set in the Money Manager as;
4007000000027
The data being sent to the Gateway is
CC_Number = HJ0cpZqjZXMK*TZ6vQ
There is nothing wrong with the gateway setup. As I said in my earlier message, if I insert the CC number in the #x_card_num field in merchant.pm, it processes fine, which rules out a gateway set-up issue. The gateway works if it gets the correct CC info.... It looks like something is encrypting the CC number, and the gateway is refusing it....
Here's the rest of the debug info..... There's other "stuff" missing like address, city, state, zip, country, customer email, etc... (It IS entered in the user profile being used) (also merchant email just being sent at "billing", which is the title, not the address)
The data being sent doesn't matter in test mode as long as we're sending the correct test card number, login and password, but it will have to be correct to process an actual card......
City = State = Email_Merchant = Zip = Email = changed@planetclassified.com Company = PlanetClassified.com Merchant_Email = Billing CardType = VISA card Exp_Year = 07 x_Type = Street_Address = Name_On_Card = My Name Invoice_Num = Amount = 50 x_Test_Request = FALSE Phone = 555.55.5555 Country = Last_Name = Lastname Cust_ID = fred Email_Customer = x_Method = CVV = First_Name = Firstname CC_Number = HJ0cpZqjZXMK*TZ6vQ Description = Exp_Month = 02 Fax = 555.55.5555 CC_Type = Content-type: text/html |
|
|
|
|
|
|
mewsoft |
Reply #: 5 Posted on: 09-19-10 05:35 PM |
Re: Money Manager |
|
Good, the debug code solved the problem, yes the latest versions encrypted the cread cards and banks accounts and names in the database, that needed to decrypt before sending, please update the file MoneyMgr.pm only and it will solve this issue. also you can just insert this code line the the same file you have
$Card{CC_Number} = &Decrypt($Card{CC_Number}, $Global{Secure_Key});
it will also do the same job.
Thank you |
Mewsoft Support www.mewsoft.com
|
|
|
|
|
fredp |
Reply #: 6 Posted on: 09-19-10 07:00 PM |
Re: Money Manager |
|
Thanks very much....
What about the other info missing from the string to the gateway.... I won't be able to process an actual card without address info, etc.... |
|
|
|
|
|
mewsoft |
Reply #: 7 Posted on: 09-21-10 07:16 PM |
Re: Money Manager |
|
Please update the file MOneyMgr.pm again and it should fix it.
Thank you |
Mewsoft Support www.mewsoft.com
|
|
|
|
|
fredp |
Reply #: 8 Posted on: 09-23-10 09:40 AM |
Re: Money Manager |
|
I downloaded the latest version from my account area, copied MoneyMgr.pm to my server, and get the same result..... |
|
|
|
|
|
mewsoft |
Reply #: 9 Posted on: 09-23-10 11:06 AM |
Re: Money Manager |
|
May be you downloaded before the updated version is uploaded to the server. ANyway if the problem still exists, email me your ftp info and a test card info and I'll check it to support @ mewsoft.com. |
Mewsoft Support www.mewsoft.com
|
|
|
|
|
|