PDA

View Full Version : Authorize.net Via 1.0.9 Woes


Laxidasical
March 4th, 2004, 03:24 AM
I'm using version 1.0.9, and I JUST got accepted with Authorize.net today. I'm having a hell of a time trying to get it to work.

I downloaded the new Authorize.net file that was mentioned in one of Jamie's posts. I added my username under Admin > Payments > Modules > Authorize.net (in SquirrelCart).

On the Authorize.net setting panel, it asks for a Response/Receipt URL. I assume this is the URL to authorizenet.php. It also asks if the Receipt Method should be by Link, Get, or Post. I'm guessing it is either Link or Post?!?!?!

It approves every credit card order, valid or not. I tried a transaction outside of test mode that should have been rejected. I received the following message:

Please Wait One Moment While We process your card.
Thanks for your Order!

The order was processed by the cart and e-mails to the customer and merchant (both me) were sent out. There are no records what so ever at Authorize.net of the transaction.

Please help!!!!

Laxidasical
March 7th, 2004, 12:28 AM
Pretty please with cream and suger on top??? I'll even go buy some cherries! :side:

Laxidasical
March 9th, 2004, 02:04 PM
I checked out the Authorize.net settings page in the SquirrelCart demo store. There is a lot of extra info that isn't in the 1.0.9 version. If I get just that page from you and plug it into 1.0.9, will everything work??? I've already downloaded the revised gateway file (authorizenet.php) that Jamie posted.

If not, is it possible to just hard code the values passed by that form in the authorizenet.php doc??? For example:

$Account_Name_Variable = 'My_Account_Name';
$Account_Password_Variable = 'My_Account_Password';
etc...

Laxidasical
March 11th, 2004, 12:52 PM
OK, I found the variables that are being passed by the demo version's Authorize.net Admin section but aren't in 1.0.9's and added them directly into the newer authorizenet.php file. They are as follows...

$Account_Transaction_Key
$Authenticate_With
$Transaction_Type
$Connection_Method

I also searched for wherever these are referenced and edited the code accordingly. The variables all seem to be accounted for now!!!

One last problem in getting this to work though. The script calls a function named ssl_connect(). I think this is all I need to get AIM working in 1.0.9. Can you send me that function???

Also, it's been a few days and I still haven't received any type of reply. A note saying that you aren't willing to help would be better than no reply at all. :( I've figured out all of the work that needed to be done (I think) and revised the code myself. All I need is the ssl_connect() function. If need be, I can write a function that does the same thing as ssl_connect() (or at least what I think it does). Rather than re-inventing the wheel though, it would be a lot easier if you sent that single file via e-mail or the forum.

Am I asking too much??? If so, just let me know! I plan on upgrading to the newer version eventually, but in order to justify the continuation of my shop I need to start generating some money now! I'm a college student on a college student's budget!

Jamie
March 11th, 2004, 04:18 PM
Hi,

The reason you had difficulties with Authorize.net in v1.0.9 is because it uses the WebLink connection method, which is no longer supported by Authorize.net. We do not have an updated A.net payment gateway file that will work with v1.0.9. We also no longer support v1.0.9 of Squirrelcart.

Your posts where not being ignored. The forums are not a primary means of support. They are meant as a means for Squirrelcart users to communicate informally with other users, and ourselves. Official support requests must come through our helpdesk, and must be originated by someone that has either purchased per incident support, or is within their initial support period.

I have attached the function that you referred to. Please keep in mind that we cannot support using the function in v1.0.9.

Thanks,
Jamie

Laxidasical
March 11th, 2004, 11:10 PM
No problem, I understand that I'm working with an outdated version of the cart. I just wanted to know if I was on the right path in getting AIM to work with 1.0.9 or not. I'm about to add that function to my cart and test AIM out in 1.0.9 now. =) I'll post later with an update!!!

Oh, in case there is anyone else out there using version 1.0.9 and wants to include AIM, I HIGHLY suggest just upgrading the cart!!! There are many additional features (including AIM) that are already incorporated, not to mention bug fixes! I'm only doing this because I'm on a shoe string budget. as soon as my site generates some money, I'm moving to 1.4. If you absolutely need to do it though, I'm willing to help!

Jamie...thanks for the file, I really appreciate it!!!!

Laxidasical
March 12th, 2004, 12:10 AM
I thought I still had a few bugs at first, I just forgot to take Authorize.net out of test mode.

I've tested MasterCard and Visa transactions, ones that would decline and accept. All of them returned the correct response page, placed the order, and most importantly, sent/received the correct info to Authorize.net.

Now, on to adding CVV2!!!

:beer:

Rich
March 12th, 2004, 10:46 AM
I've tested MasterCard and Visa transactions, ones that would decline and accept. All of them returned the correct response page, placed the order, and most importantly, sent/received the correct info to Authorize.net.That's good to hear. Thanks for the update!