Results 1 to 10 of 24

Hybrid View

  1. #1
    Join Date
    Jan 2004
    Posts
    66,447
    Plugin Contributions
    81

    Default Re: Odd problem with orders and authorize.net

    Quote Originally Posted by rbobzin View Post
    the orders comments part of your response has me a bit stumped.
    Hmmm ... I'll have to go do a fresh test to confirm what it should look like.

    Quote Originally Posted by rbobzin View Post
    If we decide to go to the add-on we used last year, are you saying that those random x's would NOT be generated, or are you saying we would have to downgrade back to 1.3.7?
    Depending how you integrate it, I'd suggest that you remove the random letters and use the external order generator ID you were using.
    I'm not sure how that exactly corresponds correctly with a Zen Cart order record, but I gather your client has already figured that part out.

    Quote Originally Posted by rbobzin View Post
    And finally, we've never done refunds through Zen Cart. From a purely practical standpoint, is that the way you would recommend we handle refunds in the future?
    It's up to you which method you choose. Some like to have the convenience of doing a refund directly from the order page in their Zen Cart admin instead of having to login to the authnet console to do it.

    Quote Originally Posted by rbobzin View Post
    Sorry for all the questions, but the client is starting to freak, as he had to issue a bunch of refunds last year for various reasons and is now afraid this order # issue will make it even harder if not impossible.
    Lotsa fun when the client freaks over things when something changes on them.
    .

    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.

  2. #2
    Join Date
    Mar 2007
    Posts
    112
    Plugin Contributions
    0

    Default Re: Odd problem with orders and authorize.net

    Thanks for your response, Doc. Naturally, though, I have some more questions:

    Hmmm ... I'll have to go do a fresh test to confirm what it should look like.
    If the actual order id + -xxxxxx does appear in the Comments section, that would certainly be one solution.

    Some like to have the convenience of doing a refund directly from the order page in their Zen Cart admin
    We've never used this option, although it seems to be the best. I tried the other night, but it only resulted in a Zen Cart record - nothing ever went to authorize.net. Any idea where I can find instructions on how to do this? Also, since we're using Super Orders, does that change anything?

    Lotsa fun when the client freaks over things when something changes on them.
    It can be, I guess - sort of depends on one's definition of "fun"!

    Thanks!

  3. #3
    Join Date
    Jan 2004
    Posts
    66,447
    Plugin Contributions
    81

    Default Re: Odd problem with orders and authorize.net

    I don't think Super Orders integrated the refund/void capabilities, so you'd have to use the regular Order page that normally comes with Zen Cart if you wanted to use those extra features.
    .

    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.

  4. #4
    Join Date
    Mar 2007
    Posts
    112
    Plugin Contributions
    0

    Default Re: Odd problem with orders and authorize.net

    Yeah, I was afraid you were going to say that!

    Let me, if I may continue to bug you, ask a different question. I replaced the authorizenet_aim.php file in my local copy of the live site with the standard file from the 1.3.8a install files. I uninstalled AIM, then re-installed it again, changed over to test mode, then went to the store and input a new order.

    Admin said the new order # was 3008 (which is correct), but when I looked at the authorizenet table via phpMyAdmin, it had the order_id as 300876! The x-invoice-number in that record's "sent" field is TEST-3008-d7NG6j. Since the order_id field is INT(11), it looks like it picked up the integer chars from the "-xxxxxx" and added that to the order number. Since all the Zen Cart orders tables show the id as 3008, I don't understand why they match, i.e. why Admin shows the order as paid?

    This issue makes uninstalling Super Orders and using Zen Cart's Orders to do refunds questionable.

    Thanks!

  5. #5
    Join Date
    Mar 2007
    Posts
    112
    Plugin Contributions
    0

    Default Re: Odd problem with orders and authorize.net

    Let me add a little to the above. I just installed a fresh version of 1.3.8a on my laptop - clean, no mods - then installed AIM with valid ID and Key, put it in test mode, then went to store and input a new order. I got the following results:

    1. Zen Cart says order # is 1.
    2. authorizenet table says "id" is 1, but order_id is "166". And, yup, the "-xxxxxx" string had 2 numbers in it - 6 and 6!

    So, added another order:

    1. Zen Cart says order # is 2.
    2. authorizenet table says "id" is 2, and order_id is "2". And the "-xxxxxx" string had NO numbers in it.

    If Zen Cart matches authorizenet table to orders table, does it use "id" or "order_id" to compare to the orders table's "orders_id"? If it uses "id", then it might be that Admin's Store Manager tool to reset the current order id doesn't carry over to the authorizenet table.

    Seems like the deeper I dig into this, the more confused I get!

    One last thing - I looked all over Admin to see where to issue a refund, but couldn't find anything.

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

    Default Re: Odd problem with orders and authorize.net

    Okay, the authorizenet table is dropping the letters. Correct. We may or may not fix that. That table is never used by the code anywhere at the present time. It is for diagnostic purposes only.

    To do a refund requires the Transaction ID, which is stored in the order comments next to the Auth Code.
    .

    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
    Jan 2004
    Posts
    66,447
    Plugin Contributions
    81

    Default Re: Odd problem with orders and authorize.net

    Quote Originally Posted by rbobzin View Post
    One last thing - I looked all over Admin to see where to issue a refund, but couldn't find anything.
    Like I said, if you use the original Orders tool instead of Super Orders, you'll have access to the additional functionality.

    You've likely removed the menu option for the original order-mgmt screen, so you'd have to access it manually by going to /admin/orders.php in your browser, after being logged in to your admin area.
    .

    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.

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

    Default Re: Odd problem with orders and authorize.net

    EEKS ... and you'll have to make one adjustment to the code:

    In /includes/modules/payment/authorizenet_aim.php
    find this line:
    Code:
      function RENAME_admin_notification($zf_order_id) {
    and change it to:
    Code:
      function admin_notification($zf_order_id) {
    .

    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.

 

 

Similar Threads

  1. Re: Problem with cookies and authorize.net checkout
    By hollyneedles in forum Built-in Shipping and Payment Modules
    Replies: 5
    Last Post: 16 May 2011, 05:35 PM
  2. Duplicate orders with Authorize.net AIM
    By wk4hm in forum Built-in Shipping and Payment Modules
    Replies: 4
    Last Post: 23 Dec 2010, 10:37 PM
  3. ZC orders with no Authorize.net processing??
    By phatkodi in forum General Questions
    Replies: 18
    Last Post: 6 Sep 2009, 08:15 PM
  4. Problem with Authorize.net
    By theclay in forum Built-in Shipping and Payment Modules
    Replies: 1
    Last Post: 15 Oct 2008, 05:12 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