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

Restoring cancelled subscription on google play

Discussion in 'Unity IAP' started by kabur, Jan 9, 2019.

  1. kabur

    kabur

    Joined:
    Jan 23, 2016
    Posts:
    12
  2. JeffDUnity3D

    JeffDUnity3D

    Joined:
    May 2, 2017
    Posts:
    14,446
    Yes, I saw that notice too. Can you describe a use case where you would think this would be useful? If a user cancelled a subscription, they actively are demonstrating they no longer want the subscription. Is this feature for those users who then change their mind? Seems like this would be a VERY small subset of users, if any at all. Unless I'm missing something. This would help to drive the priority if an update to IAP would be required.
     
  3. kabur

    kabur

    Joined:
    Jan 23, 2016
    Posts:
    12
    thanks Jeff for the reply.
    Yes, it looks like for the user who change their mind after cancellation.
     
  4. JeffDUnity3D

    JeffDUnity3D

    Joined:
    May 2, 2017
    Posts:
    14,446
    Understood, seems like a very small use case. I suspect we won't be supporting this feature because of higher priority issues.
     
  5. unitylicense19

    unitylicense19

    Joined:
    Aug 29, 2018
    Posts:
    32
    Now google has made this support to be compulsorily present in the app, can it be included in unity plugin as a priority?
     
  6. JeffDUnity3D

    JeffDUnity3D

    Joined:
    May 2, 2017
    Posts:
    14,446
    Restore should already work without modification, are you seeing differently in your testing? At any rate, we are planning to use the latest Google billing library soon, so hopefully it will come with that. There should be no changes needed for Unity IAP to support this.
     
  7. unitylicense19

    unitylicense19

    Joined:
    Aug 29, 2018
    Posts:
    32
    https://forum.unity.com/threads/google-play-subscription-changes-account-hold-restore.931914/
    As i asked here, what about the account hold feature, no changes are required from our end?

    For restore feature in android
    IAppleExtensions.RestoreTransactions()

    Unity manual says it will be called automatically
    "On platforms that support it (e.g. Google Play and Universal Windows Applications) Unity IAP automatically restores any products the user owns during the first initialization following reinstallation; the ProcessPurchase method of your IStoreListener will be called for each owned item."

    But as per any latest google play changes, Do we have to call it manually?
     
  8. JeffDUnity3D

    JeffDUnity3D

    Joined:
    May 2, 2017
    Posts:
    14,446
    Nope, no need to call it manually. When you reinstall the game on the device, you should see ProcessPurchase fire for each owned non-consumable and subscription upon IAP initialization. Apple is different, their store policy requires a Restore button.
     
  9. unitylicense19

    unitylicense19

    Joined:
    Aug 29, 2018
    Posts:
    32
    What about the account hold feature?
     
  10. JeffDUnity3D

    JeffDUnity3D

    Joined:
    May 2, 2017
    Posts:
    14,446
    Have you tried it? What are the results?
     
  11. ashirwadrastogi

    ashirwadrastogi

    Joined:
    Jun 23, 2021
    Posts:
    1