Page MenuHomePhabricator

Donor cancelled recurring donation at PayPal. Donation still shows as active in Civi.
Closed, ResolvedPublic

Description

Donor in Zendesk ticket 1831082 / CID 65123875 reached out about their recurring donation as they received our thank you campaign email on 01/22/2026 that stated that they are a monthly donor.

They noted "I have recently received the below email regarding being a donor to Wikimedia foundation. However, I have already discontinued my donations to Wikipedia. Can you please confirm whether I still have any current donor account or donations, to any organisation related to Wikimedia?"

As shown in the screenshot below in Civi the recurring donation shows as active and not cancelled. However, the 01/26/2026 billing did not process.

0130 screenshot 2.png (328×2 px, 83 KB)

However, in PayPal the recurring donation shows as cancelled by the donor back on 12/26/2025.

0130 screenshot 1.png (383×1 px, 46 KB)

Could we look into why this one did not cancel in Civi please?

Could we also please look to see if there are any others that have been cancelled by donors at PayPal that are still showing as active in Civi?

Thank you in advance! :)

Event Timeline

I see the cancel message come into our IPN listener at 11:06 AM that day, just a few minutes after a payment message on the same recurring. Since it was during Big English, the donation queues were pretty full and the cancel message got processed first. I can see in the db logs that the status went to cancelled, and then when the payment message came in we uncancelled it. I will update our uncancel logic to check the donation date.

Change #1235355 had a related patch set uploaded (by Ejegg; author: Ejegg):

[wikimedia/fundraising/crm@master] Don't uncancel when messages processed out of order

https://gerrit.wikimedia.org/r/1235355

I do see 50 or so records that have similarly short times between cancel and uncancel - I'll set them back to cancelled.

Awesome, thank you for the quick fix @Ejegg! :)

OK, those records are back in cancelled state. Just waiting for someone to review the code change to prevent it from happening again in the future.

Change #1235355 merged by Eileen:

[wikimedia/fundraising/crm@master] Don't uncancel when messages processed out of order

https://gerrit.wikimedia.org/r/1235355

OK, the fix to check dates is deployed, and the previously-reactivated ones have been set back to cancelled.

XenoRyet set Final Story Points to 4.