Add missing subscription_id param

This commit is contained in:
PCoder 2020-12-23 12:03:17 +05:30
parent 95a1b8fa20
commit b1dd9988ce

View file

@ -930,6 +930,7 @@ class OrderConfirmationView(DetailView, FormView):
# Store params so that they can be retrieved later # Store params so that they can be retrieved later
IncompleteSubscriptions.objects.create( IncompleteSubscriptions.objects.create(
subscription_id=stripe_subscription_obj.id,
subscription_status=subscription_status, subscription_status=subscription_status,
name=user.get('name'), name=user.get('name'),
email=user.get('email'), email=user.get('email'),