buyProduct(productIdentifier:)
Simulates buying an in-app purchase or subscription outside the app.
Declaration
func buyProduct(productIdentifier: String) throwsParameters
- productIdentifier:
Product identifier of the in-app purchase.
Discussion
After calling this function, handle the new transaction in your payment queue.