Hi there,
I’m running into a problem where purchases do succeed, but the Purchases.shared.purchase(...) completion block is never called.
I do see INFO: Finishing transaction in the logs, but the completion block itself is never called.
Purchases.shared.purchase(package: package) { (transaction, customerInfo, error, userCancelled) in
// Never called
}
I’m trying with a sandbox account on a real device. The same code seems to work for one of my other apps. I’m using purchases-ios 4.17.9.
If after a purchase I do a restore purchase action, the entitlement is there for this customer. This confirms that the purchase does succeed.
Any idea why this is happening?