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

ResponseBodyV1 SubscriptionNotification.original_transaction_id variable missmatch. #153

Open
splindsay-92 opened this issue Jan 10, 2022 · 5 comments

Comments

@splindsay-92
Copy link

json: cannot unmarshal number into Go struct field SubscriptionNotification.original_transaction_id of type string
Seems this is set to string in the struct when apple are sending a long. https://developer.apple.com/documentation/appstoreservernotifications/responsebodyv1

@zwang
Copy link

zwang commented Feb 3, 2022

It was sending as an empty string, now all of sudden it is a long... Any work around this?

@takecy
Copy link
Member

takecy commented Feb 3, 2022

I see, I'll modify the field to long(int64).

@takecy
Copy link
Member

takecy commented Feb 3, 2022

I released https://github.com/awa/go-iap/releases/tag/v1.3.13.
Please check it :)

@takecy
Copy link
Member

takecy commented Feb 3, 2022

Thanks for pointing that out. I've released a new version.
https://github.com/awa/go-iap/releases/tag/v1.3.14

@splindsay-92
Copy link
Author

Thanks for fixing this!

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

3 participants