InApp Purchase - iOS/Android

Hi guys, i need help with the inApp Purchase on my game.
Regarding the InApps, all post are really old.
My problem is the method to do that. In first place i have trying implement Xsolla and later PlayFab but have problem with both systems, need help to do that.
My items are packs of Coins and Gems… This Currencys are setting and configured over PlayFab…
The packs for gems is only can buy using real money and the coins can use gems. But i dont know the way to make that.
Do you know another way to do that?

Resolved using Playfab…