Using iap badger... money is deducted but items dont get transferred to inventory

Hi,

I’m testing my in app purchases. The code that is managing purchases is working fine in a different app. But when I add it to my current game (where I have many other plugins too) the purchase isnt working. Payment is deducted but items are not added to inventory. Moreover, the buy button is unresponsive after after the first purchase.

What could be the problem?

Here are the plugins i’ve used. Compatibility issues?

          [“plugin.flurry.analytics”] =

                {

                    publisherId = “com.coronalabs”,

                    supportedPlatforms = { iphone=true, android=true }

                },

        [“plugin.google.play.services”] =

                {

                  publisherId = “com.coronalabs”,

                  supportedPlatforms = { android=true }

                },

                [“shared.android.support.v4”] =

                {

                  publisherId = “com.coronalabs”,

                  supportedPlatforms = { android=true }

                },

                [“plugin.coronaAds”] =

                {

                  publisherId = “com.coronalabs”,

                  supportedPlatforms = { android=true }

                },

                [“plugin.chartboost”] =

                {

                  publisherId = “com.coronalabs”,

                  supportedPlatforms = { android=true }

                },

                [“plugin.adcolony”] =

                {

                  publisherId = “com.coronalabs”,

                  supportedPlatforms = { android=true }

                },

                – includes IAP Badger as a plug in

                [“plugin.iap_badger”] =

                {

                    – required

                    publisherId = “uk.co.happymongoose”,

                },

                --Google in app billing v3

                [“plugin.google.iap.v3”] =

                {

                    – required

                    publisherId = “com.coronalabs”,

                    supportedPlatforms = { android = true },

                },

Somebody please respond

So, without any reason i just decided to change the fps from 60 to 30 in my config.lua file. and the purchases started working fine.

Meaning the 60 fps was too processor-heavy to handle purchases? Is that a known issue?

IAP Badger is a third party product. You will have to ask it’s creator HappyMongoose about it: https://marketplace.coronalabs.com/plugin/iap-badger

However I can’t see any reason why FPS would affect it. What happens if you set it back to 60?

Rob

I’ve never seen the FPS affect IAP - maybe something more subtle is going on.

Try running IAP Badger in Debug Mode.

  • If your app works, that means the issue is related to how your products in the new app are set up in the developer console in Google Play.
  • If it doesn’t work in debug mode, then there’s something going on with how your product catalogue is initialised in your lua code.

Somebody please respond

So, without any reason i just decided to change the fps from 60 to 30 in my config.lua file. and the purchases started working fine.

Meaning the 60 fps was too processor-heavy to handle purchases? Is that a known issue?

IAP Badger is a third party product. You will have to ask it’s creator HappyMongoose about it: https://marketplace.coronalabs.com/plugin/iap-badger

However I can’t see any reason why FPS would affect it. What happens if you set it back to 60?

Rob

I’ve never seen the FPS affect IAP - maybe something more subtle is going on.

Try running IAP Badger in Debug Mode.

  • If your app works, that means the issue is related to how your products in the new app are set up in the developer console in Google Play.
  • If it doesn’t work in debug mode, then there’s something going on with how your product catalogue is initialised in your lua code.