Пример #1
0
def thank_you(request, template_name='payments/receipt.html'):
    payment, processed = payflowlink_thankyou_processing(
        request, request.POST.copy())

    return render_to_resp(request=request,
                          template_name=template_name,
                          context={'payment': payment})
Пример #2
0
def silent_post(request):
    payment, processed = payflowlink_thankyou_processing(request, dict(request.POST.items()))

    if processed:
        log_silent_post(request, payment)

    return HttpResponse('ok')
Пример #3
0
def silent_post(request):
    payment, processed = payflowlink_thankyou_processing(
        request, request.POST.copy())

    if processed:
        log_silent_post(request, payment)

    return HttpResponse('ok')
Пример #4
0
def thank_you(request, template_name='payments/receipt.html'):
    payment, processed = payflowlink_thankyou_processing(request, dict(request.POST.items()))

    return render_to_response(template_name,{'payment':payment},
                              context_instance=RequestContext(request))
Пример #5
0
def thank_you(request, template_name='payments/receipt.html'):
    payment, processed = payflowlink_thankyou_processing(
        request, dict(request.POST.items()))

    return render_to_response(template_name, {'payment': payment},
                              context_instance=RequestContext(request))