

def process_data(self, payment, request):
    form = ProcessPaymentForm(payment=payment, pin=self.pin, data=(request.POST or None))
    if (not form.is_valid()):
        return HttpResponseForbidden('FAILED')
    form.save()
    return HttpResponse('OK')

dataset/ETHPy150Open mirumee/django-payments/payments/dotpay/__init__.py DotpayProvider.process_data/original