Jump to content


Corporate Sponsors


Latest News: (loading..)

* * * * * 3 votes

[CONTRIBUTION] Authorize Net AIM module


992 replies to this topic

#121 wnegus

  • Community Member
  • 7 posts
  • Real Name:Wesley Negus

Posted 15 April 2006, 18:13

View PostVger, on Apr 15 2006, 05:34 AM, said:

Leave the Response & Receipt URL's blank - they're used for the SIM version. Please read previous posts in this thread.

Vger

Vger -

Thanks - dId that, but still same error message. ANy other ideas?

Wes

#122 Vger

  • Community Member
  • 16,978 posts
  • Real Name:R Anthony
  • Gender:Not Telling

Posted 15 April 2006, 20:45

It would help if you said what the error was? You do have ssl installed don't you?

Vger

#123 wnegus

  • Community Member
  • 7 posts
  • Real Name:Wesley Negus

Posted 15 April 2006, 21:53

View PostVger, on Apr 15 2006, 01:45 PM, said:

It would help if you said what the error was? You do have ssl installed don't you?

Vger

Vger - the error is:

- Your credit card could not be authorized for this reason. Please correct any information and try again or contact us for further assistance.

Yes SSL is installed. I can connect to my site by typing https://9fishsurf.com so I know it is working. I also made the changes to the OSCommerce configure.php script that this thread told me to:

http://www.oscommerce.info/kb/osCommerce/G...mon_Problems/75

Wes

#124 wnegus

  • Community Member
  • 7 posts
  • Real Name:Wesley Negus

Posted 15 April 2006, 22:35

View Postwnegus, on Apr 15 2006, 02:53 PM, said:

Vger - the error is:

- Your credit card could not be authorized for this reason. Please correct any information and try again or contact us for further assistance.

Yes SSL is installed. I can connect to my site by typing https://9fishsurf.com so I know it is working. I also made the changes to the OSCommerce configure.php script that this thread told me to:

http://www.oscommerce.info/kb/osCommerce/G...mon_Problems/75

Wes


One thing is that my host provider gives me a shared SSL certificate. They had me define a 3rd level domain for this - https://9fishsurf.websitesource.net/catalog - I can connect to this and see my website there. However, I can also connect to https://9fishsurf.com/catalog and this works too. I wonder what I am supposed ot put int he configure.php file for the HTTPS server now.

Considering this, do you think this is an SSL problem?

#125 wnegus

  • Community Member
  • 7 posts
  • Real Name:Wesley Negus

Posted 15 April 2006, 23:35

Can someone please help me answer some of these questions:

1) I have a shared SSL setup from my host provider - so I have some reason to think that my HTTPS_SERVER should be set to this: https://mydomain.websitesource.net
However, I can type into a browser https://mydomain.com and it works, so is that ok to use that for HTTPS_SERVER? I'd obviously prefer to use mydomain rather than this weird websitesource.net URL.

2) Although I have set 'ENABLE_SSL' to true, I never see OSCommerce switching to SSL mode when I am making a purchase (no padlock, no nothing) - why is that?

3) For my setup, these are my values in configure.php - does this look ok?

Can anyone with a shared SSL certificate give me these settings so I can compare with my own (below)
define('HTTP_SERVER', 'http://www.9fishsurf.com'); // eg, http://localhost - should not be empty for productive servers
define('HTTPS_SERVER', 'https://9fishsurf.com); // eg, https://localhost - should not be empty for productive servers
define('ENABLE_SSL', true); // secure webserver for checkout procedure?
define('HTTP_COOKIE_DOMAIN', 'www.9fishsurf.com');
define('HTTPS_COOKIE_DOMAIN', '9fishsurf.com');
define('HTTP_COOKIE_PATH', '/catalog/');
define('HTTPS_COOKIE_PATH', '/catalog/');
define('DIR_WS_HTTP_CATALOG', '/catalog/');
define('DIR_WS_HTTPS_CATALOG', '/catalog/');

#126 Vger

  • Community Member
  • 16,978 posts
  • Real Name:R Anthony
  • Gender:Not Telling

Posted 16 April 2006, 00:10

Your configure.php file should have https://9fishsurf.websitesource.com for the https address.

Vger

#127 wnegus

  • Community Member
  • 7 posts
  • Real Name:Wesley Negus

Posted 16 April 2006, 01:16

View PostVger, on Apr 15 2006, 05:10 PM, said:

Your configure.php file should have https://9fishsurf.websitesource.com for the https address.

Vger

Vger-

I was able to get it working by adding this to the authorize_aim.php file:
curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, 0);

