Example #1
0
def thankYou_URL(request):
    """URL: thankyou
  """
    answer = addHeader()
    answer += "after payment.</p>"

    # TODO: Do some fancy reaction 'Hooray you have paid'.
    answer += "<h1>Thank you for your purchase:</h1>"
    answer += printDictAsHtmlPRE(request.GET.dict())
    return HttpResponse(htmlBodyTags(answer))
Example #2
0
def thankYou_URL(request):
    """URL: thankyou
  """
    answer = addHeader()
    answer += "after payment.</p>"

    # TODO: Do some fancy reaction 'Hooray you have paid'.
    answer += "<h1>Thank you for your purchase:</h1>"
    answer += printDictAsHtmlPRE(request.GET.dict())
    return HttpResponse(htmlBodyTags(answer))
Example #3
0
def cancel_URL(request):
    """URL: cancel
  """

    answer = addHeader()
    answer += "after there was no payment for 15 minutes.</p>"

    # TODO: Do some fancy reaction 'You waited too long'.
    answer += "<h1>Checkout was cancelled:</h1>"
    answer += printDictAsHtmlPRE(request.GET.dict())
    return HttpResponse(htmlBodyTags(answer))
Example #4
0
def cancel_URL(request):
    """URL: cancel
  """

    answer = addHeader()
    answer += "after there was no payment for 15 minutes.</p>"

    # TODO: Do some fancy reaction 'You waited too long'.
    answer += "<h1>Checkout was cancelled:</h1>"
    answer += printDictAsHtmlPRE(request.GET.dict())
    return HttpResponse(htmlBodyTags(answer))