Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Join us on March 30, 2023, between 5 am & 1 pm EST, in the Performance Profiling Dev Blitz Day 2023 - Q&A forum and Discord where you can connect with our teams behind the Memory and CPU Profilers.
    Dismiss Notice

Question Workflow for Economy Real Money Purchases via IAP

Discussion in 'Economy' started by lambch0p, Nov 26, 2021.

  1. lambch0p


    Oct 22, 2014

    I've gone from never having used IAP, Ads etc to trying to fully monetize my game in the last week so apologies if my questions are basic.

    What is the workflow from Economy and IAP with regard to Real Money Purchases? Is it:

    • Retrieve all RMPs from Economy.
    • Grab the StoreIdentifier for a given store from the RMP item
    • Use IAP to connect to the store and retrieve the cost for the item
    • Display item to user (details from Economy, price from IAP)
    • When an item is selected use IAP to purchase the item
    • Pass the receipt to Economy for redemption
    • Grab the users Inventory items from Economy (presumably now updated with unlocked item)
    • Take whatever actions (such as update display, player etc) come as a result of purchasing something

    I'm attempting to give Players the opportunity to buy skins and would appreciate understanding the workflow before getting to deep into the code.

  2. Laurie-Unity


    Unity Technologies

    Mar 5, 2020
    Hi Mick,

    Yes, your workflow looks correct.

    It is great to see you working through this use case, working with IAP and Economy together. Please continue to share any questions or observations that you encounter, we are really interested to hear your feedback, understand your use cases and any potential friction points that slow you down.