Results 1 to 5 of 5
  1. #1
    Join Date
    May 2008
    Location
    Near the water, somewhere...
    Posts
    126
    Plugin Contributions
    0

    Default An occasional missing capture payment ability

    We usually get this, completed orders with buttons to
    capture, capture portions, to cancel, or to refund orders:

    Click image for larger version. 

Name:	captured-order.jpg 
Views:	91 
Size:	30.6 KB 
ID:	16605

    but every now and then we get this, where we're missing
    almost everything including the ability to capture:

    Click image for larger version. 

Name:	missing-capture-order.jpg 
Views:	85 
Size:	34.3 KB 
ID:	16606

    I did do a search of the forums, but found nothing. I'm
    totally lost. I have no idea where to start on this one.

    Any help is appreciated.

    Dr Doug

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

    Default Re: An occasional missing capture payment ability

    When no data is shown in the dark-grey table it means there was no data retrieved from the payment gateway for that transaction.

    Looks like you're using PayPal Pro, so I'll comment based on that assumption.

    Possible causes:
    a) if it happens "all the time" then it's because you've changed your PayPal credentials and the transaction IDs aren't available to the new PayPal account ID.
    b) if it happens "occasionally, but no pattern", maybe it's a communication failure when attempting to retrieve the data. Consult the logs folder if it happens regularly.
    c) if it "always happens to just this order", then it could be that the status of that order has been upgraded on PayPal's end in a way that the original transaction ID can't be used to "look up" the payment details. I've seen this happen sometimes on sites that do "pre-auth" of payments, and then later "capture" them in an unusual way (can't recall what way). Also, if PayPal has made a change to that sale on their end it might be affecting the ability to lookup using original Txn ID.

    Usually the PayPal log files will reveal more info, if you've got logging enabled.


    Several years ago I recall doing some fixes to accommodate some quirks in this stuff. But that was a long time ago. You can always find the fixes in the latest version of Zen Cart code. So at the very least maybe consider comparing your v1.5.1 PayPal files against the v1.5.4 files (or v1.5.5 if you don't mind the massive number of improvements and modernizations added in the v155 version of the module).
    .

    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
    May 2008
    Location
    Near the water, somewhere...
    Posts
    126
    Plugin Contributions
    0

    Default Re: An occasional missing capture payment ability

    Quote Originally Posted by DrByte View Post
    Possible causes:

    <snip>

    Usually the PayPal log files will reveal more info, if you've got logging enabled.

    <snip>
    Thank you!

    Gateways, ACH, PayPal, logs, CURL, capturing,
    etc..., it's all so foreign. How do I get myself to
    an expert-enough level to know what all the parts
    are of everything I need to be considering?

    My mind's reeling. Don't hold my hand, but point
    me to FAQs, etc., please.

    DrDoug

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

    Default Re: An occasional missing capture payment ability

    Turning on logging: Debug Logging - PayPal

    Then trigger the problem, and look into the logs directory on the server, and find out what the errors are that were recorded when the problem occurred.
    .

    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
    May 2008
    Location
    Near the water, somewhere...
    Posts
    126
    Plugin Contributions
    0

    Default Re: An occasional missing capture payment ability

    Thank you. PayPal logging enabled.

    Possibly related, I found a sha1 code change that had been generating
    a dozen or more log entries on occasion. The code change from, IIRC,

    /includes/something-or-other.php

    to

    SETUP_ID . SETUP_DIR . something-or-other.php

    may play into some of these timing issues. We'll see. Time will tell.

    Cue waiting...

    Unrelated, how to I force the column width of these columns, here, to
    something narrower? IMHO, it reads much nicer when it's not spanning
    the whole page. YMMV.

 

 

Similar Threads

  1. How does Authorize.net capture of payment work?
    By notageek in forum Built-in Shipping and Payment Modules
    Replies: 3
    Last Post: 7 Jan 2012, 09:01 PM
  2. Missing payment option on payment module.
    By Ralf The Dog in forum Installing on a Linux/Unix Server
    Replies: 7
    Last Post: 18 Oct 2011, 06:20 AM
  3. Occasional error in db_cache table?
    By bi11i in forum General Questions
    Replies: 1
    Last Post: 13 Feb 2011, 09:53 AM
  4. Capture a payment reference number at invoice time
    By dutchkiwis in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 15 Jan 2009, 10:00 AM
  5. Authorize and Capture Paypal funds for down payment
    By two7s_clash in forum Built-in Shipping and Payment Modules
    Replies: 2
    Last Post: 24 Jan 2007, 05:43 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