Search Unity

  1. We are migrating the Unity Forums to Unity Discussions by the end of July. Read our announcement for more information and let us know if you have any questions.
    Dismiss Notice
  2. Dismiss Notice

Question Stuck at Redeeming MacOS

Discussion in 'Economy' started by hexdecc, May 12, 2024.

  1. hexdecc

    hexdecc

    Joined:
    Oct 24, 2014
    Posts:
    160
    Hello, I have tried in app purchase redeeming by using economy unity on iOS it as working,

    same project I have switched to macOS Platform, but it is stuck while redeeming

    stuck at this line ;

    RedeemAppleAppStorePurchaseResult result = await EconomyService.Instance.Purchases.RedeemAppleAppStorePurchaseAsync(args);


    no exception or any message, it just stuck at that line, but game in running

    @Laurie-Unity

    @anthonylord

     
    Last edited: May 12, 2024
  2. hexdecc

    hexdecc

    Joined:
    Oct 24, 2014
    Posts:
    160
    Solved problem ;

    changed this task
    Task.Run(() => EconomyManager.Instance.RedeemApplePurchase(arg).GetAwaiter().GetResult());
    to
    EconomyManager.Instance.RedeemApplePurchase(arg);


    task was not executed , so I remove the task process, just called the function.