[go: up one dir, main page]

Page MenuHomePhabricator

Create jobs for the events pushed to the jobs-gravy queue
Closed, ResolvedPublic

Description

We are currently saving the webhook events from Gravy in the jobs-gravy. Here's the form by which the event is sent and saved:

Here are the payloads from the Gravy webhook events: https://docs.gr4vy.com/guides/features/webhooks/payload

'{"type":"event","id":"36d2c101-4db5-4afd-ba4b-8fd9b60764ab","created_at":"2024-07-22T19:56:22.973896+00:00","target":{"type":"transaction","id":"b332ca0a-1dce-4ae6-b27b-04f70db8fae7"},"merchant_account_id":"default"}'

We need to make another request to review the full transaction details and push to the relevant queues (like we do in the other jobs-{processor} queues), pending the time Gravy deploys the updates to their webhooks.

Event Timeline

Damilare updated the task description. (Show Details)

Change #1056531 had a related patch set uploaded (by Damilare Adedoyin; author: Damilare Adedoyin):

[wikimedia/fundraising/SmashPig@master] WIP

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

Damilare renamed this task from Process jobs-gravy queue to Create jobs for the events pushed to the jobs-gravy queue.Jul 24 2024, 3:32 PM
Damilare updated the task description. (Show Details)

Change #1057937 had a related patch set uploaded (by Damilare Adedoyin; author: Damilare Adedoyin):

[wikimedia/fundraising/SmashPig@master] ProcessCaptureRequestJob for authorization messages

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

Change #1058580 had a related patch set uploaded (by Damilare Adedoyin; author: Damilare Adedoyin):

[wikimedia/fundraising/SmashPig@master] Record capture job

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

Change #1059356 had a related patch set uploaded (by Damilare Adedoyin; author: Damilare Adedoyin):

[wikimedia/fundraising/SmashPig@master] Refund job

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

Change #1059932 had a related patch set uploaded (by Damilare Adedoyin; author: Damilare Adedoyin):

[wikimedia/fundraising/SmashPig@master] WIP: Handle Report execution webhook message

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

Change #1056531 merged by jenkins-bot:

[wikimedia/fundraising/SmashPig@master] Setup listener for transaction event message.

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

Change #1057937 merged by jenkins-bot:

[wikimedia/fundraising/SmashPig@master] ProcessCaptureRequestJob for authorization messages

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

Change #1058580 merged by jenkins-bot:

[wikimedia/fundraising/SmashPig@master] Record capture job

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

Change #1059356 merged by jenkins-bot:

[wikimedia/fundraising/SmashPig@master] Refund job

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

Change #1059932 merged by jenkins-bot:

[wikimedia/fundraising/SmashPig@master] Handle Report execution webhook message

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

Change #1071853 had a related patch set uploaded (by Jgleeson; author: Jgleeson):

[wikimedia/fundraising/dev@master] Add jobs-gravy consumer config to consume-queues-smashpig.sh

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

Change #1071853 merged by Damilare Adedoyin:

[wikimedia/fundraising/dev@master] Add jobs-gravy consumer config to consume-queues-smashpig.sh

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

XenoRyet set Final Story Points to 4.