Here is some code I found:
<code>var _KabamShop = function()
{
this.makePurchase = function(payoutId, callback, extraParams)
{
extraParams = typeof(extraParams) !== "object" ? extraParams : {};
var params = $.extend(true, extraParams, _options);
params.payoutid = payoutId;
var data = $.param(params);
var url = _options.paymentServer + "/api/buy?" + data;
var popup = window.open(url, "KabamPayment", "scrollbars=1,width=960,height=800");
popup.focus();
var interval = setInterval(
function()
{
if(popup.closed)
{
clearInterval(interval);
if(typeof(callback) === "function")
{
callback({});
}
}
}, 500
);
}; </code>
Not sure if it is useful, but the payment server seems odd.
*The format is messed up because of MPGH.