Forums / Addon Payment Modules / PayFlow Pro Module - Paypal says sent same REQUEST_ID for different orders

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

Started by the_register_guard on 19 Jun 2012, 6:04 PM · Views: 1,671

Results 1 to 2 of 2
19 Jun 2012, 6:04 PM
#1
the_register_guard avatar

the_register_guard

New Zenner

Join Date:
Jun 2012
Posts:
2
Plugin Contributions:
0

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.

19 Jun 2012, 10:22 PM
#2
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,512
Plugin Contributions:
176

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.