Fortumo Plugin - Params and Listener not working

Hi,

I’ve purchased Fortumo plugin and the listener function does not seem to work.It shows the Fortumo billing options and after a successful test billing, there’s nothing. I sent an email to Scott about this and thru his bug form but no response. That was 2 weeks ago. Here’s my sample code based from his sample project.

fortumo.pay("Gold Coins", "gold coins", "consumable", "xxxx", "xxxx", nil, function (e) json.encode(e) if not e.isError then if e.billingStatus == "billed" then gold= gold + tonumber(e.creditAmount) end end end)

I’ve also tried without json encoding and still not working. Also the ‘params’ seems not to work either so on his sample project, it’s set to nil.

Any thoughts on this?