Page MenuHomePhabricator

Pending Transaction Resolver support for Gravy
Closed, ResolvedPublic

Description

We already resolve Adyen's transactions, so the code should mostly be there. We need to check if any gravy-specific flags need adding.

Related Objects

StatusSubtypeAssignedTask
OpenNone
Resolvedjgleeson

Event Timeline

I've tested this locally with a Gravy payment stopped at auth, and it currently fails due to the Gravy PaymentProvider class not supporting getLatestPaymentStatus, so we'll need to update the Gravy Smashpig code to support that first.

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

[wikimedia/fundraising/SmashPig@master] Switch getPaymentDetails to getLatestPaymentStatus on Gravy PaymentProcessor

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

The pending transaction resolver is now working for me locally with Gravy transactions after checking out this SmashPig patch into CiviCRM using ./scripts/civicrm-smashpig-checkout-patch.sh 1075590
Note: mac users must also run ./setup.sh sync to push the updates to your CiviCRM container.

Change #1075590 merged by jenkins-bot:

[wikimedia/fundraising/SmashPig@master] Switch getPaymentDetails to getLatestPaymentStatus on Gravy PaymentProcessor

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

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

[mediawiki/extensions/DonationInterface@master] Update call to get Gravy transaction details

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

Change #1076786 merged by jenkins-bot:

[mediawiki/extensions/DonationInterface@master] Update call to get Gravy transaction details

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

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

[wikimedia/fundraising/crm@master] Add tests to cover Gravy pending transaction resolver paths

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

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

[wikimedia/fundraising/crm@master] Upgrade SmashPig to v0.8.13

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

Change #1077454 merged by jenkins-bot:

[wikimedia/fundraising/crm@master] Upgrade SmashPig to v0.8.13

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

Change #1077393 merged by jenkins-bot:

[wikimedia/fundraising/crm@master] Add tests to cover Gravy pending transaction resolver paths

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

XenoRyet set Final Story Points to 4.