David Teare
6/27/2005 6:13:00 PM
Hi all,
I want to use ruby to integrate my site with PayPal's new Website
Direct Pro API. I tried the code below, and it seems to work once I
upgraded to soap4r-1_5_4:
require 'soap/wsdlDriver'
server = SOAP::WSDLDriverFactory.new("http://
www.sandbox.paypal.com/wsdl/PayPalSvc.wsdl")
@driver = server.createDriver
One problem I'm having is Paypal requires that I set a header in the
request (user id & password). How do I add this before performing a
request?
Any help or pointers to some SOAP/WSDL ruby documentation would be
greatly appreciated.
Thanks!
--Dave.