Created
April 25, 2019 02:28
-
-
Save rkotzy/28b84d390455e2f026b39f8405b5988f to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// 2: - Fetch the payment discount | |
// | |
Purchases.shared.paymentDiscount(for: productDiscount, product: product, completion: { (paymentDiscount, err) in | |
guard let discount = paymentDiscount else { | |
print("Payment discount doesn't exist. Check error.") | |
return | |
} | |
// ... continued |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment