I'm trying to implement a monthly subscription to my flutter app using in app purchase package.
After hours of searching I didn't find a actual example of a code that a user can press a button and pop up the subscription stuff. The ones that I found are outdated.
I read the documentation but I don't understand how to implement a simple way so the user can click a button and the payment subscription interface pops up and the user pays.
I know that I need to register the product in the Google and apple app stores. And more other things beside the code. I'm using the in_app_purchase: ^1.0.0
Thank you