Skip to content

Commit

Permalink
Merge pull request #78 from chargebee/cb-anurags-patch-1
Browse files Browse the repository at this point in the history
Update README.md
  • Loading branch information
cb-haripriyan authored Aug 3, 2023
2 parents cd61bc3 + 9162741 commit 10eabc5
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 10eabc5

Please sign in to comment.