I found this online somewhere when searching on the error message that I kept receiving. This disabled the cert check in cURL. Now I am connecting to Authorize.net and the getting a receipt email (I have this option turned on for debugging). Also I get the proper screen in OSCommerce showing that the order has been processed.

But I still don't have the padlock or a redirect happening to an https URL. Shouldn't I see this since I have SSL enabled?

Wes

#128 wnegus

  • Community Member
  • 7 posts
  • Real Name:Wesley Negus

Posted 16 April 2006, 03:16

Update on my last post - SSL is working (shared SSL cert with www.websitesource.com). Thanks Vger for your help!!

Wes

#129 sturmdogg

  • Community Member
  • 42 posts
  • Real Name:roy cantor

Posted 17 April 2006, 03:26

Was hoping someone could help me make this contribution work. Right now I'm getting the "This transaction cannot be accepted. - Your credit card could not be authorized for this reason. Please correct any information and try again or contact us for further assistance."

I'm on godaddy linux hosting, with the High Assurance SSL cert.

I changed the settings under "Direct Response" as instructed in this thread, and followed all the possible fixes but still nothing, so I'm thinking its my settings that's somehow screwed up.

My configure.php file as follows:

define('HTTP_SERVER', 'https://www.jpskin.com');
define('HTTPS_SERVER', 'https://www.jpskin.com');
define('ENABLE_SSL', true);
define('HTTP_COOKIE_DOMAIN', 'www.jpskin.com');
define('HTTPS_COOKIE_DOMAIN', 'www.jpskin.com');
define('HTTP_COOKIE_PATH', '/catalog/');
define('HTTPS_COOKIE_PATH', '/catalog/');
define('DIR_WS_HTTP_CATALOG', '/catalog/');
define('DIR_WS_HTTPS_CATALOG', '/catalog/');


I added the following lines for curl on the authorizenet_aim.php :

curl_setopt($ch, CURLOPT_HTTPPROXYTUNNEL, 1);
curl_setopt($ch, CURLOPT_PROXYTYPE, $proxy_type);
curl_setopt($ch, CURLOPT_PROXY, "64.202.165.130:3128");
curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, 0);


Any help you can give is greatly appreciated.

#130 sturmdogg

  • Community Member
  • 42 posts
  • Real Name:roy cantor

Posted 17 April 2006, 15:05

View Poststurmdogg, on Apr 17 2006, 11:26 AM, said:

curl_setopt($ch, CURLOPT_PROXYTYPE, $proxy_type);

Sorry, that was supposed to be CURLPROXY_HTTP, not $proxy_type

#131 sturmdogg

  • Community Member
  • 42 posts
  • Real Name:roy cantor

Posted 17 April 2006, 16:31

Nevermind...fixed it...turns out all I needed to do was get a new transaction key for some reason.

#132 Vger

  • Community Member
  • 16,978 posts
  • Real Name:R Anthony
  • Gender:Not Telling

Posted 17 April 2006, 16:36

You don't want to local all of your site down behind https. Search Engines don't give page ranking to https pages, so your http_server address should be http:// and not https://

Vger

#133 technoboy

  • Community Member
  • 102 posts
  • Real Name:Eric
  • Location:CA

Posted 18 April 2006, 22:44

View Postekbjewelry, on Mar 15 2006, 11:37 PM, said:

OMG I got it to work !!!!
only problem is when they click confirm order it doesnt take them to a successful order page, but back to the payment information page!!! dammit.

how do i make it go to the successful order page after you click confirm order!?!?!

