[web2py] Re: Have listener return unaltered message?

2016-02-04 Thread Anthony
What is the nature of the message and how has it been altered in request.vars. By what means are you supposed to "send it back"? On Thursday, February 4, 2016 at 12:39:03 PM UTC-5, Martin wrote: > > I'm trying to construct an instant payment notification listener in > web2py. This requires me to

[web2py] Re: Have listener return unaltered message?

2016-02-05 Thread Martin
This is the documentation provided by the payments company: " *The IPN protocol consists of three steps:* 1. Payson sends your IPN listener a message that notifies you of the event. 2. Your listener sends the complete unaltered message back to Payson; the message must contain the

[web2py] Re: Have listener return unaltered message?

2016-02-05 Thread Anthony
I don't know if the request body they send requires any further processing, but you could try: message = request.body.read() Anthony On Friday, February 5, 2016 at 3:52:47 AM UTC-5, Martin wrote: > > This is the documentation provided by the payments company: > " > > *The IPN protocol consists