SDK for Unreal Engine / Purchase of single item

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.

Restrictions:

  • 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:

  • PurchaseCurrencyPackage for a virtual currency package
  • PurchaseStoreItem for a virtual item or bundle

To track the transition of an order to the done status, subscribe to the success event.

Was this article helpful?
Thank you!
Is there anything we can improve? Message
We’re sorry to hear that
Please explain why this article wasn’t helpful to you. Message
Thank you for your feedback!
We’ll review your message and use it to help us improve your experience.

Useful links

Last updated: January 22, 2024

Found a typo or other text error? Select the text and press Ctrl+Enter.

Report a problem
We always review our content. Your feedback helps us improve it.
Provide an email so we can follow up
Thank you for your feedback!