Zen Cart Logo
If this is your first visit, check our documentation. To post, register or login.

Authorize.net (AIM)

Locked

Started by butta on 20 Jul 2006, 7:59 PM · Views: 3,872

Results 1 to 13 of 13
This thread is locked. New replies are disabled.
20 Jul 2006, 7:59 PM
#1
butta avatar

butta

New Zenner

Join Date:
Jun 2006
Posts:
31
Plugin Contributions:
0

Post #1 by butta

I've enabled the Authorize.net (AIM) and PayPal IPN payment modules in the Zen Cart admin panel. However, when I try to checkout, the Payment Method box only contains the phrase "This is currently the only payment method available to use on this order."

Any suggestions?

21 Jul 2006, 6:14 AM
#2
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,512
Plugin Contributions:
176

Post #2 by drbyte

What version of Zen Cart?

In your payment modules settings in the Zen Cart Admin, what "Zone" do you have set? It should be blank (-none-).

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

21 Jul 2006, 5:28 PM
#3
butta avatar

butta

New Zenner

Join Date:
Jun 2006
Posts:
31
Plugin Contributions:
0

Post #3 by butta

That half worked!

I had the zone set to California. I changed them to "--none--" and now the PayPal payment option shows, but the Authorize.Net (AIM) still does not.

Any ideas?

22 Jul 2006, 11:13 PM
#4
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,512
Plugin Contributions:
176

Post #4 by drbyte

What version of Zen Cart?

What happens if you "remove" and re-"install" the AIM module via the admin interface? Be sure to record your username and transaction key before clicking "Remove"

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

24 Jul 2006, 5:46 PM
#5
butta avatar

butta

New Zenner

Join Date:
Jun 2006
Posts:
31
Plugin Contributions:
0

Post #5 by butta

Version 1.3.0.2. I removed and re-installed the module and the problem still exists.

24 Jul 2006, 11:33 PM
#6
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,512
Plugin Contributions:
176

Post #6 by drbyte

What other mods/addons/customizations have you installed/made?

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

25 Jul 2006, 6:18 PM
#7
butta avatar

butta

New Zenner

Join Date:
Jun 2006
Posts:
31
Plugin Contributions:
0

Post #7 by butta

I'm working on a fresh install of Zen-Cart 1.3.0.2 with only template modifications.

The only PHP files in my template are:

./common/tpl_tabular_display.php
./common/tpl_box_default_right.php
./common/tpl_box_default_single.php
./common/tpl_box_header.php
./common/tpl_columnar_display.php
./common/tpl_footer.php
./common/tpl_header.php
./common/tpl_main_page.php
./common/tpl_box_default_left.php
./sideboxes/tpl_categories.php
./templates/tpl_index_default.php
./templates/tpl_modules_featured_products.php
./template_info.php

What's strange is that the other payment modules show up when enabled.

25 Jul 2006, 8:33 PM
#8
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,512
Plugin Contributions:
176

Post #8 by drbyte

Unless you've customized the authorize.net module's language file and made a typo, the only thing preventing it from displaying would be:

  • module not installed
  • module installed but status set to 'false' instead of 'true'
  • module installed but has a Payment Zone setting other than --none--

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

25 Jul 2006, 10:51 PM
#9
butta avatar

butta

New Zenner

Join Date:
Jun 2006
Posts:
31
Plugin Contributions:
0

Post #9 by butta

I'm on my way to finding the solution...

For some reason, authorizenet_aim.php is not showing up in MODULE_PAYMENT_INSTALLED. I can manually force it in there, then the credit card information box shows up on the second page of checkout.

However, once I reload the Payment Modules page of the admin section, it removes authorizenet_aim.php from MODULE_PAYMENT_INSTALLED even though it is installed.

I can't seem to find where/how MODULE_PAYMENT_INSTALLED is set?

25 Jul 2006, 11:07 PM
#10
butta avatar

butta

New Zenner

Join Date:
Jun 2006
Posts:
31
Plugin Contributions:
0

Post #10 by butta

I found the bug:

All my "Sort Orders" were set to 0, except for PayPal IPN, which was set to 1.

admin/modules.php builds the $installed_modules array (which eventually stores in MODULE_PAYMENT_INSTALLED for payment modules):

Array ( [0] => authorizenet.php [1] => authorizenet_aim.php [2] => cc.php [3] => cod.php [4] => moneyorder.php )

Then, it processes paypal.php, which is set to sort_order=1, thus over-riding authorizenet_aim.php:

Array ( [0] => authorizenet.php [1] => paypal.php [2] => cc.php [3] => cod.php [4] => moneyorder.php )

This means... if sort_order is set to something other than 0, they must be unique values and not in the 0 to <# of payment modules> range.

25 Jul 2006, 11:14 PM
#11
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Post #11 by ajeh

Why would you have both versions of AuthorizeNet installed?

Just use the AuthorizeNet AIM ... and remove the other one ...

I am assuming you have the Credit Card cc.php installed just for testing ... as that too should be removed ...

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!

25 Jul 2006, 11:20 PM
#12
butta avatar

butta

New Zenner

Join Date:
Jun 2006
Posts:
31
Plugin Contributions:
0

Post #12 by butta

Ajeh,

They came installed by default and set to 'false'

25 Jul 2006, 11:27 PM
#13
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Post #13 by ajeh

Be smart ... never install a module you are not using or keep installed a module you are not using ... always a better rule of thumb ... :smile:

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!