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

    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.

    NOTES:

    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
    Posts
    59,773
    Blog Entries
    4
    Plugin Contributions
    133

    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!
    Donations always welcome: www.zen-cart.com/donate

    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. Replies: 2
    Last Post: 31 Dec 2009, 04:42 AM
  2. Replies: 8
    Last Post: 18 May 2009, 12:55 AM
  3. 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
  4. Paypal Payflow Pro
    By GFyfe in forum Addon Payment Modules
    Replies: 4
    Last Post: 30 Oct 2008, 12:09 AM
  5. PayPal Website Payments Pro = PayPal PayFlow Pro?
    By Comtrad in forum PayPal Website Payments Pro support
    Replies: 4
    Last Post: 5 Feb 2008, 06:11 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •