Discussions
A cancelled subscription is never renewed
I cancelled a subscription in sandbox environment. Next day I try to buy this subscription again with "makePurchase" method, but Adapty returns the completion without calling Apple purchase dialogue. Its returns old purchase info (cancelled subscription). Why it doesn't call Apple purchase dialogue to renew subscription?
Posted by Alex over 1 year ago
SDK в логе показывает успех, но веб-интерфейс не показывает ивентов.
Почему в веб-интерфейсе показывает будто я не интегрировал SDK?
Почему я не вижу ивентов в интерфейсе?
Домашняя страница показывает quick start guide, на всех остальных страницах всё по нулям.
Я пытаюсь тестировать в sandbox, SDK установлен в Observer mode. Тестирую на айпаде (приложение именно для айпада, м.б. с этим связаны проблемы, т.к. получаю errors, см. соседний тикет).
Из лога:
Updating local purchaserInfo: Optional(accessLevels: ["premium": expiresAt: 2022-01-26 22:25:32 +0000, activatedAt: 2021-04-27 16:08:05 +0000, renewedAt: 2022-01-26 21:25:32 +0000, store: app_store, willRenew: true, isInGracePeriod: false, id: premium, isRefund: false, isActive: true, vendorProductId: com.momwillbeproud.artworkout.v3.pro.12months, isLifetime: false], subscriptions: ["com.momwillbeproud.artworkout.v3.pro.6months": store: app_store, isInGracePeriod: false, vendorProductId: com.momwillbeproud.artworkout.v3.pro.6months, isLifetime: false, isSandbox: true, isRefund: false, expiresAt: 2022-01-20 23:12:58 +0000, isActive: false, willRenew: true, vendorOriginalTransactionId: 1000000806177984, activatedAt: 2021-04-27 16:08:05 +0000, renewedAt: 2022-01-20 22:42:58 +0000, vendorTransactionId: 1000000953466766, "com.momwillbeproud.artworkout.v3.pro.1month": store: app_store, isInGracePeriod: false, vendorProductId: com.momwillbeproud.artworkout.v3.pro.1month, isLifetime: false, isSandbox: true, isRefund: false, expiresAt: 2022-01-20 22:44:56 +0000, isActive: false, willRenew: true, vendorOriginalTransactionId: 1000000806177984, activatedAt: 2021-04-27 16:08:05 +0000, renewedAt: 2022-01-20 22:39:56 +0000, vendorTransactionId: 1000000953466112, "com.momwillbeproud.artworkout.v3.pro.12months": isLifetime: false, vendorTransactionId: 1000000957217711, vendorOriginalTransactionId: 1000000806177984, isSandbox: true, isRefund: false, vendorProductId: com.momwillbeproud.artworkout.v3.pro.12months, willRenew: true, activatedAt: 2021-04-27 16:08:05 +0000, isActive: true, isInGracePeriod: false, renewedAt: 2022-01-26 21:25:32 +0000, store: app_store, expiresAt: 2022-01-26 22:25:32 +0000], nonSubscriptions: [:]), with profileId: Optional("26ad6f37-d51a-463c-bc48-d5fc8bf83cfa"), customerUserId: Optional("B34A3DE2-15B0-430C-B63C-E5ED80A7D46C")
Posted by Александр Улитин over 1 year ago
Flutter SDK - inaccurate subscription status
I bought an auto renewal subscription via IOS sandbox account. I cross checked everything with the feed screen
when I bought it. it showed on feed screen and in app
it showed me the time it would expire and I checked the app 1 minute before the expiration and 1 min after just to see how precise the data was and it worked amazingly
the only issue is its an auto renew subscription but after reaching expiration time the status shows not subscribed to the subscription BUT on feed screen it shows that renew subscription was initiated and also when I tap again to get subscription I get apple prompt saying im already subscribed
my question is why does it show inactive if all the rest are showing active. its it because im using sandbox ? and if yes will I encounter this issue in production?
Posted by Christina over 1 year ago
Access Level always returns isActive: true
Hi there,
I have been testing my Adapty integration with a physical Android device, with purchases in sandbox. I have made some test purchases, however after refunding them I am getting strange results.
I am getting purchaser info result that has a subscription map and access level map. The subscription isActive value is false, as it should be. However, the associated access level isActive value is true. This is incorrect and should not be the case.
Please advise on whether this is a bug, or if I am making a mistake.
Posted by Dino Bossi over 1 year ago
Flutter Android Sandbox Testing
Hi there,
I am trying to test my IAP in Flutter using Adapty on a physical Android device.
The purchases are being registered correctly as Sandbox environment events, however the subscriptions are set to expire at the normal date (actual 1 month duration) rather than the shortened periods for sandbox testing (https://developer.android.com/google/play/billing/test).
Is there any way around this?
Thank you!
Posted by Dino Bossi over 1 year ago