Page MenuHomePhabricator

Implement Amazon payment notification listener
Closed, ResolvedPublic2 Estimated Story Points

Description

The SDK should help - SmashPig can just feed one of their classes the request body and headers, and read out the payment properties as an associative array.

Documentation here: https://payments.amazon.com/documentation/lpwa/201749840#201750560
says the notifications just tell us that objects (Order Reference, Authorization, Capture, Refund) have changed state. We then have to call GetXXXDetails to retrieve the full details of the object.

We only care about Captures and Refunds now, but we'll need to get donor details from the associated Order Reference.

Event Timeline

Ejegg raised the priority of this task from to Needs Triage.
Ejegg updated the task description. (Show Details)
Ejegg added a project: Fundraising-Backlog.
Ejegg subscribed.
Ejegg set Security to None.
Ejegg edited a custom field.

Change 237313 had a related patch set uploaded (by Ejegg):
WIP New Amazon payment listener

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

Change 237313 merged by jenkins-bot:
PayWithAmazon IPN listener

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

Jgreen changed the visibility from "Public (No Login Required)" to "acl*WMF-FR (Project)".Sep 22 2015, 4:04 PM
Jgreen changed the edit policy from "All Users" to "acl*WMF-FR (Project)".
Jgreen changed the visibility from "acl*WMF-FR (Project)" to "Public (No Login Required)".
Jgreen changed the edit policy from "acl*WMF-FR (Project)" to "All Users".
Jgreen closed subtask Restricted Task as Resolved.Sep 22 2015, 4:41 PM

Change 240157 had a related patch set uploaded (by Ejegg):
Fix Amazon completion message ID

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

Change 240157 merged by jenkins-bot:
Fix Amazon completion message ID

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