eagleas / webmoney

Interface library for WebMoney Transfer payment system. Gem.
http://www.wmtransfer.com
44 stars 31 forks source link

Couldn't request w3s.wmtransfer.com #21

Closed phuongnd08 closed 9 years ago

phuongnd08 commented 9 years ago

I'm trying to fetch balance

original_wm_client ||= OriginalWMClient.new(
          :wmid => ENV['WM_ID'],
          :password => ENV['WM_PASSWORD'],
          :key => ENV["WM_KEY"]
        )
        original_wm_client.request(:balance)

This is the httplog

D, [2015-03-17T22:57:47.365035 #51027] DEBUG -- : [httplog] Connecting: w3s.wmtransfer.com:443
D, [2015-03-17T22:57:49.049034 #51027] DEBUG -- : [httplog] Sending: POST http://w3s.wmtransfer.com:443/asp/XMLPurses.asp
D, [2015-03-17T22:57:49.049152 #51027] DEBUG -- : [httplog] Data: <?xml version="1.0"?>
<w3s.request>
  <reqn>15031722574736</reqn>
  <wmid>{{MY_WMID}}</wmid>
  <sign>{{MY_SIGN_STR}}</sign>
  <getpurses>
    <wmid>{{MY_WMID}}</wmid>
  </getpurses>
</w3s.request>

D, [2015-03-17T22:57:51.110435 #51027] DEBUG -- : [httplog] Status: 200
D, [2015-03-17T22:57:51.110524 #51027] DEBUG -- : [httplog] Benchmark: 2.061191 seconds
D, [2015-03-17T22:57:51.110612 #51027] DEBUG -- : [httplog] Response:
<?xml version="1.0"?><w3s.response><reqn>15031722574736</reqn>
<retval>110</retval>
<retdesc>Server Error step=13</retdesc>
</w3s.response>

It return with a 110 retval.

phuongnd08 commented 9 years ago

Got it, need to contact technical support.