Jump to content

[TOPIC: topicViewTemplate]
[GLOBAL: userSmallPhoto]
Photo

Fortumo Plugin - Params and Listener not working
Started by PLAYCUBE Jul 20 2018 11:44 PM

No replies to this topic
fortumo scott tech not working plugin no reply no message no clue no answer no solution
[TOPIC CONTROLS]
[/TOPIC CONTROLS]
[modOptionsDropdown]
[/modOptionsDropdown]
[reputationFilter]
[TOPIC: post.html]
#1

PLAYCUBE

[GLOBAL: userInfoPane.html]
PLAYCUBE
  • Enthusiast

  • 43 posts
  • Corona SDK

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?




[topic_controls]
[/topic_controls]

Also tagged with one or more of these keywords: fortumo, scott, tech, not working, plugin, no reply, no message, no clue, no answer, no solution