Purchase of single item
The SDK includes methods that allow you to implement a simplified purchase logic.
These methods automatically determine how the item is purchased (with real currency, virtual currency, or for free), implement the necessary logic, and track the order status.
- Only one item per purchase.
- No shopping cart.
- If a product has a price in real and virtual currency, the purchase logic for virtual currency is automatically implemented.
To implement the logic of purchasing a single item, use the SDK methods:
PurchaseCurrencyPackagefor a virtual currency package
PurchaseStoreItemfor a virtual item or bundle
To track the transition of an order to the
done status, subscribe to the
Was this article helpful?
Rate this page
Don’t want to answer
Thank you for your feedback!
Found a typo or other text error? Select the text and press Ctrl+Enter.