Vitaa/IAPurchaseManager

We need a Product details as well completion block?

Closed this issue · 0 comments

Hi Vitaa,

Thanks for great code, We would like to have Product details as well in Completion block.

IAPManager.shared.purchaseProduct(productId: productId) { (error) -> Void in
if error == nil {
// successful purchase!
// I want product object here, now only error
} else {
// something wrong..
}
}