[PP-1] Suggested patch to help prevent double payments

Created on 8 January 2015, almost 11 years ago
Updated 18 August 2025, about 2 months ago

On a project we're getting occasional double/duplicate payments for the same order via PayFlow pro (patched via https://www.drupal.org/node/2237019 β†’ ) - either perhaps through user double submit clicking/refresh or PayPal communication problems. I've attached a patch which adds an NVP 'ORDERID' to the secure token request (as per https://developer.paypal.com/docs/classic/payflow/integration-guide/) as well as a curl header X-VPS-REQUEST-ID and timeout settings.

Would it also help to use drupal_http_request instead of curl as suggested in https://www.drupal.org/node/2027293 β†’ ?

Yet to be tested as to whether it's effective preventing duplicates.

✨ Feature request
Status

Closed: outdated

Version

2.0

Component

PayPal PPA

Created by

πŸ‡¨πŸ‡¦Canada bgilhome Victoria

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024