Page 1 of 2 12 LastLast
Results 1 to 10 of 13
  1. #1
    Join Date
    Jun 2006
    Posts
    32
    Plugin Contributions
    0

    Default Authorize.net (AIM)

    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?

  2. #2
    Join Date
    Jan 2004
    Posts
    66,446
    Plugin Contributions
    81

    Default Re: Authorize.net (AIM)

    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.

  3. #3
    Join Date
    Jun 2006
    Posts
    32
    Plugin Contributions
    0

    Default Re: Authorize.net (AIM)

    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?

  4. #4
    Join Date
    Jan 2004
    Posts
    66,446
    Plugin Contributions
    81

    Default Re: Authorize.net (AIM)

    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.

  5. #5
    Join Date
    Jun 2006
    Posts
    32
    Plugin Contributions
    0

    Default Re: Authorize.net (AIM)

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

  6. #6
    Join Date
    Jan 2004
    Posts
    66,446
    Plugin Contributions
    81

    Default Re: Authorize.net (AIM)

    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.

  7. #7
    Join Date
    Jun 2006
    Posts
    32
    Plugin Contributions
    0

    Default Re: Authorize.net (AIM)

    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.

  8. #8
    Join Date
    Jan 2004
    Posts
    66,446
    Plugin Contributions
    81

    Default Re: Authorize.net (AIM)

    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.

  9. #9
    Join Date
    Jun 2006
    Posts
    32
    Plugin Contributions
    0

    Default Re: Authorize.net (AIM)

    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?

  10. #10
    Join Date
    Jun 2006
    Posts
    32
    Plugin Contributions
    0

    Default Re: Authorize.net (AIM)

    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.

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. v151 Switching From Authorize.net (SIM) to AUthorize.net (AIM)
    By dinohaven in forum General Questions
    Replies: 1
    Last Post: 2 Dec 2014, 05:56 PM
  2. v150 Difference Between Authorize.net (SIM) and Authorize.net (AIM)
    By joem83 in forum Built-in Shipping and Payment Modules
    Replies: 4
    Last Post: 30 Aug 2012, 10:48 PM
  3. Authorize.net (AIM) Authorize.net (SIM)
    By Andy75 in forum Built-in Shipping and Payment Modules
    Replies: 2
    Last Post: 29 Jan 2009, 04:38 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg