Forum OpenACS Q&A: Re: Paypal IPN handling in TCl with OACS3.25

Collapse
Posted by Jonathan Ellis on
I use util_httppost:

set vars [export_ns_set_vars]
append vars "&cmd=_notify-validate"
# https is recommended but http works; I don't think httppost works with https
set confirm [util_httppost http://www.paypal.com/cgi-bin/webscr $vars]
ns_log notice "paypal confirm is $confirm"