Results 1 to 10 of 199

Hybrid View

  1. #1
    Join Date
    Feb 2016
    Location
    Canada
    Posts
    190
    Plugin Contributions
    0

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

    Many thanks ... worked like a charm, Cheers!

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

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

    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.

  3. #3
    Join Date
    Nov 2005
    Location
    los angeles
    Posts
    2,915
    Plugin Contributions
    13

    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 now has Apple Pay and Google Pay. donations: venmo or paypal accepted.
    premium consistent excellent support. available for hire.

  4. #4
    Join Date
    Feb 2016
    Location
    Canada
    Posts
    190
    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,

  5. #5
    Join Date
    Nov 2005
    Location
    los angeles
    Posts
    2,915
    Plugin Contributions
    13

    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 now has Apple Pay and Google Pay. donations: venmo or paypal accepted.
    premium consistent excellent support. available for hire.

  6. #6
    Join Date
    Feb 2016
    Location
    Canada
    Posts
    190
    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.

  7. #7
    Join Date
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    10,536
    Plugin Contributions
    127

    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.

 

 

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

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