Jump to content


Corporate Sponsors


Latest News: (loading..)

* * * * * 3 votes

[CONTRIBUTION] Authorize Net AIM module


992 replies to this topic

#881 baddog

  • Community Member
  • 1,150 posts
  • Real Name:Dave
  • Gender:Male
  • Location:Columbus, Ohio

Posted 21 September 2008, 01:24

View Postcastlebuilder, on Sep 20 2008, 06:10 PM, said:

I'm not able to get this module to work (or any other Authorize.net module for OSCommerce). I have researched extensively online--in this forum and all over the place--and tried numerous things, but nothing seems to work. The cart has been successfully using Linkpoint for the past couple of years, but the owner now has Authorize and so it has to change. I have followed all instruction exactly on modifications to code and settings in Authorize.net account.

I am getting the "general" cc error: Credit Card Error!
(in Live mode and I have tried different cards with same results)

I'm stumped, I've never had a problem installing payment modules with this or other cart software. Any suggestion on how to find out what the real error is or if anyone else has been in the same situation and resolved it, advice would be welcome!
I was never able to get the stock module to work but did get Vger's module to work. Vger's Module

#882 homewetbar

  • Community Member
  • 699 posts
  • Real Name:Keith W.
  • Location:USA

Posted 21 September 2008, 15:46

View Postcastlebuilder, on Sep 20 2008, 05:10 PM, said:

I'm not able to get this module to work (or any other Authorize.net module for OSCommerce). I have researched extensively online--in this forum and all over the place--and tried numerous things, but nothing seems to work. The cart has been successfully using Linkpoint for the past couple of years, but the owner now has Authorize and so it has to change. I have followed all instruction exactly on modifications to code and settings in Authorize.net account.

I am getting the "general" cc error: Credit Card Error!
(in Live mode and I have tried different cards with same results)

I'm stumped, I've never had a problem installing payment modules with this or other cart software. Any suggestion on how to find out what the real error is or if anyone else has been in the same situation and resolved it, advice would be welcome!


We're having the same problem with our new merchant bank but only with Amex credit cards, with Amex they said it has something to do with the merchant bank cannot process the ccv codes and authorize.net does not know what to do so it gives a general error. We have yet to get this fixed, but please post your solution if you figure anything out.

Edited by homewetbar, 21 September 2008, 15:46.

Most Valuable OsCommerce Contributions:
Also Purchased (AP) Preselection (cuts this resource hogging query down to nothing) -- Contribution 3294
FedEx Automated Labels -- Contribution 2244
RMA Returns system -- Contribution 1136
Sort Products By Dropdown -- Contribution 4312
Ultimate SEO URLs -- Contribution 2823
Credit Class & Gift Voucher -- Contribution 282
Cross-Sell -- Contribution 5347

#883 castlebuilder

  • Community Member
  • 4 posts
  • Real Name:Amelie
  • Gender:Female

Posted 21 September 2008, 17:04

View Postbaddog, on Sep 20 2008, 09:24 PM, said:

I was never able to get the stock module to work but did get Vger's module to work. Vger's Module

To clarify, I am talking about "Vger's Module" (the one this thread is about, correct?) not the one that comes with OSCommerce or the other one floating around that is a bit older, though I have been unable to get any of them to work correctly. I can go into the errors I get with the other 2 (default one charges card but gives an Authorize error page to customer - bad; the other gives general error in cart and does not go through at all, similar to this one), but it seemed this one was the one most people had said they could get to work, and it includes the card verification code which is important to us. I'm having no luck, though.

View Posthomewetbar, on Sep 21 2008, 11:46 AM, said:

We're having the same problem with our new merchant bank but only with Amex credit cards, with Amex they said it has something to do with the merchant bank cannot process the ccv codes and authorize.net does not know what to do so it gives a general error. We have yet to get this fixed, but please post your solution if you figure anything out.

MasterCard and Visa also fail, so it's not just AMEX for us.

#884 spencermjax

  • Community Member
  • 365 posts
  • Real Name:Randy

Posted 21 September 2008, 21:49

