Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Post "https://buy.itunes.apple.com/verifyReceipt": EOF #146

Open
AvivM96 opened this issue Sep 2, 2021 · 0 comments
Open

Post "https://buy.itunes.apple.com/verifyReceipt": EOF #146

AvivM96 opened this issue Sep 2, 2021 · 0 comments

Comments

@AvivM96
Copy link

AvivM96 commented Sep 2, 2021

Hey,

Thank you for this awesome package, we are using go-iap to verify apple receipts, and we have some failing requests with EOF errors in production, after checking the failed receipts I can verify that they are valid, and after a retry the verify request is passing with no issue, I think it might be related to empty response from apple side, any idea how to handle it?

We are using v1.3.8 here is a code snippet -

         iapReq := appstore.IAPRequest{
		ReceiptData: receiptData,
		Password:   password,
	}
	iapResp := &appstore.IAPResponse{}
	err := s.asc.Verify(ctx, iapReq, iapResp)

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants