Page MenuHomePhabricator

Ingenico recurring messages missing token
Closed, ResolvedPublic

Description

During the 1 hour test, we got at least 6 messages in the queue with recurring=1 but without a token, resulting in failmails like this:

2018-05-11T09:35:02-07:00 [INFO] Entering logging context 'queue2civicrm'.
2018-05-11T09:35:08-07:00 [ERROR] Error processing message, moving to damaged store.
WmfException@sites/all/modules/wmf_civicrm/wmf_civicrm.module:227 (INVALID_MESSAGE Recurring donation, but no subscription ID or recurring payment token found.
Source: array (
))
2018-05-11T09:36:39-07:00 [DEBUG] Queue is empty.

Event Timeline

Ejegg triaged this task as Medium priority.May 24 2018, 2:14 PM
Ejegg updated the task description. (Show Details)

We're also getting these from the audits. Not sure what the solution is there. Maybe we could go so far as to make the 'tokenizePayment' call from the Civi importer when it sees one of these?

Change 441317 had a related patch set uploaded (by Ejegg; owner: Ejegg):
[wikimedia/fundraising/crm@master] WIP tokenize recurring payments stuck in damaged queue

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

Change 441317 merged by jenkins-bot:
[wikimedia/fundraising/crm@master] Tokenize recurring payments stuck in damaged table

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

Vvjjkkii renamed this task from Ingenico recurring messages missing token to 3ccaaaaaaa.Jul 1 2018, 1:08 AM
Vvjjkkii removed jgleeson as the assignee of this task.
Vvjjkkii raised the priority of this task from Medium to High.
Vvjjkkii updated the task description. (Show Details)
Vvjjkkii removed subscribers: gerritbot, Aklapper.
CommunityTechBot renamed this task from 3ccaaaaaaa to Ingenico recurring messages missing token.Jul 2 2018, 4:28 AM
CommunityTechBot assigned this task to jgleeson.
CommunityTechBot lowered the priority of this task from High to Medium.
CommunityTechBot updated the task description. (Show Details)
CommunityTechBot added subscribers: gerritbot, Aklapper.

Change 441250 had a related patch set uploaded (by Ejegg; owner: Ejegg):
[wikimedia/fundraising/SmashPig@master] JobQueueConsumer can hydrate non-JsonSerializableObjects

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

Change 441251 had a related patch set uploaded (by Ejegg; owner: Ejegg):
[wikimedia/fundraising/SmashPig@master] Job to add tokens to Ingenico payments

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

Change 441250 merged by jenkins-bot:
[wikimedia/fundraising/SmashPig@master] JobQueueConsumer can hydrate non-JsonSerializableObjects

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

Change 441251 merged by jenkins-bot:
[wikimedia/fundraising/SmashPig@master] Job to add tokens to Ingenico payments

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