Page 8 of 14 FirstFirst ... 678910 ... LastLast
Results 71 to 80 of 131
  1. #71
    Join Date
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    9,696
    Plugin Contributions
    123

    Default Re: Authorize.net API with Card on File transactions support thread...

    LOL I got suckered in by the incorrect bracket placement! That's why just switching to false didn't work. Thanks for taking a second look.
    That Software Guy. My Store: Zen Cart Modifications
    Available for hire - See my ad in Services
    Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
    Do you benefit from Zen Cart? Then please support the project.

  2. #72
    Join Date
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    9,696
    Plugin Contributions
    123

    Default Re: Authorize.net API with Card on File transactions support thread...

    Small bug in admin/includes/classes/authnet_order.php line 28.

    You have:
    include DIR_FS_CATALOG . DIR_WS_ADMIN . DIR_WS_LANGUAGES . $_SESSION['language'] . '/authnet_order.php';

    You want:

    include DIR_FS_ADMIN . DIR_WS_LANGUAGES . $_SESSION['language'] . '/authnet_order.php';
    That Software Guy. My Store: Zen Cart Modifications
    Available for hire - See my ad in Services
    Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
    Do you benefit from Zen Cart? Then please support the project.

  3. #73
    Join Date
    Nov 2005
    Location
    los angeles
    Posts
    2,691
    Plugin Contributions
    9

    Default Re: Authorize.net API with Card on File transactions support thread...

    Quote Originally Posted by swguy View Post
    Small bug in admin/includes/classes/authnet_order.php line 28.

    You have:
    include DIR_FS_CATALOG . DIR_WS_ADMIN . DIR_WS_LANGUAGES . $_SESSION['language'] . '/authnet_order.php';

    You want:

    include DIR_FS_ADMIN . DIR_WS_LANGUAGES . $_SESSION['language'] . '/authnet_order.php';
    hey scott,
    happy new year!

    thanks for taking a look.

    are you referring to the fact that the code as implemented has an extra slash '/' in there?
    author of square Webpay.
    mxWorks has premium plugins. donations: venmo or paypal accepted.
    premium consistent excellent support. available for hire.

  4. #74
    Join Date
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    9,696
    Plugin Contributions
    123

    Default Re: Authorize.net API with Card on File transactions support thread...

    The code you have duplicates the sitename. It yields

    /Users/scott/Sites/mysite//mysite/admin/includes/languages/english/authnet_order.php
    That Software Guy. My Store: Zen Cart Modifications
    Available for hire - See my ad in Services
    Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
    Do you benefit from Zen Cart? Then please support the project.

  5. #75
    Join Date
    Nov 2005
    Location
    los angeles
    Posts
    2,691
    Plugin Contributions
    9

    Default Re: Authorize.net API with Card on File transactions support thread...

    Quote Originally Posted by swguy View Post
    The code you have duplicates the sitename. It yields

    /Users/scott/Sites/mysite//mysite/admin/includes/languages/english/authnet_order.php
    i did the following:
    PHP Code:
    <?php
        
    require 'includes/application_top.php';

        echo 
    "-------->" DIR_FS_CATALOG DIR_WS_ADMIN "<---------<br>";
        echo 
    "-------->" DIR_FS_ADMIN "<---------<br>";
    results in:
    Code:
    -------->/var/www/la155//mybloodyadmin/<---------
    -------->/var/www/la155/mybloodyadmin/<---------
    (names changed to protect the innocent...)

    what server software are you running? i'm running:

    HTTP Server: Apache/2.4.38 (Debian)
    PHP Version: 7.4.13 (Zend: 3.4.0)

    if you are running windows:

    https://docs.zen-cart.com/user/first...-not-supported

    if you are not running windows, by all means, i would love to explore further.

    best.
    author of square Webpay.
    mxWorks has premium plugins. donations: venmo or paypal accepted.
    premium consistent excellent support. available for hire.

  6. #76
    Join Date
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    9,696
    Plugin Contributions
    123

    Default Re: Authorize.net API with Card on File transactions support thread...

    I am in a subfolder of document root called demo_157a. Document root is /Users/scott/Sites/.

    MacOS (BSD Unix) - Zen Cart 1.5.7a, PHP 7.2 under MAMP. (Just a test site.)

    echo "-------->" . DIR_FS_CATALOG . DIR_WS_ADMIN . "<---------<br>";

    gives

    -------->/Users/scott/Sites/demo_157a//demo_157a/admin/<---------

    DIR_WS_ADMIN starts with the subfolder when one is used.
    That Software Guy. My Store: Zen Cart Modifications
    Available for hire - See my ad in Services
    Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
    Do you benefit from Zen Cart? Then please support the project.

  7. #77
    Join Date
    Nov 2005
    Location
    los angeles
    Posts
    2,691
    Plugin Contributions
    9

    Default Re: Authorize.net API with Card on File transactions support thread...

    Quote Originally Posted by swguy View Post
    I am in a subfolder of document root called demo_157a. Document root is /Users/scott/Sites/.

    MacOS (BSD Unix) - Zen Cart 1.5.7a, PHP 7.2 under MAMP. (Just a test site.)

    echo "-------->" . DIR_FS_CATALOG . DIR_WS_ADMIN . "<---------<br>";

    gives

    -------->/Users/scott/Sites/demo_157a//demo_157a/admin/<---------

    DIR_WS_ADMIN starts with the subfolder when one is used.
    so the problem is when the store is installed in a subfolder?

    great. i'll take a look and apply a fix as necessary. i am going to be doing an update shortly.

    thanks.
    author of square Webpay.
    mxWorks has premium plugins. donations: venmo or paypal accepted.
    premium consistent excellent support. available for hire.

  8. #78
    Join Date
    Nov 2005
    Location
    los angeles
    Posts
    2,691
    Plugin Contributions
    9

    Default Re: Authorize.net API with Card on File transactions support thread...

    v2.2.3 now available for download.

    php 7.0 is now required for this version.

    if your server is running less than php7.0, then please stay with 2.2.2.

    addresses fixes documented in thread above. also continues code cleanup... addresses some issues on card deletion on the admin side as well as card update on the customer side.

    best.
    author of square Webpay.
    mxWorks has premium plugins. donations: venmo or paypal accepted.
    premium consistent excellent support. available for hire.

  9. #79
    Join Date
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    9,696
    Plugin Contributions
    123

    Default Re: Authorize.net API with Card on File transactions support thread...

    What causes the enabled flag in customers_cc table to be set to N?

    Small suggested tweak: in
    ./includes/classes/observers/class.cim_admin_observer.php
    you could use BUTTON_DELETE_CARDS
    instead of the string "Delete Credit Cards".
    That Software Guy. My Store: Zen Cart Modifications
    Available for hire - See my ad in Services
    Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
    Do you benefit from Zen Cart? Then please support the project.

  10. #80
    Join Date
    Nov 2005
    Location
    los angeles
    Posts
    2,691
    Plugin Contributions
    9

    Default Re: Authorize.net API with Card on File transactions support thread...

    Quote Originally Posted by swguy View Post
    What causes the enabled flag in customers_cc table to be set to N?
    @swguy, this code is an evolution over many years work for some clients. during the pandemic, i decided to refactor it (it desperately needed it), and make it available to the community. this flag was part of the evolution, and in this module's current form is not used.

    Quote Originally Posted by swguy View Post
    Small suggested tweak: in
    ./includes/classes/observers/class.cim_admin_observer.php
    you could use BUTTON_DELETE_CARDS
    instead of the string "Delete Credit Cards".
    agreed. however that constant is not loaded at that point in the observer. i will look at where i am loading the payment modules and potentially move them so that the constant is available. little more complex, but i'm in agreement.

    thanks.
    author of square Webpay.
    mxWorks has premium plugins. donations: venmo or paypal accepted.
    premium consistent excellent support. available for hire.

 

 
Page 8 of 14 FirstFirst ... 678910 ... LastLast

Similar Threads

  1. v155 Saving Credit Card Info with Authorize.Net
    By magneto in forum Built-in Shipping and Payment Modules
    Replies: 3
    Last Post: 25 Jan 2021, 10:28 PM
  2. v154 Having Issues With Duplicate Transactions in Authorize.net
    By CSGODeimos in forum General Questions
    Replies: 1
    Last Post: 27 Sep 2017, 02:53 PM
  3. v151 Duplicate transactions authorize.net AIM
    By badarac in forum Built-in Shipping and Payment Modules
    Replies: 9
    Last Post: 9 Aug 2016, 03:52 PM
  4. Replies: 1
    Last Post: 31 May 2006, 05:06 PM

Bookmarks

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
Zen-Cart, Internet Selling Services, Klamath Falls, OR