Joined May 2014
·

Juan Siesquen

Lima
·
·

To SAVON 2.51. I need this:

<Language xmlns="urn:safetypay:schema:mws:api">ES</Language>

In Ruby:

:Language => {
:@xmlns => "urn:safetypay:schema:mws:api",
:content! => language
},

Some suggestion?

How can apply this to Savon 2.5.1... this this mi code...

request = { :ApiKey=> safetypayapikey,
:RequestDateTime=> requestdate,
:Language => language,
}
response = client.call( :create
service,
:message => request).body[:customtransactionresponse]

I need add to "Language" node the namespace: xmlns="urn:safetypay:messages:mws:api"

Regards,

Achievements
1 Karma
0 Total ProTip Views