LinkFive - Successful Subscriptions
Restore a Purchase
Restore a Purchase
Restore a subscription
It can also happen that the customer already purchased the selected subscription. In this case you should use the restore
function:
LinkFivePurchases.shared.restore { result in switch result { case .success(let succeeded): // TODO: Handle the success case case .failure(let error): // TODO: Handle the error }}
Next: Fetch receipt