bizz84 / bizz84/SwiftyStoreKit

Finishing transaction before verification?

Open
#411 2 comments 2 reactions 0 assignees View on GitHub
Dominant language
Swift
Stars
6.7k
Forks
801
PR merge metrics
No merged PRs in 30d

Description

According to the SwiftyStoreKit documentation, the transaction is finished before a subscription is verified:
https://github.com/bizz84/SwiftyStoreKit#purchasing-and-verifying-a-subscription

In my opinion this is bad practice. Shouldn't this be the other way around?

My app only grants access to Pro features when it is sure that the expiration date is still valid. When the receipt was not yet verified (Say that network access had failed right after the purchase), the access is not granted obviously. Because the transaction is finished, there is no way that the app would try again later.

Thoughts?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.