Results 1 to 2 of 2
  1. #1
    Join Date
    Jun 2012
    Plugin Contributions

    bug PayFlow Pro Module - Paypal says sent same REQUEST_ID for different orders

    This only happens when we have a lot of volume. Paypal says it's when two customers are ordering at basically the same time. Our main use of ZenCart is periodically for an "auction" wherein each product is discounted 10% every day for 5 days until the limited quantity of that product runs out, so it generates a lot of action in a short time. What happens is that two separate orders - from two separate customers - get processed, the product count is decremented for both, and a receipt is mailed to the customers; however, only one customer gets charged and the other, with the same Payflow transaction ID on their order, does not.

    We had this problem once before, when our auction of holiday certificates swamped our system.


    Our v139h has not been updated - we downloaded the install and built it from scratch as we were making many appearance changes. This is the same install we used for the same purpose (restaurant gift certificates), but did not have the same problem. It could be our volume is greater this time around.

    The only add-on we've installed is the payflow pro module. We have the latest version, for ZenCart v1.3.9 and above.

    Our site has one difference from a vanilla install plus cosmetic template changes:

    in the order.php class, this line has been added:

    $this->products_ordered .= show_pickup($this->products[$i]['id'])."\n\n";

    And the show_pickup function, defined above it, returns a 1-line pickup address from an array. This is so the email will show the address to pick up the product - a gift certificate. The only change each time is a couple of entries in the array.

  2. #2
    Join Date
    Jan 2004
    Blog Entries
    Plugin Contributions

    Default Re: PayFlow Pro Module - Paypal says sent same REQUEST_ID for different orders

    It's been a very long time since I looked at code specific to Payflow (basically before, or just after, PayPal bought them).
    But I suspect that if you can alter the invoice number being submitted, such as by adding a timestamp to the end of it, it would then be seen as unique and thus complete without conflict.

    I've no idea what exactly you mean by "Payflow Pro Module", because there are various possibilities when people say "payflow", since the name/brand has had a diverse history.

    Where did you get the module, and have you changed it in any way from that source?
    And what other addons do you have on your site?
    What is your URL?

    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. v151 PayPal Payflow Pro module occasional issue
    By techmon in forum Addon Payment Modules
    Replies: 0
    Last Post: 30 Nov 2015, 08:58 PM
  2. v154 Does Paypal Payflow Gateway (Paypal Payflow Pro) work with 1.5.4?
    By mumzie in forum PayPal Website Payments Pro support
    Replies: 4
    Last Post: 16 Jul 2015, 06:59 PM
  3. Payflow Pro for PayPal?
    By DivaVocals in forum Addon Payment Modules
    Replies: 6
    Last Post: 10 Jun 2013, 11:28 PM
  4. Replies: 2
    Last Post: 31 Dec 2009, 04:42 AM
  5. Is PayFlow Pro the same as PayPal Website Payments Pro?
    By alicia1234 in forum PayPal Website Payments Pro support
    Replies: 2
    Last Post: 30 Jan 2009, 10:28 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
Zen-Cart, Internet Selling Services, Klamath Falls, OR