I just don't understand how so many people can have so many problems with this. It should be pretty straight forward to give the proper instructions to get it set up.

I am getting the same errors (your card cannot be processed for this reason..." ) but my page seems to load forever before giving me the error. If anyone is willing to get it working for me please let me know ( $$ ) I just do not have the time to do it.

#885 spencermjax

  • Community Member
  • 365 posts
  • Real Name:Randy

Posted 22 September 2008, 02:35

Well...Well...Well...I actuall tried something that I should have tried first. The field "CURL Proxy URL" in the admin was automaticlly filled in when installed. I just edleted the contents of that fiels and BOOM! It's working!!!!!!!

#886 castlebuilder

  • Community Member
  • 4 posts
  • Real Name:Amelie
  • Gender:Female

Posted 22 September 2008, 13:32

View Postspencermjax, on Sep 21 2008, 10:35 PM, said:

Well...Well...Well...I actuall tried something that I should have tried first. The field "CURL Proxy URL" in the admin was automaticlly filled in when installed. I just edleted the contents of that fiels and BOOM! It's working!!!!!!!

Congrats!

Not my prob/solution, though. I asked my host at the beginning if a proxy url was needed, they said no, so I left "none" as per the instructions. I just tried taking that out completely, but it made no difference.

I also tried not asking for CVV number, in case that was causing problems, and no go there either.

So still stuck...

#887 castlebuilder

  • Community Member
  • 4 posts
  • Real Name:Amelie
  • Gender:Female

Posted 22 September 2008, 22:48

Update on my issue: I think the problem--or one of the problems--is that I am using the FEC contribution (Fast Easy Checkout - makes one-page checkout). There seems to be a conflict. Unfortunately this is one of the first contribs I installed a few years ago and there have been numerous mods since, so I can't just "uninstall" FEC.

Again I have tried everything everyone has posted on that topic, but nothing works completely. I can now get to confirmation page (used to get credit card error before it), but then when I click to confirm, it gives same credit card error.

It seems that credit card info is being "lost" between the payment and confirmation pages, but I cannot isolate the code to fix this. That ring a bell for anyone?

#888 elnino3

  • Community Member
  • 14 posts
  • Real Name:Lyn

Posted 23 September 2008, 03:37

Hello.

Looking to verify if this addin- has already been modified to accomodate the newly resized transactionid - http://www.authorize.net/transid

OSC needs to accommodate a 10-digit Transaction ID greater than 2,147,483,647.

#889 marhonek

  • Community Member
  • 4 posts
  • Real Name:jar jar binks

Posted 29 September 2008, 06:46

hello, thanks in advance for all the useful opensource resources and helpful info

I recently installed this contribution but haven't had much luck in getting it to work properly. I get an error message that the card was not successfully processed instead of the checkout success page. This error is invalid b/c the transactions show up in my auth.net account as captured and awaiting settlement. I am not really too savy with code (just basic html). I tried all of the suggestions w/ curl codes and ssl fixes, but they have only made it worse. Can anyone help? I will be starting over with this install tomorrow. I really hope I can launch it otherwise the basic auth.net module will have to do.

Thanks

#890 coyttl

  • Community Member
  • 2 posts
  • Real Name:Mike Morrey

Posted 11 October 2008, 01:52

View Postelnino3, on Sep 22 2008, 10:37 PM, said:

Hello.

Looking to verify if this addin- has already been modified to accomodate the newly resized transactionid - http://www.authorize.net/transid

OSC needs to accommodate a 10-digit Transaction ID greater than 2,147,483,647.
According to previous posts, the database table has this as a string, so that the number won't matter. :)

#891 coyttl

  • Community Member
  • 2 posts
  • Real Name:Mike Morrey

Posted 11 October 2008, 01:58

Hey guys, quick question..

I also had the error message pop up with no reason. Doing some debugging, the "curl_exec"kept coming back with 'false' - meaning it wasn't creating a connection properly. On my system, I had to add the command:
 curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false);
for it to work. I even created a new 'ca-something' file for my system, and specified it using the 'CURLOPT_CAINFO' option, but it had no effect. As far as I can tell, the 'VERIFYPEER' option just makes sure that the other site's SSL certificate is genuine?

