voltrue2 / in-app-purchase

A Node.js module for in-App-Purchase for iOS, Android, Amazon and Windows.
http://iap.gracenode.org
Other
1.05k stars 289 forks source link

loss error info in google-play #243

Closed firstguo closed 5 years ago

firstguo commented 5 years ago

image

/lib/google.js, in line 282:
when data is as follow, loss the error info image

Originally posted by @firstguo in https://github.com/voltrue2/in-app-purchase/issues/241#issuecomment-463104191

voltrue2 commented 5 years ago

@firstguo

My apologies for getting back so late. By “loss of error I info”, do you mean the receipt data that is supposed to be passed with an error? If that is what you mean, I found a bug in createErrorData that the data of errorred receipt is returned always null.

I’ll fix this bug but please let me know this if the same issue you’re reporting it not.

Cheers!

voltrue2 commented 5 years ago

Fix of the above mentioned: 13505ba2b7a80d0d2a9a1f2d32e2681da47cb034 Published npm version: 1.11.3