ps. the new testing a.net server is
https://certification.authorize.net/gateway/transact.dll

Hi, how did you get pass the "The merchant login ID or password is invalid or the account is inactive” error?

I couldnt get pass it. Ive tried all the sudgestion found on this thread and from A.net support but i get the same error everytime.


I dont even know if this is relevant to my problem or not but i tried anyway.

- I check and double checked Login and Transaction id, generated new Transaction id
- Set Transaction Verification to 3.1
- I tried using test, secure, and certification.authorize.ne....
- Played around the "Direct Response" settings
- double checked Private SSL and Curl compiled php ssl support
- entering and not entering Response/Receipt URLs
- editing https:// and cookie domain in my configure.php as recommended
- Checked if im only cable of using SIM but A.net says my account is both AIM and SIM
- mixed diffrent setting variation of the above

Please help

Eric

checkout_payment.php?error_message=(TESTMODE)%20The%20merchant%
20login%20ID%20or%20password%20is%20invalid%20or%20the%20account%20is%
20inactive.%20-%20Your+credit+card+could+not+be+authorized+for+this+reason.
+Please+correct+any+information+and+try+again+or+contact+us+for+further+assistan
ce
.&osCsid=80730c80015b682c7a77bb24049cb00d


#134 Vger

  • Community Member
  • 16,978 posts
  • Real Name:R Anthony
  • Gender:Not Telling

Posted 18 April 2006, 23:37

The error message says it all "The merchant login or password is invalid or the account is inactive"

Vger

#135 technoboy

  • Community Member
  • 102 posts
  • Real Name:Eric
  • Location:CA

Posted 19 April 2006, 00:03

View PostVger, on Apr 18 2006, 11:37 PM, said:

The error message says it all "The merchant login or password is invalid or the account is inactive"

Vger

yeah ur right i just found out its inactive.. wonder why they email me saying my account is now active in the 1st place

Edited by technoboy, 19 April 2006, 00:04.


#136 Vger

  • Community Member
  • 16,978 posts
  • Real Name:R Anthony
  • Gender:Not Telling

Posted 19 April 2006, 00:22

Agh well - you got there in the end.

Vger

#137 jbaughn

  • Community Member
  • 3 posts
  • Real Name:Jim Baughn

Posted 20 April 2006, 22:56

View PostVger, on Apr 11 2006, 01:25 AM, said:

As this was an existing account did you change the setting in your Authorize Net account from SIM to AIM?

Vger

The previous system was also using AIM. The transaction version is 3.1. I have since completly re-built the site . The first time I tried a test with your contribution, it worked! Now it is failing again although I have made no changes since then. It still takes me back to the payment page.

#138 Vger

  • Community Member
  • 16,978 posts
  • Real Name:R Anthony
  • Gender:Not Telling

Posted 20 April 2006, 23:33

Try generating a new key in your Authorize Net control panel, and also check that nothing has changed on your site with regard to SSL.

Vger

#139 jcs5003

  • Community Member
  • 2 posts
  • Real Name:Jeremy Jackson

Posted 21 April 2006, 06:46

Below is what I am getting when processing a a.net AIM card.

Is this a SQL error?

Any thoughts?

1054 - Unknown column 'cc_start' in 'field list'

select customers_id, customers_name, customers_company, customers_street_address, customers_suburb, customers_city, customers_postcode, customers_state, customers_country, customers_telephone, customers_email_address, customers_address_format_id, delivery_name, delivery_company, delivery_street_address, delivery_suburb, delivery_city, delivery_postcode, delivery_state, delivery_country, delivery_address_format_id, billing_name, billing_company, billing_street_address, billing_suburb, billing_city, billing_postcode, billing_state, billing_country, billing_address_format_id, payment_method, cc_type, cc_owner, cc_number, cc_start, cc_expires, cvv_number, currency, currency_value, date_purchased, orders_status,

Thanks

#140 Vger

  • Community Member
  • 16,978 posts
  • Real Name:R Anthony
  • Gender:Not Telling

Posted 21 April 2006, 12:18

You have a problem with the fields in your database.

Vger