Good progression
This commit is contained in:
@@ -617,16 +617,18 @@ def create_a_delivery(user_id):
|
||||
|
||||
|
||||
# 0 = cash only
|
||||
# 1 = credit only
|
||||
# 1 = CC - Tiger (Physical)
|
||||
# 11 = CC - Authorize (API)
|
||||
# 2 = credit /cash
|
||||
# 3 = check
|
||||
# 4 = other
|
||||
# 5 = unknown
|
||||
|
||||
if cash_payment is True:
|
||||
delivery_payment_method = 0
|
||||
if card_payment is True:
|
||||
delivery_payment_method = 1
|
||||
# Check if Authorize.net API should be used (type 11) vs physical (type 1)
|
||||
# This logic can be enhanced to check user preferences or other criteria
|
||||
delivery_payment_method = 1 # Default to Tiger physical machine
|
||||
if check_payment is True:
|
||||
delivery_payment_method = 3
|
||||
if other_payment is True:
|
||||
|
||||
Reference in New Issue
Block a user