Hi all!
I'm trying to use a web service of my payment provider by making SOAP
calls to their server. I'm using the WSDL that is attached to this post
(couldn't add urls though ruby-forum.com)
For some reason I can't seem to call the provided services. I always get
the error "nil not allowed: currency" when trying to call a method that
doesn't even has currency (or Amount) as a parameter. Maybe I'm doing
something very wrong here, but I can't seem to figure out how to get
this thing working.
The latest thing I came up with was:
wsdl = SOAP::WSDLDriverFactory.new(WSDL)
soap = @wsdl.create_rpc_driver
soap.options["protocol.http.basic_auth"] << [WSDL, USER_ID,
PASSWORD]
result = soap.cancel(:cancel => {
:modificationRequest => {
:merchantAccount => 'myAccount',
:originalReference =>
'8343424242056'
}
})
Anyone got an idea?
Thanks!
Wouter
Attachments:
http://www.ruby-forum.com/attachment/3686/Payment.wsdl
···
--
Posted via http://www.ruby-forum.com/.