Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"Restore purchases" not working #459

Closed
keeshux opened this issue Jan 8, 2024 · 2 comments · Fixed by #460 or #462
Closed

"Restore purchases" not working #459

keeshux opened this issue Jan 8, 2024 · 2 comments · Fixed by #460 or #462
Assignees
Labels
regression Used to work but doesn't anymore

Comments

@keeshux
Copy link
Member

keeshux commented Jan 8, 2024

Still, the products are there:

20:19:55.779 INFO ProductManager.reloadReceipt():291 - Purchased features: [PassepartoutFrontend.LocalProduct(rawValue: "com.algoritmico.ios.Passepartout.features.full_multi_version")]

Maybe just not crediting users until killing the app? This must be coming from the recent ProductManager/InApp refactorings:

@keeshux keeshux self-assigned this Jan 8, 2024
@keeshux keeshux converted this from a draft issue Jan 8, 2024
@keeshux keeshux added the regression Used to work but doesn't anymore label Jan 8, 2024
@keeshux keeshux added this to the Test in-app purchases milestone Jan 8, 2024
@keeshux keeshux closed this as completed Jan 9, 2024
@keeshux keeshux moved this from In Progress to Done in 2024 Q1-Q4 Passepartout v3 Jan 9, 2024
@keeshux keeshux moved this from Done to In Progress in 2024 Q1-Q4 Passepartout v3 Jan 10, 2024
@keeshux keeshux reopened this Jan 10, 2024
@keeshux
Copy link
Member Author

keeshux commented Jan 10, 2024

#460 did not resolve the issue. The feature is there but some users still see the paywall.

Also, a case of e.g. [purchase, refund, purchase] may not be handled correctly.

@keeshux
Copy link
Member Author

keeshux commented Jan 10, 2024

Still not sure about the correct way to handle the receipt cancellation date:

https://developer.apple.com/documentation/appstorereceipts/cancellation_date_ms

@keeshux keeshux changed the title "Restore purchases" reportedly not working "Restore purchases" not working Jan 10, 2024
keeshux added a commit that referenced this issue Jan 10, 2024
So, if both a purchase and a refund of feature `.foobar` existed,
whatever the dates, the purchase was incorrectly discarded.

Fixes #459, fixes #461
@keeshux keeshux moved this from In Progress to Done in 2024 Q1-Q4 Passepartout v3 Jan 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
regression Used to work but doesn't anymore
Projects
No open projects
Status: Done
1 participant