Commits

Peter Sanchez committed 18aa39f

Removed old code from djtools/paypalipn.py

Comments (0)

Files changed (1)

webutils/djtools/paypalipn.py

     default_response_text = 'Nothing to see here'
     verify_url = "https://www.paypal.com/cgi-bin/webscr"
     
-    #def do_post(self, url, args):
-    #    return urllib.urlopen(url, urllib.urlencode(args)).read()
-    
-    #def verify(self, data):
-    #    args = {
-    #        'cmd': '_notify-validate',
-    #    }
-    #    for k, v in data.items():
-    #        args[k] = smart_str(v)
-    #    return self.do_post(self.verify_url, args) == 'VERIFIED'
-    
     def do_post(self, url, data):
         return urllib.urlopen(url, data).read()