Hi Guys,
I'm implementing Auto-renewebla subscription for my app.
we have a plans for user to access for one month, 3 months, 1 year.While registering user has to choos one of the plan.After registration user can upgrade/downgrade his plan through app.
As per appl guidelines we need to implement restore purchase in app.if i restore the purchase, i'll get all the purchased details, but how i know which plan is purchased recently?
Currently i'm using Receipt Verification API to get all the purchase details. in that response I'll array of purchased records, and last object will be the latest, so that i'll know last one latest and ill give access to the user based on purchased dates and end date.
How can achive this using restore purchase or refreshingreceipt?
Thank you in advance.