Create flag to use alternate configuration directive
This commit is contained in:
parent
0c374d9a15
commit
e53721da8c
|
@ -291,10 +291,13 @@ class Markets(util.Base):
|
|||
ad = ad.replace("\\t", "\t")
|
||||
return ad
|
||||
|
||||
def format_payment_details(self, currency, payment_details):
|
||||
def format_payment_details(self, currency, payment_details, real=False):
|
||||
"""
|
||||
Format the payment details.
|
||||
"""
|
||||
if real:
|
||||
payment = settings.Platform.PaymentDetailsReal
|
||||
else:
|
||||
payment = settings.Platform.PaymentDetails
|
||||
|
||||
payment_text = ""
|
||||
|
|
Loading…
Reference in New Issue