Closure inside SwiftyStoreKit.completeTransactions(atomically: true) { ... } never gets reached #500
Labels
area: purchase flows
purchase processes, efficiency and failures
difficulty: intermediate
this issue is tough, contributions welcome
status: needs analysis
community analysis is needed
type: bug
Platform
iOS 13.1 and 13.2
In app purchase type
Environment
Version
SwiftyStoreKit (0.15.0) // installation: pod 'SwiftyStoreKit'
Related issues
#432
https://stackoverflow.com/a/53162058/4833705
https://stackoverflow.com/q/53841379/4833705
Issue summary
the
closure
insideSwiftyStoreKit.completeTransactions(atomically: true) { ... }
never gets reachedWhat did you expect to happen
I expected the closure to get entered
What happened instead
the closure was ever entered
Report
My app uses a tip jar for IAP so I only use Consumable.
I submitted my app to the App Store this morning and got a rejection saying they couldn't make an IAP when trying to make a Consumable purchase (a tip).
While testing as a sandbox tester when I checked the purchase I kept getting an error: "Unknown error. Please contact support":
Upon further inspection even though I had this code below in
AppDelegate
the closure never gets called.My sandbox tester email is confirmed, I signed out of the device as my real self, I logged in on the device as the sandbox tester, I'm logged into iCloud as the sandbox tester.
What could be the reason for the closure not being entered in AppDelegate?
Here's the code from the vc that I use to make the Consumable purchase:
The text was updated successfully, but these errors were encountered: