Porting trivial web application for WePay