Skip to content

Commit 66775de

Browse files
committed
docs(readme): add Validate the receipt and error handling to readme
1 parent 8605d1c commit 66775de

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

README.md

+7
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,13 @@ func main() {
5656
}
5757
```
5858

59+
- Validate the receipt
60+
- One option could be to validate the receipt with the App Store server through `GetTransactionInfo` API, and then check the `transactionId` in the response matches the one you are looking for.
61+
62+
- Error handling
63+
- handler error per [apple store server api error](https://developer.apple.com/documentation/appstoreserverapi/error_codes) document
64+
- [error definition](./error.go)
65+
5966
### Look Up Order ID
6067

6168
```go

0 commit comments

Comments
 (0)