Skip to content

Commit

Permalink
Fix #1374 clear session chosen_question_ids_answers betweeen plan sig…
Browse files Browse the repository at this point in the history
…n ups
  • Loading branch information
chrisjsimpson committed Jul 11, 2024
1 parent d0d7401 commit c48fba9
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions subscribie/blueprints/checkout/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -762,6 +762,9 @@ def create_subscription(
log.error("Could not set cancel_at: {e}")

newSubscriberEmailNotification()
# Clear chosen_question_ids_answers from session since we've now stored them
# Ref https://github.com/Subscribie/subscribie/issues/1374
session.pop("chosen_question_ids_answers", None)
return subscription


Expand Down

0 comments on commit c48fba9

Please sign in to comment.