Closed khizar1556 closed 2 years ago
You need to validate this on server side. E.g. googleapis package with androidpublisher api v3
yes i already did but i think you can put this in your library so everyone can use this i searched it and found solution you didn't even mention it in your readme
Feel free to make a PR, I am not the author of this repo
ok i will add it thanks
This issue is stale because it has been open 90 days with no activity. Leave a comment or this will be closed in 7 days.
Have you guys found the way of this? i am also facing the same issue right now
Version of flutter_inapp_purchase
sdk: ">=2.12.0 <3.0.0"
Platforms you faced the error (IOS or Android or both?)
Android
Expected behavior
when subscription renew then it gives new transaction detail
Actual behavior
when subscription renew it gives base order id it should give new order id with recurrance like this orderid..1 it just give base orderid
Tested environment (Emulator? Real Device?)
real
Steps to reproduce the behavior
i have one-week subscription when it renews then you just got a base order, not a new orderid so how can i tackle the subscription is active or not
this json i got from
inappInstance.getAvailablePurchases()
[productId: one_week_subs, transactionId: GPA.3397-5571-2111-77797, transactionDate: 2022-04-20T13:15:03.731, transactionReceipt: {"orderId":"GPA.3397-5571-2111-77797","packageName":"com.speed.vpn.smart.vpnmaster.fast.pubg.tiktok","productId":"one_week_subs","purchaseTime":1650442503731,"purchaseState":0","quantity":1,"autoRenewing":true,"acknowledged":true},
as you can see the transactionid there is no new numbers in the end