Commit graph

375 commits

Author SHA1 Message Date
Samuel Clay
0c23b6eeb5 Handling missing subscription when canceling paypal. 2022-07-01 12:35:59 -04:00
Samuel Clay
fc3f027241 Handling stripe card error. 2022-07-01 12:20:10 -04:00
Samuel Clay
932b4a489c Attempting two paypal fixes, one where ipns are sent to webhooks, and the other where webhooks are sent to ipns. 2022-07-01 12:17:14 -04:00
Samuel Clay
d47053d049 Refactoring 2022-06-22 15:53:13 -04:00
Samuel Clay
6c86bb479a Using correct url for rfc5005. 2022-06-22 12:11:52 -04:00
Samuel Clay
b6cc43f2ca Don't upgrade accounts that are only fetching history. 2022-06-21 13:17:00 -04:00
Samuel Clay
040eb9148e Deleting paypal and stripe ids when deleting a user. 2022-06-21 11:23:25 -04:00
Samuel Clay
b2325dcbc6 Fast deletion of spam accounts. 2022-06-06 11:52:16 -04:00
Samuel Clay
ae6ce4d241 Specifying paypal specifically when deleting payments. 2022-06-05 14:16:52 -04:00
Samuel Clay
6b0dc6dd51 Counting deleted paypal payments. 2022-06-05 14:14:01 -04:00
Samuel Clay
85327ca942 Correcting count of paypal payments 2022-06-05 13:34:58 -04:00
Samuel Clay
dd63d9e039 Adding resync for payments to sync premium renewal field. 2022-06-05 13:04:55 -04:00
Samuel Clay
396f409bf0 Remove duplicate paypal payments. 2022-06-05 12:47:57 -04:00
Samuel Clay
44f4ada0f3 Only count paypal payments that are of type 'subscr_payment' 2022-06-05 12:45:17 -04:00
Samuel Clay
2f7d9a77ef Handling Paypal's lack of transactions before 3 years ago by dipping into PayPalIPN's recorded already. 2022-06-05 12:19:49 -04:00
Samuel Clay
bbc0d1af94 Adjusting paypal transactions search. 2022-06-05 09:46:27 -04:00
Samuel Clay
3b1ae03129 No need for active plan from paypal api. 2022-06-05 09:28:05 -04:00
Samuel Clay
9c115ebbb7 Adding new buttons for adding and removing dashboard story list modules. Finally get to use the right-side dashboard module. Looks great in 3 column as well. 2022-05-17 13:45:51 -04:00
Samuel Clay
1116569160 Adding graphic to archive thank you email. 2022-05-05 16:03:14 -04:00
Samuel Clay
4f69d15fcb RFC5005 fetching should be working, but the test site is changing urls to a weird http://x.com:443, so maybe we need to normalize the url? 2022-04-20 22:38:51 -04:00
Samuel Clay
5981b24588 Counting pre-archive pages. Need to format the email to better show what the user gained. And also to make it shareable. 2022-04-18 14:08:28 -04:00
Samuel Clay
ac593494db Sending all of a user's feeds through the archive fetcher to fill out their backfill, then email them the new stories. 2022-04-18 13:29:13 -04:00
Samuel Clay
7d2a5cd206 Adding proration messaging to upgrades. I believe payments are finally done. 2022-04-08 16:08:06 -04:00
Samuel Clay
ae6bbc0aec Showing refunds and finding both paypal and stripe refunds in premium history. 2022-04-08 15:27:40 -04:00
Samuel Clay
8712e57d6a Refunding premium archive accounts that recently used paypal, as a means of prorating their upgrade. This may accidentally cancel subscriptions it shouldn't, but we'll find out. 2022-04-08 15:07:58 -04:00
Samuel Clay
6a50379239 Upgrade user immediately on upgrading from paypal premium to paypal premium archive. 2022-04-08 07:20:09 -04:00
Samuel Clay
b90501d955 Adding a paypal archive return page. Also redrawing when premium expire/renewal status changes on payment fetch in account dialog. 2022-04-06 15:56:13 -04:00
Samuel Clay
38d2341a6c Updating premium archive email. 2022-03-17 16:54:40 -04:00
Samuel Clay
ab1481333c Randomizing reasons to upgrade. 2022-03-16 15:28:52 -04:00
Samuel Clay
778d913463 Merge branch 'master' into pro
* master: (196 commits)
  Adding count to activity for exported OPML, for #1646.
  Submitting iOS v11.1 to the App Store.
  Showing OPML backup exports and imports in activity popover. Closes #1646.
  Don't accept anything under /api/* unless explicit. This would've prevented the #1575 url miscommunication by returning a 404.
  /api/add_url for #1575.
  #1607 (widget is slow to reload)
  #1575 (include a subscribe to site page on the share sheet)
  Accepted GET or POST for /api/add_site. For #1575.
  #1575 (include a subscribe to site page on the share sheet)
  #1575 (include a subscribe to site page on the share sheet)
  Build 135
  Found another strict variable reference.
  #1515 (add private save to sharing extensions)
  #1597 (account deletion)
  #1607 (widget is slow to reload)
  #1607 (widget is slow to reload)
  Ignoring spurious server error when logging in as another user
  #1607 (widget is slow to reload)
  #1637 (moving Delete this site in story detail menu)
  #1641 (folder highlight does not deactivate upon return)
  ...
