Results 1 to 10 of 19

Hybrid View

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

    Default Re: Auth.net SIM script timed out while trying to POST transaction results

    1. Customer is sent to the Auth.net SIM payment form with their account details pre-populated so that they can input credit card #, exp date and CVV.
    2. Bottom of page has a "Pay Now" button.
    3. Click "Pay Now"
    4. Instantly, a generic auth.net white page with text
    5. Server log entry appears identical to post#3 above



    ------------------------------An error occurred while trying to report this
    transaction to the merchant. An e-mail has been sent to the merchant
    informing them of the error. The following is the result of the attempt to
    charge your credit card.

    This transaction has been approved.

    It is advisable for you to contact the merchant to verify that you will
    receive the product or service.
    No links back to the ZC site. Just the sterile, white auth.net page

    The payment is authorized and captured which can be seen within the auth.net account.

    The email sent by auth.net to the merchant (me) is

    Authorize.Net Merchant,

    Your script timed out while we were trying to post transaction results to it.
    Transaction ID: 6657207384
    Transaction Result: This transaction has been approved.

    The following message was displayed to the customer:
    ------------------------------
    An error occurred while trying to report this
    transaction to the merchant. An e-mail has been sent to the merchant
    informing them of the error. The following is the result of the attempt to
    charge your credit card.

    This transaction has been approved.

    It is advisable for you to contact the merchant to verify that you will
    receive the product or service.
    ------------------------------
    Last edited by RixStix; 13 Nov 2014 at 09:52 PM.
    Rick
    RixStix (dot) com
    aka: ChainWeavers (dot) com

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

    Default Re: Auth.net SIM script timed out while trying to POST transaction results

    Below is the screens received in a successful payment made on the test site
    step 1 of 4 shipping
    step 2 of 4 payment method
    step 3 of 4 checkout confirmation
    redirect to auth.net SIM form for payment details
    PAY NOW button on SIM form
    redirect white screen & mixed content screen (must acknowledge mixed content) using FireFox browser
    This page will automatically redirect you back to ChainWeavers.com for your order confirmation
    details
    If you are not redirected within 5 seconds, please click the button below to continue
    CONTINUE BUTTON.
    Popup window on top of the above white screen.
    Security warning
    Although this page is encrypted, the information you have entered is to be sent over an unencripted connection and could easily be read by a third party.
    Are you sure you want to continue sending this information?
    CONTINUE CANCEL
    step 4 of 4 ZC order confirmation screen
    ===============================================

    This is the order of screens on a failed payment transaction


    1. Checkout Step 1 of 4 shipping
    2. Checkout Step 2 of 4 payment method. Select Credit Card SIM method.
    3. Checkout Step 3 of 4 checkout confirmation. Confirm.
    4. Auth.net SIM payment form opens. https://secure.authorize.net/gateway/transact.dll
    5. Enter valid CC information.
    6. Click PAY NOW button.
    7. https://secure.authorize.net/gateway/transact.dll white, auth.net screen with customer message. transaction approved.[/FONT]
    8. Back button, to auth.net SIM payment form.
    9. Back button twice, document expired, reload. Checkout Step 3 of 4


    Email received from auth.net showing payment details
    ========== MERCHANT DEFINED =========
    securityToken : 573594402454131a474b64313c6596e5
    zenid : b03737d35c3d8c4330608929ba6a72d3
    ==================================

    zenid matches the zenid in the Checkout Step 3 of 4 checkout confirmation URL.
    Not sure if security token is supposed to match anything.

    [x_fp_hash] => sent to auth.net
    Auth.net fingerprint troubleshooting generator matches [x_fp_hash] transmitted by ZC[/FONT]
    Last edited by RixStix; 13 Nov 2014 at 11:43 PM.
    Rick
    RixStix (dot) com
    aka: ChainWeavers (dot) com

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

    Default Re: Auth.net SIM script timed out while trying to POST transaction results

    Server log successful, test server transaction
    198.241.168.60 - - [13/Nov/2014:14:31:47 -0800] "POST /ZEN153/index.php?main_page=checkout_process&action=confirm HTTP/1.1" 302- "-" "-"
    198.241.168.60 - - [13/Nov/2014:14:31:48 -0800] "GET /ZEN153/index.php?main_page=checkout_success&action=confirm&zenid=549a33192447c5a4b58268 c12181d57f HTTP/1.1" 200 1087 "-" "-"
    Server log failed live server transaction
    198.241.168.60 - - [13/Nov/2014:11:00:43 -0800] "POST /index.php?main_page=checkout_process&action=confirm HTTP/1.1" 302 208 "-" "-"
    Rick
    RixStix (dot) com
    aka: ChainWeavers (dot) com

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

    Default Re: Auth.net SIM script timed out while trying to POST transaction results

    Quote Originally Posted by RixStix View Post
    Server log successful, test server transaction
    198.241.168.60 - - [13/Nov/2014:14:31:47 -0800] "POST /ZEN153/index.php?main_page=checkout_process&action=confirm HTTP/1.1" 302- "-" "-"
    198.241.168.60 - - [13/Nov/2014:14:31:48 -0800] "GET /ZEN153/index.php?main_page=checkout_success&action=confirm&zenid=549a33192447c5a4b58268 c12181d57f HTTP/1.1" 200 1087 "-" "-"
    Server log failed live server transaction
    198.241.168.60 - - [13/Nov/2014:11:00:43 -0800] "POST /index.php?main_page=checkout_process&action=confirm HTTP/1.1" 302 208 "-" "-"
    Those 302 responses are not part of a default ZC install. Do you have a URL-rewriter intercepting the URLs?

    Are the apache vhosts and all the .htaccess files identical between both servers?
    .

    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.

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

    Default Re: Auth.net SIM script timed out while trying to POST transaction results

    Quote Originally Posted by DrByte View Post
    Those 302 responses are not part of a default ZC install. Do you have a URL-rewriter intercepting the URLs?
    No URL rewriter installed.

    Quote Originally Posted by DrByte View Post
    Are the apache vhosts
    apache vhosts => Sorry, I do not understand the question.

    Quote Originally Posted by DrByte View Post
    and all the .htaccess files identical between both servers?
    No they are not identical.
    test site has no .htaccess in root
    prod site has .htaccess in root. Most lines are blocking bad IP and bots. some carryover from previous zencart recommendations.

    Removed .htaccess and auth.net SIM completes transaction as expected. The line from the server log does contain 302

    198.241.168.60 - - [14/Nov/2014:18:44:18 -0800] "POST /index.php?main_page=checkout_process&action=confirm&zenid=3ee5d47d6e3486a1e004e9 3ff23ee21a HTTP/1.1" 302 - "-" "-"
    Thank you. Now to figure out the .htaccess but that should be an easy matter compared to getting here.
    Rick
    RixStix (dot) com
    aka: ChainWeavers (dot) com

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

    Default Re: Auth.net SIM script timed out while trying to POST transaction results

    Quote Originally Posted by RixStix View Post
    No they are not identical.
    test site has no .htaccess in root
    prod site has .htaccess in root. Most lines are blocking bad IP and bots. some carryover from previous zencart recommendations.

    Removed .htaccess and auth.net SIM completes transaction as expected. ...

    Thank you. Now to figure out the .htaccess but that should be an easy matter compared to getting here.
    I'd be very interested in knowing which statements in your .htaccess have caused this.
    .

    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
    Aug 2009
    Location
    North Idaho, USA
    Posts
    2,008
    Plugin Contributions
    1

    Default Re: Auth.net SIM script timed out while trying to POST transaction results

    Quote Originally Posted by DrByte View Post
    I'd be very interested in knowing which statements in your .htaccess have caused this.
    Found it in the section for blocking "bad bots"
    Amazing what can ultimately cause so much grief and troubleshooting; especially for non-coders.
    Thank you again for pointing me in various directions to isolate the problem.

    Code:
        RewriteCond %{HTTP_USER_AGENT} ^$ [NC,OR]
    Rick
    RixStix (dot) com
    aka: ChainWeavers (dot) com

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

    Default Re: Auth.net SIM script timed out while trying to POST transaction results

    Looked at the SIM_mydebug files a bit closer and found that the data being sent to auth.net differs between the test and live site if that makes any difference.

    The live site data sent to auth.net contains the zenID.
    The test site data sent to auth.net does not contain the zenID

    test site SIM debug
    Sent TO auth.net
    [x_relay_URL] => http:\\chainweavers.TESTSITE/ZEN153/index.php?main_page=checkout_process&action=confirm
    live site SIM debug
    Sent TO auth.net
    [x_relay_url] => https:\\chainweavers.LIVESITE/index.php?main_page=checkout_process&action=confirm&zenid=b03737d35c3d8c 4330608929ba6a72d3
    (I changed forwardslash to backslash after https:)
    Rick
    RixStix (dot) com
    aka: ChainWeavers (dot) com

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

    Default Re: Auth.net SIM script timed out while trying to POST transaction results

    That is not the issue


    Quote Originally Posted by RixStix View Post
    Looked at the SIM_mydebug files a bit closer and found that the data being sent to auth.net differs between the test and live site if that makes any difference.

    The live site data sent to auth.net contains the zenID.
    The test site data sent to auth.net does not contain the zenID

    test site SIM debug
    Sent TO auth.net


    live site SIM debug
    Sent TO auth.net

    (I changed forwardslash to backslash after https:)
    Rick
    RixStix (dot) com
    aka: ChainWeavers (dot) com

 

 

Similar Threads

  1. v153 Auth.net SIM Error 99 Cannot be accepted
    By RixStix in forum Built-in Shipping and Payment Modules
    Replies: 11
    Last Post: 1 Nov 2014, 09:17 PM
  2. v139h Authorize.Net AIM Comm results: 6 name lookup timed out
    By Kamino84 in forum Built-in Shipping and Payment Modules
    Replies: 2
    Last Post: 9 Feb 2013, 06:08 AM
  3. SIM: Your script timed out while we were trying to post transaction results to it.
    By xcergy in forum Built-in Shipping and Payment Modules
    Replies: 5
    Last Post: 2 Dec 2009, 02:58 PM
  4. Authorize.net SIM:Your script timed out while we were trying to post transaction resu
    By fattyfat in forum Built-in Shipping and Payment Modules
    Replies: 22
    Last Post: 25 Oct 2009, 12:21 AM
  5. Authorize.net SIM: An error occurred while trying to report this transaction to merch
    By sapproizza in forum Built-in Shipping and Payment Modules
    Replies: 2
    Last Post: 5 May 2008, 11:19 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