Example #1
0
def thankyou(request, txid):
    tx = PaypalRequest.get(txid)
    if not tx:
        raise Http404("Transaction not found")    
    return render_to_response('store/thankyou.html', 
                              { 'tx' : tx }, 
                              RequestContext(request))
Example #2
0
 def tran():
     #tx = PaypalRequest.get_by_id(request.POST["item_number"])
     tx = PaypalRequest.get(request.POST["custom"])
     if not tx:
         raise Http404("Transaction not found")
     return tx.process_ipn(request)