Search Unity

  1. Engage, network and learn at Unite Austin 2017, Oct 3 - 5. Get your ticket today!
    Dismiss Notice
  2. Introducing the Unity Essentials Packs! Find out more.
    Dismiss Notice
  3. Check out all the fixes for 5.6 on the patch releases page.
    Dismiss Notice
  4. Unity 2017.1 is now released.
    Dismiss Notice
  5. Unity 2017.2 beta is now available for download.
    Dismiss Notice

Getting platform specific data?

Discussion in 'Unity IAP' started by andymads, Sep 14, 2017.

  1. andymads

    andymads

    Joined:
    Jun 16, 2011
    Posts:
    1,330
    When using individual store plugins for IAPs we have access to data not accessible via Unity IAP. How do we get this if we switch to Unity IAP?

    E.g.
    On Google V2 we get an object of type GooglePurchase after a successful purchase. This object has fields named signature and originalJson which we send to AppsFlyer for receipt validation.
     
  2. JeffDUnity3D

    JeffDUnity3D

    Unity Technologies

    Joined:
    May 2, 2017
    Posts:
    168
  3. andymads

    andymads

    Joined:
    Jun 16, 2011
    Posts:
    1,330
    Why not have this as part of the extensions functionality?

    e.g.

    var signature = extensions.GetExtension<IGoogleExtensions>().GetSignature(receipt);