go-iap icon indicating copy to clipboard operation
go-iap copied to clipboard

ResponseBodyV1 SubscriptionNotification.original_transaction_id variable missmatch.

Open splindsay-92 opened this issue 3 years ago • 5 comments

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

splindsay-92 avatar Jan 10 '22 15:01 splindsay-92

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

zwang avatar Feb 03 '22 03:02 zwang

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

takecy avatar Feb 03 '22 04:02 takecy

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

takecy avatar Feb 03 '22 04:02 takecy

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

takecy avatar Feb 03 '22 06:02 takecy

Thanks for fixing this!

splindsay-92 avatar Feb 03 '22 09:02 splindsay-92