If you click any link from anywhere about Corona inside Fortumo website, it just doesn’t work
even if the links are provided by Forumo’s search engine on their portal
so i’m unable to get sample code… because what i have now does not work
as soon as i select to initiate a payment i get a native alert saying that Payment Details could not be loaded…
so i’m not really sure what did i do wrong
i already created an account with fortumo, configured a service, and used provided data in my app but nothing is happening
any help please
local fortumo = require("plugin.fortumo")
local function sayHi() --do something here end function onPaymentComplete( response ) local productName = response.productName local serviceId = response.serviceId if ( response.billingStatus == fortumo.BILLING\_STATUS\_BILLED ) then --the payment was successful sayHi() elseif ( response.billingStatus == fortumo.BILLING\_STATUS\_PENDING ) then --the payment was probably successful (must wait to be sure) else --cancelled or failed end end local function buyCredit() local request = fortumo.newPaymentRequest() request:setService( "db5bede2ec590f6743c41d99aae64a54", "01fbf40059f77070fbf70180c3884036" ) request:setProductName( "QismahNaseeb" ) request:setType( fortumo.PRODUCT\_TYPE\_NON\_CONSUMABLE ) fortumo.makePayment( request, onPaymentComplete ) end buyCredit()