My question is this: Anyone know of another way to get the 'CAINFO' option to work, and if not, if there that big of a risk turning the VERIFYPEER off?


Also, I get the:
(TESTMODE) The merchant login ID or password is invalid or the account is inactive.
Am I correct in thinking that this will always appear as long as I'm in test mode?

Thanks!
Mike.

#892 js28784

  • Community Member
  • 38 posts
  • Real Name:Jeff

Posted 13 October 2008, 19:01

I am having a problem where this module is saying "Your credit card could not be authorized..."

BUT...

It is charging the credit card (I logged in and checked Auth.net and it is captured). Also, it is not creating the order.

Any thoughts???

#893 z00keeper

  • Community Member
  • 1 posts
  • Real Name:Troy Robbins
  • Gender:Male
  • Location:USA

Posted 14 October 2008, 06:39

View Postjs28784, on Oct 13 2008, 02:01 PM, said:

I am having a problem where this module is saying "Your credit card could not be authorized..."

BUT...

It is charging the credit card (I logged in and checked Auth.net and it is captured). Also, it is not creating the order.

Any thoughts???

Still having problems with the module returning "Your credit card could not be authorized..." ? see the file uploaded to the package 10/14/2008 for the fix, it resolved the same problem for me.

#894 jeannepo

  • Community Member
  • 15 posts
  • Real Name:Jeanne

Posted 14 October 2008, 22:18

Thank you, usisu, for your MOST EXCELLENT information you posted on this topic! (dated 9-9-08) Out of the 45+ pages of information, yours was the one I needed to help me out. I was beginning to go bald, pulling my hair out, trying to make the A.net AIM work with my OSC shopping cart.

Kudos to usisu !!

#895 bobochow

  • Community Member
  • 11 posts
  • Real Name:Dan
  • Location:USA

Posted 14 October 2008, 23:14

View Postjeannepo, on Oct 14 2008, 05:18 PM, said:

Thank you, usisu, for your MOST EXCELLENT information you posted on this topic! (dated 9-9-08) Out of the 45+ pages of information, yours was the one I needed to help me out. I was beginning to go bald, pulling my hair out, trying to make the A.net AIM work with my OSC shopping cart.

Kudos to usisu !!



me 2

Kudos to usisu

#896 andrewmedina

  • Community Member
  • 13 posts
  • Real Name:Andrew Medina

Posted 21 October 2008, 23:21

View Postcastlebuilder, on Sep 22 2008, 05:48 PM, said:

Update on my issue: I think the problem--or one of the problems--is that I am using the FEC contribution (Fast Easy Checkout - makes one-page checkout). There seems to be a conflict. Unfortunately this is one of the first contribs I installed a few years ago and there have been numerous mods since, so I can't just "uninstall" FEC.

Again I have tried everything everyone has posted on that topic, but nothing works completely. I can now get to confirmation page (used to get credit card error before it), but then when I click to confirm, it gives same credit card error.

It seems that credit card info is being "lost" between the payment and confirmation pages, but I cannot isolate the code to fix this. That ring a bell for anyone?
you should be able to actually if you don't mind digging through the code to do it.

just get the source from that contrib and start using "Find" to find the actual contributions code.

I use Gedit in linux to do that. i'd recommend a programming oriented text editor to do that kind of work because it makes it easier to see what you're doing and where you need to be.

#897 jeannepo

  • Community Member
  • 15 posts
  • Real Name:Jeanne

Posted 22 October 2008, 01:49

Just a note; I, too, am using the FEC, and got this contribution to work perfectly with FEC, with NO alterations to any of that code.

~jp

#898 Xtreme Graphics

  • Community Member
  • 4 posts
  • Real Name:Tim

Posted 24 October 2008, 04:49

View Postz00keeper, on Oct 14 2008, 02:39 AM, said:

Still having problems with the module returning "Your credit card could not be authorized..." ? see the file uploaded to the package 10/14/2008 for the fix, it resolved the same problem for me.


