update price formats

This commit is contained in:
Parsa Nazer
2025-03-12 23:03:57 +03:30
parent 95020a5dbf
commit 4ae6b7c9b6
3 changed files with 95 additions and 8 deletions
+18
View File
@@ -66,6 +66,7 @@ INSTALLED_APPS = [
"import_export",
"django_jalali",
'django_celery_beat',
'azbankgateways',
# Custom Apps
"product",
"account",
@@ -234,3 +235,20 @@ AWS_S3_OBJECT_PARAMETERS = {
'ACL': 'public-read',
}
# ==============================================================================
# bank gateway configs
# ==============================================================================
AZ_IRANIAN_BANK_GATEWAYS = {
'GATEWAYS': {
'ZARINPAL': {
'MERCHANT_CODE': 'Merchant-Code',
'SANDBOX': True,
}
},
'IS_SAMPLE_FORM_ENABLE': True,
'DEFAULT_BANK': 'ZARINPAL',
'CURRENCY': 'IRR',
'TRACKING_CODE_QUERY_PARAM': 'tc',
'BANK_PRIORITIES': ['ZARINPAL'],
}