— yes you have to use the C2 Official IAP plugin (unfortunately Cranberrygame doesnt support windows 10 yet)
Just remember C2 IAP plugin doesnt have a "consume" action. So things like coins will remain "purchased" forever. Recently someone said he had modified the C2 IAP plugin to include the consume feature. I will look for him.