Page 2 of 2 FirstFirst 12
Results 11 to 19 of 19
  1. #11
    Join Date
    Feb 2012
    Location
    mostly harmless
    Posts
    1,809
    Plugin Contributions
    8

    Default Re: Authorize.net (AIM) not setting correct order status (started post v1.5.4 upgrade

    Okay, so going back and re-reading everything.... The last post may not be relevant.... I'm a little confused as to the flow the client wants...

    Does the client want Authorize.NET set for Authorize + Capture? (Capture funds immediately and set to Processing, then manually change to Shipped when a tracking number is available)

    Or do they want Authorize.NET set to Authorize (No capture of funds and status set to Processing, Change the status to Shipped when they manually Capture)?

    Or something different yet?
    Last edited by lhungil; 28 Apr 2015 at 07:22 PM.
    The glass is not half full. The glass is not half empty. The glass is simply too big!
    Where are the Zen Cart Debug Logs? Where are the HTTP 500 / Server Error Logs?
    Zen Cart related projects maintained by lhûngîl : Plugin / Module Tracker

  2. #12
    Join Date
    Jan 2007
    Location
    Los Angeles, California, United States
    Posts
    10,021
    Plugin Contributions
    32

    Default Re: Authorize.net (AIM) not setting correct order status (started post v1.5.4 upgrade

    Quote Originally Posted by lhungil View Post
    Okay, so going back and re-reading everything.... The last post may not be relevant.... I'm a little confused as to the flow the client wants...

    Does the client want Authorize.NET set for Authorize + Capture? (Capture funds immediately and set to Processing, then manually change to Shipped when a tracking number is available)

    Or do they want Authorize.NET set to Authorize (No capture of funds and status set to Processing, Change the status to Shipped when they manually Capture)?

    Or something different yet?
    Sorry you are right.. it's the SECOND option.. (Authorize.. then manually capture..)

    Quote Originally Posted by lhungil View Post
    If the store does not have paid "downloadable content", the following should work. If the store does include "downloadable content", one may need to change some additional settings accordingly (after the following code change).

    Edit the class constructor in "includes/modules/payment/authorizenet_aim.php" (change is in red):
    Code:
        // Reset order status to pending if capture pending:
        //if (MODULE_PAYMENT_AUTHORIZENET_AIM_AUTHORIZATION_TYPE == 'Authorize') $this->order_status = 1;

    NOTE: This post by DrByte mentions this line (and the thread includes a brief discussion around this line of code).
    I think I can change that line as follows:
    Code:
        // Reset order status to pending if capture pending:
        if (MODULE_PAYMENT_AUTHORIZENET_AIM_AUTHORIZATION_TYPE == 'Authorize') $this->order_status = 2;
    but the question then becomes what about downloadable products?? I'm sure she wouldn't want them downloaded unless and until the Capture has been completed..
    Last edited by DivaVocals; 28 Apr 2015 at 07:31 PM.
    My Site - Zen Cart & WordPress integration specialist
    I don't answer support questions via PM. Post add-on support questions in the support thread. The question & the answer will benefit others with similar issues.

  3. #13
    Join Date
    Feb 2012
    Location
    mostly harmless
    Posts
    1,809
    Plugin Contributions
    8

    Default Re: Authorize.net (AIM) not setting correct order status (started post v1.5.4 upgrade

    Just my personal opinion... But, I believe it would be better to comment out that line. Commenting out the line will allow the settings you configure in the Payment Module to be used (instead of manually overridden). This also allows the value to be changed from the Zen Cart admin.

    Long term, may be worth updating the module to allow an additional configuration options (status when authorized, but not captured).

    Quote Originally Posted by DivaVocals View Post
    ... But the question then becomes what about downloadable products?? I'm sure she wouldn't want them downloaded unless and until the Capture has been completed..
    On stores doing Drop Shipping, I usually run with something similiar to the following:

    1 - Pending = Payment not Present. Need to contact customer to arrange payment.
    2 - Processing = Payment has been Authorized / Captured. Order is being processed.
    3 - Shipped = Shipped (and freight / parcel tracking information added).
    4 - Update = Used mostly when there is a problem with a physical order or to reset the download count.
    5 - Complete = Order has been completed (shipment received, refund time exceeded, etc).
    6 - Cancelled = Order was cancelled.

    You can then adjust the Zen Cart settings for downloads in "admin" -> "configuration" -> "downloads":
    Downloads Controller Order Status Value >= lower value = 3
    Downloads Controller Order Status Value <= upper value = 5

    If using another payment module which DOES capture immediately... You may need to adjust the payment module to set the status to Complete (or Shipped) in order to allow immediate downloads... Otherwise all downloads will be blocked until the store owner changes the order status.
    Last edited by lhungil; 28 Apr 2015 at 08:07 PM.
    The glass is not half full. The glass is not half empty. The glass is simply too big!
    Where are the Zen Cart Debug Logs? Where are the HTTP 500 / Server Error Logs?
    Zen Cart related projects maintained by lhûngîl : Plugin / Module Tracker

  4. #14
    Join Date
    Dec 2011
    Location
    Wisconsin, USA
    Posts
    674
    Plugin Contributions
    21

    Default Re: Authorize.net (AIM) not setting correct order status (started post v1.5.4 upgrade

    One small footnote about order status is that when Authorize.net returns response code 4 older versions of Authorize.net will cause orders not to fully complete and create duplicate order numbers.

    For that fix see here:
    https://github.com/zencart/zencart/pull/236/files

  5. #15
    Join Date
    Jan 2007
    Location
    Los Angeles, California, United States
    Posts
    10,021
    Plugin Contributions
    32

    Default Re: Authorize.net (AIM) not setting correct order status (started post v1.5.4 upgrade

    Thanks Larry and Andrew.. Gonna mull this all over over a BIG glass of Merlot tonight, and make the changes needed accordingly..
    My Site - Zen Cart & WordPress integration specialist
    I don't answer support questions via PM. Post add-on support questions in the support thread. The question & the answer will benefit others with similar issues.

  6. #16
    Join Date
    Aug 2009
    Location
    North Idaho, USA
    Posts
    2,008
    Plugin Contributions
    1

    Default Re: Authorize.net (AIM) not setting correct order status (started post v1.5.4 upgrade

    Quote Originally Posted by DivaVocals View Post
    Apparently she wants this configured for "Capture" BUT she wants the order status to be set to "Processing" anyway.. She will then Authorize the order and set the status to Shipped.
    Can't help with the workflow dilemma other than

    Terminology is a bit bassackwards.

    Authorize: does that, check the card for validity and puts the customer funds on hold.
    Capture: puts the funds into the merchant account

  7. #17
    Join Date
    Jan 2007
    Location
    Los Angeles, California, United States
    Posts
    10,021
    Plugin Contributions
    32

    Default Re: Authorize.net (AIM) not setting correct order status (started post v1.5.4 upgrade

    Quote Originally Posted by RixStix View Post
    Can't help with the workflow dilemma other than

    Terminology is a bit bassackwards.

    Authorize: does that, check the card for validity and puts the customer funds on hold.
    Capture: puts the funds into the merchant account
    You are right.. and it's a total "my bad" on my part here.. I think we already settled the typo I made on this score a little earlier.. (see Andrew's post end of page 1 of this thread, and my subsequent response..)
    My Site - Zen Cart & WordPress integration specialist
    I don't answer support questions via PM. Post add-on support questions in the support thread. The question & the answer will benefit others with similar issues.

  8. #18
    Join Date
    Jan 2007
    Location
    Los Angeles, California, United States
    Posts
    10,021
    Plugin Contributions
    32

    Default Re: Authorize.net (AIM) not setting correct order status (started post v1.5.4 upgrade

    Quote Originally Posted by lhungil View Post
    You can then adjust the Zen Cart settings for downloads in "admin" -> "configuration" -> "downloads":
    Downloads Controller Order Status Value >= lower value = 3
    Downloads Controller Order Status Value <= upper value = 5
    Not seeing this admin option.. a little guidance por favor..
    My Site - Zen Cart & WordPress integration specialist
    I don't answer support questions via PM. Post add-on support questions in the support thread. The question & the answer will benefit others with similar issues.

  9. #19
    Join Date
    Feb 2012
    Location
    mostly harmless
    Posts
    1,809
    Plugin Contributions
    8

    Default Re: Authorize.net (AIM) not setting correct order status (started post v1.5.4 upgrade

    My bad, it is under "Attribute Settings".

 

 
Page 2 of 2 FirstFirst 12

Similar Threads

  1. Low Order Fee not working with Authorize.net AIM
    By Feznizzle in forum Built-in Shipping and Payment Modules
    Replies: 3
    Last Post: 22 Mar 2014, 12:00 AM
  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. v139h Authorize.net AIM using wrong order / invoice number
    By LRS in forum Built-in Shipping and Payment Modules
    Replies: 4
    Last Post: 26 Mar 2012, 07:14 PM
  4. Authorize.net AIM - Successful - No Order?
    By Cylants in forum Built-in Shipping and Payment Modules
    Replies: 4
    Last Post: 24 May 2009, 09:27 PM
  5. Duplicate order numbers - just installed authorize.net AIM
    By DavidD in forum Addon Payment Modules
    Replies: 0
    Last Post: 8 Jun 2007, 04:45 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