From 2c3d00f03f946a347fd4e56e63ae31300500c78e Mon Sep 17 00:00:00 2001 From: PCoder Date: Fri, 1 Jan 2021 00:09:20 +0530 Subject: [PATCH] Pass correct stripe_customer_id --- datacenterlight/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/datacenterlight/views.py b/datacenterlight/views.py index 32fe4138..9cce2e97 100644 --- a/datacenterlight/views.py +++ b/datacenterlight/views.py @@ -1552,7 +1552,7 @@ def do_provisioning(request, stripe_api_cus_id, card_details_response, } create_vm( - billing_address_data, stripe_customer_id, specs, + billing_address_data, custom_user.stripecustomer.id, specs, stripe_subscription_obj, card_details_dict, request, vm_template_id, template, user )