3

I'm working an app that will have an in-app subscription purchases on Weekly,Monthly bases.

When a user subscribe weekly or monthly, app getting subscription purchase details with OrderID like GPA.0000-0000-0000-00000 and purchased date in long.

And as per the Android developer blog after auto renewal we will get new order id with suffix ..1,..2,..3

GPA.0000-0000-0000-00000..0

GPA.0000-0000-0000-00000..1

GPA.0000-0000-0000-00000..2

GPA.0000-0000-0000-00000..3

But, my problem is after renewing the subscription also I'm still getting old subscription purchase details. No changes in OrderID and Purchased Date.

So, please anyone help me to get the Subscription Renewal Details.

Thanks.

Teks_Dev
  • 31
  • 2

1 Answers1

0

If a recurring payment fails (for example, because the customer’s credit card has become invalid), the subscription does not renew.

The getPurchases() method does not return failed or expired subscriptions.

At each subscription renewal, Google Play charges the user account automatically, then notifies the user of the charges afterward by email. For monthly and annual subscriptions, billing cycles will always match subscription cycles, based on the purchase date. (Seasonal subscriptions are charged annually, on the first day of the season.)

Refer for more details In-app Subscriptions

sasikumar
  • 12,540
  • 3
  • 28
  • 48
  • My subscription renewal is successfully done. I got renewal receipt to my gmail account. But, still I'm not getting the SubscriptionRenewal details in app. Thanks for the reference link. I've gone trough that, but still I'm not getting the renewal details in my app. Could you please help me in that? – Teks_Dev Feb 25 '17 at 07:38
  • How did you resolve this issue?. I am still getting cached outdated purchase result. – DhineshYes Jan 25 '20 at 05:33