Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

ProcessPurchase not being called on subscription renewal?

Discussion in 'Unity IAP' started by rebelincontrol, Dec 3, 2020.

  1. rebelincontrol

    rebelincontrol

    Joined:
    May 19, 2015
    Posts:
    30
    Hi, I'm under the impression that ProcessPurchase should be called on app launch if there has been a renewal on an auto renewable subscription.

    @JeffDUnity3D alludes to it here https://forum.unity.com/threads/iap-renewal-subscription-help.722396/#post-4863386 .

    Testing on Android (sandbox) I'm seeing 'Already recorded transaction GPA.xxx', so it looks like its skipping the ProcessPurchase call because of this.

    Is this intentional? In the past I'm sure this has worked ok.

    Our subscription gives users coins every renewal, so we need to work around this asap.

    Thanks
     
  2. JeffDUnity3D

    JeffDUnity3D

    Joined:
    May 2, 2017
    Posts:
    14,446
    We are testing.
     
    Last edited: Dec 8, 2020
    rebelincontrol likes this.
  3. JeffDUnity3D

    JeffDUnity3D

    Joined:
    May 2, 2017
    Posts:
    14,446
    We are looking into it. There is the chance that you won't be notified of each renewal, but it will be indicated in the receipt if the subscription is current or not.
     
    Last edited: Dec 8, 2020
  4. rebelincontrol

    rebelincontrol

    Joined:
    May 19, 2015
    Posts:
    30
    Hi Jeff, do you have any more information on this? The inconsistency makes for a painful workaround. Is there any chance of a fix on the horizon for ProcessPurchase being consistently called after a renewal? Thanks
     
  5. JeffDUnity3D

    JeffDUnity3D

    Joined:
    May 2, 2017
    Posts:
    14,446
    No, it does not look possible. It appears that the store API does not provide a reliable way to do this.
     
    Last edited: Jan 12, 2021
    rebelincontrol likes this.