-
Notifications
You must be signed in to change notification settings - Fork 51
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
Invalid SnapRequest sent by mobile sdk #39
Comments
Actually the Line 63 in 9d3aefa
Or any other alternative to define type that both accept |
I dont think so.. is it possible to promote this changes on the new version of this library? |
Yes make sense, this should be changed to |
Yep. Adding version number will be a good thing to have. I will try to make a PR for changing this to string tho. :D |
Hi,
I'm using this module with version (v0.0.0-20190513104831-ff7f567d2249) in my golang backend. However, when we receive the snap request from our android app, we found out that
credit_card.authentication
sent by the android sdk is not a boolean, but string. Meanwhile in go-midtrans module, it is defined asboolean
in here.We are using struct
SnapReq
to decode the json sent by the android and to do some validation against the request sent by android app. However we got error due to the issue i explained above.Is this expected?
The text was updated successfully, but these errors were encountered: