iap
verifies a purchase receipt via AppStore
package appstore
// create an IAP client
client := appstore.New()
// create an validation request
r := appstore.IAPValidationRequest{
ReceiptData: "enter your receipt here",
ExcludeOldTransactions: true,
}
ctx := context.Background()
var response appstore.IAPValidationResponse
// receipt validation
err := v.VerifyReceipt(ctx, req, &response)
- If you found a bug, open an issue.
- If you have a feature request, open an issue.
- If you want to contribute, submit a pull request.
Please feel free to help out with this project! If you see something that could be made better or want a new feature, open up an issue or send a Pull Request!
Nikita Vasilev, [email protected]
iap is available under the MIT license. See the LICENSE file for more info.