rock on!! I'd have never figured that out on my own man, thanks.
On Fri, Sep 18, 2009 at 4:17 PM, Bruce Kroeze <[email protected]> wrote: > > On Fri, Sep 18, 2009 at 11:31 AM, lifewithryan <[email protected]> > wrote: > > > > I'm sure this is easy -- we're writing a Website Payments Pro library > > to talk to Paypals Webiste Payments Pro NVP API. (not to be confused > > with Payflow Pro). > > > > Anyway, this API requires us to send an IP address. How can I get the > > IP Address to be sent to our custom processor.py so that we can > > assemble the appropriate request?? > > from threaded_multihost import threadlocals > > request = threadlocals.get_current_request() > ip = request.META.get['REMOTE_ADDR' > > -- > Bruce Kroeze > http://www.ecomsmith.com > It's time to hammer your site into shape. > > > > -- http://www.sudovi.com/ http://www.twitter.com/lifewithryan http://www.thecommontongue.com http://www.lifewithryan.com/ --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Satchmo users" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/satchmo-users?hl=en -~----------~----~----~----~------~----~------~--~---
