From eea4e63bdf2d421d706cebc31183af2e68f72833 Mon Sep 17 00:00:00 2001 From: Raymond Yee Date: Mon, 3 Dec 2012 12:47:28 -0800 Subject: [PATCH] working through more of intricacies of expiring CC --- expiring_stripe_cc.ipynb | 32 ++++++++++++++++++++++++++++++-- 1 file changed, 30 insertions(+), 2 deletions(-) diff --git a/expiring_stripe_cc.ipynb b/expiring_stripe_cc.ipynb index 55215873..e7fc8827 100644 --- a/expiring_stripe_cc.ipynb +++ b/expiring_stripe_cc.ipynb @@ -139,7 +139,33 @@ "cell_type": "markdown", "metadata": {}, "source": [ - "# should we delete stripe accounts associated with deactivated accounts -- I think yes" + "# handling campaign totals properly based on account statuses\n", + "\n", + "**Will we need to start marking accounts as expired explicitly?** \n", + "\n", + "add a manager method?\n" + ] + }, + { + "cell_type": "code", + "collapsed": false, + "input": [ + "# calculate which active transactions not tied to an active account w/ unexpired CC\n" + ], + "language": "python", + "metadata": {}, + "outputs": [] + }, + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "# should we delete stripe accounts associated with deactivated accounts -- I think yes\n", + "\n", + "How to do? \n", + "\n", + "* clean up Customer associated with current deactivated accounts\n", + "* build logic in to delete Customer once the correspending account are deactivated and we safely have a new Account/Customer in place -- maybe a good task to put into the webhook handler" ] }, { @@ -155,7 +181,9 @@ { "cell_type": "code", "collapsed": false, - "input": [], + "input": [ + "# do the users w/ deactivated accounts have active ones?" + ], "language": "python", "metadata": {}, "outputs": []