I know this app was designed some time ago, I have two issues I need help on. 1. I tried it out this app <https://github.com/mdipierro/web2py-appliances/tree/master/PosOnlineStore> using python3.6 but got this error when using the 'buy' function:
File "/home/maurice/web2py/applications/PosOnlineStore/controllers/default.py" <http://127.0.0.1:8000/admin/default/edit/PosOnlineStore/controllers/default.py>, line 49, in buy total,form.vars.cvv,0.0,invoice,testmode=True): File "/home/maurice/web2py/gluon/contrib/AuthorizeNet.py", line 211, in process payment.process() File "/home/maurice/web2py/gluon/contrib/AuthorizeNet.py", line 127, in process url, encoded_args).read()).split(self.delimiter) File "/usr/lib/python3.6/urllib/request.py", line 223, in urlopen return opener.open(url, data, timeout) File "/usr/lib/python3.6/urllib/request.py", line 524, in open req = meth(req) File "/usr/lib/python3.6/urllib/request.py", line 1255, in do_request_ raise TypeError(msg) TypeError: POST data should be bytes, an iterable of bytes, or a file object. It cannot be of type str. 2. Though I do not have the best way to code it, I was hoping to add some options where once a user does some purchases, the amounts used to purchase are updated to another table on an accrual manner. After which I wanted to do some taxation issues e.g. tax discounts after period of time on the accrued amounts, how can this be possible? -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) --- You received this message because you are subscribed to the Google Groups "web2py-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/web2py/62d4fd07-9fb9-4bbb-a88e-be937e2751ccn%40googlegroups.com.

