Skip to content

Instantly share code, notes, and snippets.

@jeiting
Created March 12, 2019 17:42
Show Gist options
  • Save jeiting/0cba8905ba64899359614a5b14910d1d to your computer and use it in GitHub Desktop.
Save jeiting/0cba8905ba64899359614a5b14910d1d to your computer and use it in GitHub Desktop.
SKMutablePayment *payment = [SKMutablePayment paymentWithProduct:product];
payment.applicationUsername = self.appUserID;
payment.paymentDiscount = discount;
[self purchaseProduct:product withPayment:payment completion:completion];
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment