Compare commits
2 Commits
c660831146
...
d64d858f15
| Author | SHA1 | Date | |
|---|---|---|---|
| d64d858f15 | |||
| f9906ea8fc |
@@ -1,4 +1,5 @@
|
|||||||
import json
|
import json
|
||||||
|
from django.conf import settings
|
||||||
|
|
||||||
import requests
|
import requests
|
||||||
from requests_pkcs12 import get,post
|
from requests_pkcs12 import get,post
|
||||||
@@ -7,7 +8,7 @@ pkcs12_password = 'QNlhRStcY7mB'
|
|||||||
|
|
||||||
|
|
||||||
def get_domain_url():
|
def get_domain_url():
|
||||||
return 'https://sandboxapi.paymtech.kz/'
|
return settings.PAY_SYSTEM_URL #'https://sandboxapi.paymtech.kz/'
|
||||||
|
|
||||||
def get_kwargs_for_request():
|
def get_kwargs_for_request():
|
||||||
return {
|
return {
|
||||||
|
|||||||
@@ -37,6 +37,9 @@ WEBPUSH_SETTINGS = {
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
PAY_SYSTEM_URL = 'https://sandboxapi.paymtech.kz/'
|
||||||
|
|
||||||
|
|
||||||
SOCIALACCOUNT_LOGIN_ON_GET=True
|
SOCIALACCOUNT_LOGIN_ON_GET=True
|
||||||
ACCOUNT_DEFAULT_HTTP_PROTOCOL='https'
|
ACCOUNT_DEFAULT_HTTP_PROTOCOL='https'
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user