In my android application I want to let users to authenticate with google or facebook account.

I've implemented sign-in with google already.
I'll try to implement sign-in with facebook soon.

I've read about IAP in android:

<https://developer.android.com/google/play/billing/billing_overview>

<https://droidmentor.com/inapppurchase-subscription/>

at least what I understand it is about google account authentication.

So I wonder is it possible to make IAP in android application if the user is authenticated with facebook account ?

I cant find examples or explanations by now.
Any good examples/explanations about IAP with google is also very appreciated because I still don't have a clear vision on IAP.

fyi: In my app user will be able to buy "virtual tickets pack" (e.g.: 10, 15, 20 tickets) and to add them to their profile. and later they will "consume" tickets one by one.

Best Regards