Page 1 of 3 123 LastLast
Results 1 to 10 of 21
  1. #1
    Join Date
    Sep 2007
    Location
    Far South Coast, NSW, Australia
    Posts
    436
    Plugin Contributions
    0

    Default NAB Transact orders not appearing in admin since move to new server

    I moved the store a few days ago, and all seemed fine. I have done this many times before with other clients' stores. Now this client tells me that although she is receiving emails confirming payments from the bank (all payments go through NAB Transact Gateway), she is not receiving order confirmations from zencart and orders are not being logged in the admin.
    I've never seen this before after other moves. What could be going wrong?

  2. #2
    Join Date
    Jan 2004
    Posts
    66,443
    Plugin Contributions
    279

    Default Re: Orders not appearing in admin since move to new server

    Could be many things:
    - NAB doesn't have the right address of the new server
    - NAB has outdated cached DNS entries for the domain's address and TTL hasn't expired yet for it to update
    - NAB might have an IP address hard-coded into the account's settings
    - the new server's firewall might not be configured to receive traffic back
    - you might have introduced bugs when doing the move
    - etc
    - etc
    .

    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.

  3. #3
    Join Date
    Sep 2007
    Location
    Far South Coast, NSW, Australia
    Posts
    436
    Plugin Contributions
    0

    Default Re: Orders not appearing in admin since move to new server

    Thanks, looks like NAB needs to update something in their system.

  4. #4
    Join Date
    Sep 2007
    Location
    Far South Coast, NSW, Australia
    Posts
    436
    Plugin Contributions
    0

    Default Re: Orders not appearing in admin since move to new server

    Finally got onto NAB and they said, no, as long as the URL and folder names haven't changed, they don't need to change any of their settings. But I forgot to ask if "NAB has outdated cached DNS entries for the domain's address and TTL hasn't expired yet for it to update". Will call again.
    I also wonder if maybe I missed changing permissions on a folder so it can't be written to. Is there a list of folder permissions somewhere I can check against?
    And, looking through the back-end, I found a line in <nab_transact_hpp.php>:
    $gateway_vars['return_link_url'] = zen_href_link(FILENAME_CHECKOUT_SUCCESS, '', 'NONSSL', true);
    Is this right when we have SSL?
    Thanks...

  5. #5
    Join Date
    Jan 2004
    Posts
    66,443
    Plugin Contributions
    279

    Default Re: Orders not appearing in admin since move to new server

    Those are all good questions for the NAB people, or the people who wrote the custom code that interacts with Zen Cart, since they will know the requirements of their code such as permissions and SSL etc.
    .

    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.

  6. #6
    Join Date
    Sep 2007
    Location
    Far South Coast, NSW, Australia
    Posts
    436
    Plugin Contributions
    0

    Default Re: Orders not appearing in admin since move to new server

    Thanks DrByte, I am in tough with the NAB, so far it's "not their fault". Is there a list somewhere of folder permissions that I can check? I've only ever seen it during the installation

  7. #7
    Join Date
    Jan 2004
    Posts
    66,443
    Plugin Contributions
    279

    Default Re: Orders not appearing in admin since move to new server

    The permissions in Zen Cart are simple. And if your store is letting customers browse around and add things to their cart and your admin can add products etc, then permissions are highly unlikely to be a related problem ... unless the NAB module has some sort of special requirement they haven't specifically mentioned. And any such requirement would be pretty rare.

    Anyway, I just dug up this article by searching the FAQs area for "folder permissions": http://www.zen-cart.com/content.php?...-files-folders.
    .

    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,443
    Plugin Contributions
    279

    Default Re: Orders not appearing in admin since move to new server

    Have you actually done a test transaction, following it all the way through to the checkout_success page which shows back on the store after the customer comes back from the NAB site?
    And are you getting any errors in the myDebug-xxxxxx.log files? http://www.zen-cart.com/content.php?124-blank-page
    .

    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.

  9. #9
    Join Date
    Jan 2009
    Posts
    26
    Plugin Contributions
    1

    Default Re: Orders not appearing in admin since move to new server

    I debugged how the addon handles the call back from NAB Transact. I noticed the code in init_session.php (kind of) ignores the callback if the call back URL is not SSL.

    The following fix might solve the issue:

    Find the following 2 lines in /includes/modules/payment/nab_transact_hpp.php
    PHP Code:
    $gateway_vars['return_link_url'] = zen_href_link(FILENAME_CHECKOUT_SUCCESS'''NONSSL'true);
    $gateway_vars['reply_link_url'] = zen_href_link(FILENAME_CHECKOUT_PROCESS$query_string); 
    Replace them with
    PHP Code:
    $gateway_vars['return_link_url'] = zen_href_link(FILENAME_CHECKOUT_SUCCESS'', (ENABLE_SSL 'SSL' 'NONSSL'), true);
    $gateway_vars['reply_link_url'] = zen_href_link(FILENAME_CHECKOUT_PROCESS$query_string, (ENABLE_SSL 'SSL' 'NONSSL')); 
    This will ensure NAB Transact will call back a SSL URL. This should solve the problem.

    The catch is, your cart must have SSL Certificate installed.

    I am at a loss to explain how this problem cropped up all of a sudden. Did you change the version of the cart when you moved the store?

    Please post back if this solves your problem
    I2 Technology Solutions
    Integrated Information Technology Solutions

  10. #10
    Join Date
    Jan 2009
    Posts
    26
    Plugin Contributions
    1

    Default Re: Orders not appearing in admin since move to new server

    If anyone needs assistance with applying this fix send me a private message.
    I2 Technology Solutions
    Integrated Information Technology Solutions

 

 
Page 1 of 3 123 LastLast

Similar Threads

  1. v150 Admin Issues since server move
    By kgeoffrey in forum Upgrading to 1.5.x
    Replies: 2
    Last Post: 18 Jan 2015, 09:33 PM
  2. Developer needed for new NAB Transact add-on to support China UnionPay cards
    By nathan.churchward in forum Addon Payment Modules
    Replies: 3
    Last Post: 23 Apr 2013, 07:45 AM
  3. NAB Transact Hosted Payment Page
    By i2ts in forum Addon Payment Modules
    Replies: 14
    Last Post: 3 Sep 2010, 08:47 AM
  4. NAB Transact - no module?
    By jenfil in forum Addon Payment Modules
    Replies: 4
    Last Post: 29 Jan 2009, 03:58 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