
from django.conf import settings


PAYZEN_REQUEST_URL = 'https://secure.payzen.eu/vads-payment/'
VADS_CONTRIB = 'django-payzen v0.9'
VADS_SITE_ID = getattr(settings, 'VADS_SITE_ID', None)
CLIENT_CERTIFICATE = getattr(settings, 'VADS_CERTIFICATE', None)
VADS_CURRENCY = getattr(settings, 'VADS_CURRENCY', None)
VADS_ACTION_MODE = getattr(settings, 'VADS_ACTION_MODE', None)
VADS_CTX_MODE = getattr(settings, 'VADS_CTX_MODE', None)


from django.conf import settings


PAYZEN_REQUEST_URL = 'https://secure.payzen.eu/vads-payment/'
VADS_CONTRIB = 'django-payzen v0.9'
VADS_SITE_ID = getattr(settings, 'VADS_SITE_ID')
VADS_CERTIFICATE = getattr(settings, 'VADS_CERTIFICATE')
VADS_CURRENCY = getattr(settings, 'VADS_CURRENCY', None)
VADS_ACTION_MODE = getattr(settings, 'VADS_ACTION_MODE', None)
VADS_CTX_MODE = getattr(settings, 'VADS_CTX_MODE', None)

Set essential payzen settings as mandatory for django_payzen.
Set essential payzen settings as mandatory for django_payzen.

  
  from django.conf import settings
  
  
  PAYZEN_REQUEST_URL = 'https://secure.payzen.eu/vads-payment/'
  VADS_CONTRIB = 'django-payzen v0.9'
- VADS_SITE_ID = getattr(settings, 'VADS_SITE_ID', None)
+ VADS_SITE_ID = getattr(settings, 'VADS_SITE_ID')
- CLIENT_CERTIFICATE = getattr(settings, 'VADS_CERTIFICATE', None)
+ VADS_CERTIFICATE = getattr(settings, 'VADS_CERTIFICATE')
  VADS_CURRENCY = getattr(settings, 'VADS_CURRENCY', None)
  VADS_ACTION_MODE = getattr(settings, 'VADS_ACTION_MODE', None)
  VADS_CTX_MODE = getattr(settings, 'VADS_CTX_MODE', None)
  
Set essential payzen settings as mandatory for django_payzen.
## Code Before:

from django.conf import settings


PAYZEN_REQUEST_URL = 'https://secure.payzen.eu/vads-payment/'
VADS_CONTRIB = 'django-payzen v0.9'
VADS_SITE_ID = getattr(settings, 'VADS_SITE_ID', None)
CLIENT_CERTIFICATE = getattr(settings, 'VADS_CERTIFICATE', None)
VADS_CURRENCY = getattr(settings, 'VADS_CURRENCY', None)
VADS_ACTION_MODE = getattr(settings, 'VADS_ACTION_MODE', None)
VADS_CTX_MODE = getattr(settings, 'VADS_CTX_MODE', None)

## Instruction:
Set essential payzen settings as mandatory for django_payzen.
## Code After:

from django.conf import settings


PAYZEN_REQUEST_URL = 'https://secure.payzen.eu/vads-payment/'
VADS_CONTRIB = 'django-payzen v0.9'
VADS_SITE_ID = getattr(settings, 'VADS_SITE_ID')
VADS_CERTIFICATE = getattr(settings, 'VADS_CERTIFICATE')
VADS_CURRENCY = getattr(settings, 'VADS_CURRENCY', None)
VADS_ACTION_MODE = getattr(settings, 'VADS_ACTION_MODE', None)
VADS_CTX_MODE = getattr(settings, 'VADS_CTX_MODE', None)
