by Hariyanto
http://173.45.119.34/ServiceClient/RechargeRequestNewxml.aspx?
userid=22770478&pass=141211&type=rec&mno=[tujuan]&op=5&amt=[qty]
09/03/2014 11:44:03.922 297776 Response -> <NODES><STATUS>SUCCESS</STATUS><TID>1532459</TID><REFID>24309387</REFID><MOBILENO>9404166539</MOBILENO></NODES>
09/03/2014 11:44:03.936 297776 Trx Status -> TB.9404166539 Succesful; tujuan: 9404166539 sn: 1532459 trxid: 297776 hargabeli: 0 nominal: 0
The configuration of ip module :
let's take and example your web api provider transaction is like this :
http://123.456.789.012/ServiceClient/RechargeRequestNewxml.aspx?userid=654321&pass=111111&type=rec&mno=mobileno&op=5&amt=amountin this we need to separate into 2 part. first part is for address "send to" in the ip module, second part is for parsing to provider
first part the "address send to"
so in this api method we will separate it. most ip address we will need separate on extension part eg : ".php", ".aspx" or some after the "/"
but also include command character after the extension. in this example is the "?"
see below
"RechargeRequestNewxml.aspx?" the "?" we will be the separate point. so as we described above. the send to will be like this
http://123.456.789.012/ServiceClient/RechargeRequestNewxml.aspx?
the second part
is the parsing we will make in otomax for automatic input phone number and amount to be recharge. the left over on the whole messeege wewill use it as
the parsing to provider.
userid=22770478&pass=141211&type=rec&mno=mobileno&op=5&amt=amount
change the mobileno = [tujuan]
amount to = [qty]
then will become like below
userid=654321&pass=111111&type=rec&mno=[tujuan]&op=5&amt=[qty]
after this done you will also need to make response from provider in order to make it automatic success response
for this is easy, you can test the reply messege with response tester. picture also attached.
[attachment deleted by admin]