Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
cb-anurags authored Jul 29, 2023
1 parent cd61bc3 commit 9162741
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,7 @@ let product = CBProduct(product: SKProduct())
print(result.chargeID ?? "")
print(result.invoiceID ?? "")
case .failure(let failure):
//Hanler error here
// Handle error here
}
}
```
Expand Down Expand Up @@ -288,7 +288,7 @@ CBPurchase.shared.validateReceipt(product,customer: nil) { result in
print(result.status )
// Clear persisted product details once the validation succeeds.
case .failure(let error):
print("error",error.localizedDescription)
print("error", error.localizedDescription)
// Retry based on the error
}
}
Expand All @@ -302,7 +302,7 @@ CBPurchase.shared.validateReceiptForNonSubscriptions(product,type,customer: nil)
case .success(let result):
// Clear persisted product details once the validation succeeds.
case .failure(let error):
// Retry based on the error
// Retry based on the error
}
}
```
Expand Down

0 comments on commit 9162741

Please sign in to comment.