2022-03-14 16:01:47 -04:00
Samuel Clay
3a260fb2f7 Adding count to activity for exported OPML, for #1646. 2022-03-14 15:52:22 -04:00
Samuel Clay
9912f3ad8e Showing OPML backup exports and imports in activity popover. Closes #1646. 2022-03-14 11:06:01 -04:00
Samuel Clay
7657f8ecf7 Renaming story can be marked as unread 2022-03-10 15:41:51 -05:00
Samuel Clay
f69a5b16ba Simplifying activation of premium tiers. 2022-02-17 12:27:49 -05:00
Samuel Clay
50d107d897 Adding credit cards to premium upgrade, handling paypal first before stripe payments, and posibly cleaning up how many premium histories we scrub. 2022-02-16 17:11:08 -05:00
Samuel Clay
203a882333 days_of_unread should be default null, so double check at run-time. 2022-02-16 15:46:44 -05:00
Samuel Clay
feff99c504 Merge branch 'master' into pro
* master:
  Showing db error on Profile table
  Adding paypal dependencies for new premium archive and premium pro.
2022-02-16 15:40:59 -05:00
Samuel Clay
0074cf2b53 Showing db error on Profile table 2022-02-16 15:40:51 -05:00
Samuel Clay
17809c4420 Don't cancel paypal subscription on stripe cancelation, only on new active stripe sub. 2022-02-16 13:43:53 -05:00
Samuel Clay
67fd848c5f Bouncing between subscriptions now works in all cases. No proration when switching payment providers though. 2022-02-16 13:27:56 -05:00
Samuel Clay
8dc3573b7d Adding active_provider field to profile to capture most recent payment provider in order to show correction options on feedchooser/premium dialog. Paypal now upgrades, just need to write messaging stating switches should happen at rewewal. 2022-02-16 09:20:43 -05:00
Samuel Clay
01ad0e8656 Paypal refunds are now working. Need to add partial balances when upgrading tiers on paypal. Eventually need to think about refunds for switching providers. 2022-02-10 13:40:07 -05:00
Samuel Clay
0a2a9607f0 Canceling paypal subscriptions correctly. Now need to test switching between the two flawlessly and ensure messaging is always consistent. Also needs refunds. 2022-02-09 12:26:35 -05:00
Samuel Clay
403af0a486 Payments are now reliably going through. Now to handle cancelations adn refunds with the new paypal api. 2022-02-08 21:16:12 -05:00
Samuel Clay
aab86a60d9 Store all seen paypal subscriber ids so we can cancel the second newest one when turning on a new subscription. 2022-02-08 20:56:23 -05:00
Samuel Clay
0dc315b568 Adding paypal ids. Still needs to save old paypal ids when new ones come in. 2022-02-08 18:40:07 -05:00
Samuel Clay
a1517b6266 Adding paypal sub id and paypalrestsdk library. Paypal has what it needs, now to hook up the API which is still unauthorized. 2022-02-08 12:49:40 -05:00
Samuel Clay
c18c16a0c3 Turning off shipping, adding user_id to subscription, and upgrading user. Now need renewals and cancellations. 2022-02-04 17:10:23 -05:00
Samuel Clay
6615745aac Showing next invoice. 2022-01-26 15:51:26 -05:00
Samuel Clay
cebce60096 Cleaning up premium renewal. Needs workflow between upgrading/downgrading plans. 2022-01-26 10:53:56 -05:00