<script src="http://code.jquery.com/jquery-latest.min.js" type="text/javascript"></script> <script type="text/javascript"> debugger; var prodID = "4220"; var txRef = "d38e92010"; var amt = "10000"; var hasKey = "60e0fac58c36accabc393172d6546320ecf00628fbba3a4bb4f9ef72c51f1c11e0c677fd9de5f7b9e45e2336871617fa845b24a6c85d541fc5a59726537d0abf"; var mackey = "199F6031F20C63C18E2DC6F9CBA7689137661A05ADD4114ED10F5AFB64BE625B6A9993A634F590B64887EEB93FCFECB513EF9DE1C0B53FA33D287221D75643AB"; var trgurl = "https://stageserv.interswitchng.com/test_paydirect/api/v1/gettransaction.json?productid=" + prodID + "&transactionreference=" + txRef + "&amount=" + amt + "&hash=" + hasKey + "&mackey=" + mackey + ""; $.ajax({ url: trgurl, dataType: 'JSONP', type: 'GET', contentType: 'application/json', crossDomain: true, success: function (data) { debugger; alert('success!' + data); }, error: function (data) { debugger; alert('success!' + data); }, complete: function (xhr, status) { debugger; } }); </script>
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)