Turning on "Enable payments on the mobile web" in the application settings prevents our application from showing up in the native Facebook app! Is this supposed to be happening?
We built the app in sandbox mode, and used FB.UA.nativeApp()
to determine if we were in native. In the case that we are in native, we disable all of our Facebook credits buttons.
However, now our app is live and when we check the "Enable payments on the mobile web" box in the developer settings, the app disappears from native iOS and/or offers up an access error (everything fine in Android). As soon as we un-check the box, the app is back in action, but of course all of the credits buttons don't work in Android.
It seems strange that Facebook would keep us from using credits across all platforms with a single checkbox. Are we doing something wrong, or is this just what we have to deal with?
Looks like it's either/or.
"Accepting payments are different on iOS since Facebook Credits are not supported within iOS native apps.
You can't have an app that is native iOS and Android. (well you can, but as you saw, it's not going to work). You can have mobile Web that serves iPhone and Android, but the iPhone won't be native.
Thanks for the question, I was curious to implement, and wonder if this is a deal-killer for us, too.