Pass subscription_id instead of subscription object

This commit is contained in:
M.Ravi 2017-09-29 08:40:43 +02:00
parent f29a3ad0e6
commit caad79304b

View file

@ -595,7 +595,7 @@ class OrderConfirmationView(DetailView):
create_vm_task.delay(vm_template_id, user, specs, template,
stripe_customer_id, billing_address_data,
billing_address_id,
stripe_subscription_obj, card_details_dict)
stripe_subscription_obj.id, card_details_dict)
for session_var in ['specs', 'template', 'billing_address',
'billing_address_data',
'token', 'customer']: