Homec4science

Add more structure to Phortune product purchasing flow

Authored by epriestley <git@epriestley.com> on Oct 6 2014, 19:36.

Description

Add more structure to Phortune product purchasing flow

Summary:
Ref T2787. When a user purchases a product in Phortune, transition the cart through a purchased state and invoke product callbacks so applications can respond to the workflow.

Also shore up some stuff like preventing negative amounts of funding.

Test Plan: Backed an initiative and saw it show up on the initiative after completing the purcahsing workflow.

Reviewers: btrahan

Reviewed By: btrahan

Subscribers: epriestley

Maniphest Tasks: T2787

Differential Revision: https://secure.phabricator.com/D10635

Details

Committed
epriestley <git@epriestley.com>Oct 6 2014, 19:36
Pushed
aubortJan 31 2017, 17:16
Parents
rPHe9615b74a55d: Move Phortune product logic into applications
Branches
Unknown
Tags
Unknown

Event Timeline

epriestley <git@epriestley.com> committed rPH35dc510e1801: Add more structure to Phortune product purchasing flow (authored by epriestley <git@epriestley.com>).Oct 6 2014, 19:36