Configuring Billing Services Feature
Before using any of the billing products, we need to configure them in the Essential Kit Settings under billing services.
Enable Billing Services feature from Essential Kit Settings
Collection of In-App purchase Billing products (Billing Products - See below)
Maintain Purchase History
Enabling this stores the non-consumable purchases on device locally
Auto Finish Transactions
Automatically close the transaction once the purchase is done. Disabling this requires you to manually call FinishTransactions
Verify Transaction Receipts
Enabling this allows the plugin to do an internal verification once after the purchase for additional security. Recommended to set it to true.
iOS Properties (Custom verification server url)
You can set a custom verification server url if you have your own server which validates the receipt (TODO : Get the url format)
Android Properties (Public Key)
Billing product is a container to hold your in-app purchase identifiers for different platforms. Each billing product has a unique Id to identify them. Id helps in referring an in-app purchase from your code irrespective of the platform you are on and this can be any string of your choice.
Platform Id on the other hand, is the actual platform specific identifier and usually varies per platform. Specify the value in platform overrides, if you don't have a common identifier among platforms.
You can get platform id value from iTunes Connect and Google Play console on iOS and Android respectively.
You can have your purchasable items both Consumable and Non-Consumable.
In-App products which can be purchased multiple times
ex: Virtual coins pack, Bullets pack etc...
In-App products which can be purchased only once
ex: Ad-Free offering, Level packs etc...
Billing Product Property Name
Identifier given to refer the billing product from code
Common native platform id, if any
Platform Id Overrides
If you have specific billing product id's on each platform, set them here.
Consumable : In-App products which can be purchased multiple times
Non-Consumable : In-App products which can be purchased only one time
Title for this In-App billing product (will be useful for displaying available billing products)
Description for this In-App billing product (will be useful for displaying available billing products)