Load saved IPNs using txn_id

Created on 12 January 2017, over 8 years ago
Updated 18 August 2025, about 2 months ago

Problem/Motivation

Context: For some reason that we have not yet worked out paypal is marking payments made from our site as needing review. We make a successful payment, however the IPN callback creates a pending transaction and within 24 hours paypal reviews the payment and makes a follow up ipn that should mark the existing payment as 'Completed'.

However what it is doing is creating a new transaction with the same remote id as the original pending transaction.

The reason for this is that the IPN payload does not have the 'auth_id' property that is currently being used to identify follow up IPNs to existing transactions.

Proposed resolution

Also try to find a previous transaction based on 'txn_id' if there is no 'auth_id' in the payload.

Remaining tasks

  • Review

User interface changes

None

API changes

Additional check to find existing transactions during IPN process.

Data model changes

None

πŸ› Bug report
Status

Closed: outdated

Version

2.0

Component

PayPal WPS

Created by

πŸ‡¬πŸ‡§United Kingdom yanniboi UK

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