diff --git a/datacenterlight/views.py b/datacenterlight/views.py index 32650752..f373d9b0 100644 --- a/datacenterlight/views.py +++ b/datacenterlight/views.py @@ -1142,6 +1142,11 @@ def do_create_vm(request, user, stripe_api_cus_id, card_details_response, custom_user.stripecustomer.stripe_id, ucd.card_id ) + card_details_dict = { + 'last4': ucd.last4, + 'brand': ucd.brand, + 'card_id': ucd.card_id + } # Save billing address billing_address_data.update({