mirror of
https://github.com/defold/extension-iap
synced 2025-09-27 00:52:19 +02:00
Update index.md
This commit is contained in:
@@ -186,7 +186,11 @@ IAP supports auto-completion, where fulfilment is automatically signalled to the
|
||||
|
||||
### Consumable vs non-consumable products
|
||||
|
||||
The Google Play store does only support consumable products. If you need non-consumable products it is recommended to use manual fulfilment of purchases and never finish purchases for products that should be non-consumable. As long as a purchase isn't finished it will be returned as an active purchase when `iap.set_listener()` is called. If you do not call `iap.finish()` on a purchase you still need to indicate to Google Play that the purchase has been handled. You can do this by calling `iap.acknowledge()`. If you do not call `iap.acknowledge()` the purchase will be automatically refunded by Google after a few days.
|
||||
#### Google Play
|
||||
|
||||
It is recommended to use manual fulfilment of purchases and never finish purchases for products that should be non-consumable. As long as a purchase isn't finished it will be returned as an active purchase when `iap.set_listener()` is called. If you do not call `iap.finish()` on a purchase you still need to indicate to Google Play that the purchase has been handled. You can do this by calling `iap.acknowledge()`. If you do not call `iap.acknowledge()` the purchase will be automatically refunded by Google after a few days.
|
||||
|
||||
#### App Store
|
||||
|
||||
The Apple App Store supports non-consumable products which means that you need to finish all purchases when you provide products to your users. You can do it automatically by keeping the default behavior in the game project settings or manually (if you want to do that after server validation, for example) using `iap.finish()`.
|
||||
|
||||
|
Reference in New Issue
Block a user