Troy,

Your fix worked for me, THANK YOU SO MUCH. I have been trying for weeks to get things to work. I was actually able to process, but was getting an error message with no code
saying that the order did not process. Of course the customer would just keep buying the same thing over and over if that was allowed to stay up. :rolleyes:

#899 mattalexx

  • Community Member
  • 1 posts
  • Real Name:Matt Alexander

Posted 29 October 2008, 23:30

Hi

I'm using the version released at http://www.oscommerce.com/community/contributions,4091 on 24 Oct 2008. Everything is working great, except for the fact that I can't find it when I search for it at https://test.authorize.net. The problem might be that the Transaction ID is 0 (zero <- for Googling this post) for some reason. Take a look at the e-mail I get:

From: IC Support <test@consult-ic.com>
Date: Wed, Oct 29, 2008 at 3:51 PM
Subject: Shared Developer Test Account Customer Receipt/Purchase Confirmation
To: Matt Alexander <mattalexx@****.com>


************* TEST MODE (Certification) *************

Hi test customer,

========= GENERAL INFORMATION =========

Merchant : Shared Developer Test Account
Date/Time : 29-Oct-2008 03:51:21 PM
Transaction ID : 0

========= ORDER INFORMATION =========
Invoice Number : 1
Description : The Practical Sanskrit-English Dictionary(qty: 1)
Total : US $142.00
Payment Method : Visa

==== BILLING INFORMATION ===
Customer ID : 4237
First Name : Matt
Last Name : Alexander
Company :
Address : asd qwed qwe dfwef
City : asd
State/Province : New Mexico
Zip/Postal Code : 87529
Country : United States
Phone : 575-751-****
Fax :
Email : mattalexx@****.com

==== SHIPPING INFORMATION ===
First Name : Matt
Last Name : Alexander
Company :
Address : asd qwed qwe dfwef
City : asd
State/Province : New Mexico
Zip/Postal Code : 87529
Country : United States

Thanks and regards,
Sihan
Does anyone know what could be causing this problem?

#900 NimaP

  • Community Member
  • 140 posts
  • Real Name:wdwad
  • Gender:Male

Posted 03 November 2008, 18:12

i'm getting a blank page when i go to orders.php in my admin.

here is what my code looks like around the lines that i need to modify. any suggestions?


		  <tr>
			<td class="main"><?php echo ENTRY_CREDIT_CARD_OWNER; ?></td>
			<td class="main"><?php echo $order->info['cc_owner']; ?></td>
		  </tr>
		  <tr>
			<td class="main"><?php echo ENTRY_CREDIT_CARD_NUMBER; ?></td>
			<td class="main"><?php echo $order->info['cc_number']; ?></td>
		  </tr>
		  <tr>
			<td class="main"><?php echo ENTRY_CREDIT_CARD_EXPIRES; ?></td>
			<td class="main"><?php echo $order->info['cc_expires']; ?></td>
		  </tr>
<?php // begin cvv contribution ?>
		  <tr>
			<td class="main"><?php echo ENTRY_CREDIT_CARD_CVVNUMBER; ?></td>
			<td class="main"><?php echo $order->info['cvvnumber']; ?></td>
			<td colspan="2"> <?php echo '<a href="' . tep_href_link(FILENAME_ORDERS, 'oID=' . $HTTP_GET_VARS['oID'] . '&action=deletecvv') . '">' . tep_image_button('button_removecvv.gif', RemoveCVV) . ' </a>';?></td>
		  </tr>
<?php // end cvv contribution ?>		  
<?php // Company PO Account start
	}
		else if($order->info['purchase_order_number'])
		{
?>
		  <tr>
			<td colspan="2"><?php echo tep_draw_separator('pixel_trans.gif', '1', '10'); ?></td>
		  </tr>
		  <tr>
			<td class="main"><?php echo ENTRY_PURCHASE_ORDER_NUMBER; ?></td>
			<td class="main"><?php echo $order->info['purchase_order_number']; ?></td>
		  </tr>
<?php
// Company PO Account end
	}
?>
		</table></td>


what should this look like?