old_contents: from django.conf import settings
  from django.http import HttpResponse
  from django.http.response import HttpResponseForbidden
  
  
  def payment_processor(request):
      if (
              settings.FORTUMO_ENABLE_IP_VALIDATION and
              not request.META['REMOTE_ADDR'] in settings.FORTUMO_IPS
      ):
          return HttpResponseForbidden('403')
  
      return HttpResponse('dummy')
  
new_contents: from django.conf import settings
  from django.http import HttpResponse
  from django.http.response import HttpResponseForbidden
  from fortumo.models import Message
  
  
  def payment_processor(request):
      if (
              settings.FORTUMO_ENABLE_IP_VALIDATION and
              not request.META['REMOTE_ADDR'] in settings.FORTUMO_IPS
      ):
          return HttpResponseForbidden('403')
  
      # TODO: check signature
  
      Message.objects.create(
          message=request.GET['message'],
          sender=request.GET['sender'],
          country=request.GET['country'],
          price=request.GET['price'],
          price_wo_vat=request.GET['price_wo_vat'],
          currency=request.GET['currency'],
          service_id=request.GET['service_id'],
          message_id=request.GET['message_id'],
          keyword=request.GET['keyword'],
          shortcode=request.GET['shortcode'],
          operator=request.GET['operator'],
          billing_type=request.GET['billing_type'],
          status=request.GET['status'],
          test=request.GET['test'],
          sig=request.GET['sig'],
      )
  
      return HttpResponse('dummy')
  
subject: add creating message objects on process payment