knowmetools / km-api

The API behind our Know Me app
Apache License 2.0
4 stars 0 forks source link

Subscriptions are not activated when a receipt is uploaded #475

Closed cdriehuys closed 5 years ago

cdriehuys commented 5 years ago

Environment (production/development) Occurs in: development

Describe the bug Adding an Apple receipt to an account, even if valid, does not set the user's premium subscription to active until the background job runs.

To Reproduce Steps to reproduce the behavior:

  1. Send a valid Apple receipt to /know-me/subscription/apple/
  2. Sending a GET request to /know-me/subscription/ returns a response with is_active set to false.

Expected behavior Uploading a valid Apple receipt should activate the user's premium subscription immediately.