Results 1 to 10 of 143

Hybrid View

  1. #1
    Join Date
    Nov 2005
    Location
    los angeles
    Posts
    2,702
    Plugin Contributions
    11

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

    Quote Originally Posted by allmart View Post
    Went live on my test site and tested a small transaction which worked like a charm but when a pushed the red button in order details to void the transaction, I got this error "PHP Warning: Illegal string offset 'id' in /includes/modules/payment/authorizenet_cim.php on line 107."
    Thanks again for you help and an awesome plugin.
    i am not sure why your order does not have a country id there. it could be indicative of other problems.

    between lines 104 and 105 you can add the following code (i have included both lines below for clarity):

    PHP Code:

        
    global $order$db;
        if (empty(
    $order->billing['country']['id'])) {
                    return;
            }
        if ((
    $this->enabled == true) && ((int)MODULE_PAYMENT_AUTHORIZENET_CIM_ZONE 0)) { 
    best.
    author of square Webpay.
    mxWorks has premium plugins. donations: venmo or paypal accepted.
    premium consistent excellent support. available for hire.

  2. #2
    Join Date
    Feb 2016
    Location
    Canada
    Posts
    148
    Plugin Contributions
    0

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

    Quote Originally Posted by carlwhat View Post
    i am not sure why your order does not have a country id there. it could be indicative of other problems.

    between lines 104 and 105 you can add the following code (i have included both lines below for clarity):

    PHP Code:

        
    global $order$db;
        if (empty(
    $order->billing['country']['id'])) {
                    return;
            }
        if ((
    $this->enabled == true) && ((int)MODULE_PAYMENT_AUTHORIZENET_CIM_ZONE 0)) { 
    best.
    This worked, thanks again. I'm sorry to keep bothering you but I am having another issue. I am using One Page Checkout with Guest Checkout. When trying to process the order as a guest after a long delay, I get the following error "PHP Notice: 10437 was logged off and should be looked at! in /includes/modules/payment/authorizenet_cim.php on line 918". I tried increasing the time from 45 to 60 but no luck, which is already a long wait.

    Regards,

  3. #3
    Join Date
    Nov 2005
    Location
    los angeles
    Posts
    2,702
    Plugin Contributions
    11

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

    i would review this thread.

    and potentially turn guest checkout off.

    i’ll be without development resources for a bit.

    perhaps some one else can help out.

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

  4. #4
    Join Date
    Feb 2016
    Location
    Canada
    Posts
    148
    Plugin Contributions
    0

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

    Thanks Carl, unfortunately since implementing Guest Checkout I have seen a noticeable increase in orders. Don't understand why, even many customers that have accounts are using it.

  5. #5
    Join Date
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    9,774
    Plugin Contributions
    124

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

    In the constructor, after setting sort_order and enabled, you should do a check:

    if (null === $this->sort_order) return;

    otherwise you get a bunch of logs for undefined constants.

    [21-May-2024 11:42:03 America/Anchorage] PHP Fatal error: Uncaught Error: Undefined constant "MODULE_PAYMENT_AUTHORIZENET_CIM_TESTMODE" in /home/thatsoftwareguy4/client/includes/modules/payment/authorizenet_cim.php:104
    That Software Guy. My Store: Zen Cart Support
    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.

  6. #6
    Join Date
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    9,774
    Plugin Contributions
    124

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

    Does this module have some sort of BNPL (buy now pay later) functionality?
    That Software Guy. My Store: Zen Cart Support
    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. #7
    Join Date
    Nov 2005
    Location
    los angeles
    Posts
    2,702
    Plugin Contributions
    11

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

    Quote Originally Posted by swguy View Post
    Does this module have some sort of BNPL (buy now pay later) functionality?
    this module is based on the authorize.net sdk.

    even though authorize.net is now owned by visa/mastercard, they have not updated the sdk in quite some time.

    thankfully some other members of the opensource community have updated the sdk to be php 8.x compliant (which i am now using in this module). what happens to the sdk going forward is anyone's guess.

    while the sdk "may" support BNPL, i have not looked into it. and given the sdk's uncertain future, i am hesitant (to say the least) of doing any unfunded development. if someone wants to fund development of BNPL functionality with this module, feel free to PM me.

    else, this BNPL module has been out and functioning in the wild without problems for quite some time.

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

  8. #8
    Join Date
    Nov 2005
    Location
    los angeles
    Posts
    2,702
    Plugin Contributions
    11

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

    Quote Originally Posted by swguy View Post
    In the constructor, after setting sort_order and enabled, you should do a check:

    if (null === $this->sort_order) return;

    ....
    i only write code that conforms to the PSR-12 standard...
    author of square Webpay.
    mxWorks has premium plugins. donations: venmo or paypal accepted.
    premium consistent excellent support. available for hire.

 

 

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