You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The completion callback is never called when in-app purchase fails when making non-subscription purchase.
In the CBPurchaseManager it looks like the payment queue observer is calling buyProductHandler rather than buyNonSubscriptionProductHandler in the transaction failure block.
CBPurchase.shared.purchaseNonSubscriptionProduct(product: product, customer: customer, productType: productType) { result in
switch result {
...
case .failure():
// This is never called
}
}
The text was updated successfully, but these errors were encountered:
The completion callback is never called when in-app purchase fails when making non-subscription purchase.
In the CBPurchaseManager it looks like the payment queue observer is calling
buyProductHandler
rather thanbuyNonSubscriptionProductHandler
in the transaction failure block.The text was updated successfully, but these errors were encountered: