Alternative to method for Android and iOS

After adding method in Unity3d using Facebook SDK, I found this debug log, “Pay method only works with Facebook Canvas. Does nothing in the Unity Editor, iOS or Android”.

Is there any way around to make the Facebook payment work on android (and iOS)?

I am assuming there is a way to do that using the Graph Api’s “payment” node. If so, how to do that?

Both Apple and Google’s policy’s will not allow for you to use Facebook Payments on their platforms. Facebook Payments can be used on Facebook Canvas, see:

Apple’s Policy: App Store Review Guidelines - Apple Developer

Google’s Policy: Developer Policy Center