You can use urllib, urllib2 and httplib to make HTTP requests from python. This recipe from ASPN seems to do what you are asking: http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/117004 This was on the first page of a google search for "python http ssl certificate" other solutions may also exist there. You'll need to create an external method or python product to make this call and expose it into Zope. hth, -Casey On Fri, 1 Nov 2002 09:22:04 -0500 "Schmidt, Allen J." <aschmidt@nvcc.edu> wrote:
I hope you get some response from this request. I tried about a year ago and no one responded. I am not sure how to handle the IPN so we just sent a hidden variable to PayPal and it was carried through the whole process until payment was verified. A link back to our site connected that transaction to the user that started it and marked their database entry as PAID. Worked well when the user followed it all the way through. We had some who did pay through PP but for some reason did not click on that last final link that went back to our site to mark them as PAID. We would check daily and if their info was in our database and on PP and they were marked at PAID on PP, we just updated the database manually. It as an event registration system and so was only highly trafficked for a short period. Was not intended to be a long term solution but it worked for what we needed.
-Allen
-----Original Message----- From: zope-admin@zope.org [mailto:zope-admin@zope.org]On Behalf Of Kevin Gill Sent: Friday, November 01, 2002 8:25 AM To: zope@zope.org Subject: [Zope] Outbound HTTPS Request
Hi,
I am trying to implement a subscription process using PayPals (http://www.paypal.com) IPN (Immediate Payment Notification) service.
This service sends me a notification of a payment (via http), directly from the paypal server. This is easy to process using Zope.
However, I am required to validate the payment, using a secure link. My Zope Server needs to send a secure HTTP request to the remote Paypal server.
My question involves two parts:
What is the best way (or even a way) of sending an outbound server to server http request from my Zope server to another server?
How can I send a https request (using a verisign certificate) from Zope / Python?
Thanks
Kevin
_______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
_______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )