Working on order, carts, and Stripe
This commit is contained in:
@@ -170,11 +170,14 @@ def update_person_kiss(
|
||||
|
||||
# Look for a contact_id in the contact_obj
|
||||
if contact_id: pass
|
||||
elif contact_id := person_obj.contact.id: pass
|
||||
elif person_obj.contact:
|
||||
contact_id = person_obj.contact.id
|
||||
|
||||
# Look for a user_id in the person_obj
|
||||
if user_id: pass
|
||||
elif user_id := person_obj.user.id: pass
|
||||
elif person_obj.user:
|
||||
user_id = person_obj.user.id
|
||||
|
||||
# if user_id:
|
||||
# # Link to an existing user
|
||||
# log.info(f'Adding user_id to person_dict. User ID: {user_id}')
|
||||
|
||||
Reference in New Issue
Block a user