Page MenuHomePhabricator

Give WePay complete payment logic in Phortune
ClosedPublic

Authored by epriestley on Oct 6 2014, 7:02 PM.
Tags
None
Referenced Files
Unknown Object (File)
Nov 23 2024, 11:31 AM
Unknown Object (File)
Nov 20 2024, 9:14 PM
Unknown Object (File)
Nov 11 2024, 1:39 AM
Unknown Object (File)
Nov 7 2024, 3:37 AM
Unknown Object (File)
Nov 3 2024, 9:24 PM
Unknown Object (File)
Oct 24 2024, 2:56 AM
Unknown Object (File)
Oct 18 2024, 2:46 PM
Unknown Object (File)
Oct 17 2024, 3:23 PM
Subscribers

Details

Summary

Ref T2787. This doesn't get all the edge cases quite correct, but is generally a safe, complete payment workflow:

  • Shares the actual charging state logic.
  • Makes it appropriately stateful with locking and transactions.
  • Gets the main flow correct.
  • Detects failure cases, just tends to blow up rather than help the user resolve them.
Test Plan
  • Charged with WePay.
  • Charged with Infinite Free Money.
  • Resumed an abandoned cart.
  • Hit all failure states where we just dead-end the cart. Not ideal, but (seemingly) complete/safe/correct.

Diff Detail

Repository
rP Phabricator
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

epriestley retitled this revision from to Give WePay complete payment logic in Phortune.
epriestley updated this object.
epriestley edited the test plan for this revision. (Show Details)
epriestley added a reviewer: btrahan.
btrahan edited edge metadata.
This revision is now accepted and ready to land.Oct 6 2014, 8:02 PM
This revision was automatically updated to reflect the committed changes.