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

NSInvalidArgumentException, reason: 'NaN number in JSON write' #3

Open
agustinjlopez opened this issue Nov 29, 2016 · 1 comment
Open

Comments

@agustinjlopez
Copy link

Hi there,

Whenever I try to process an EMV charge, I am getting this message and the app is closed:

*** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: 'NaN number in JSON write'.

I process the charge as soon as I get a successful event on cardflight.registerOnReaderResponse

Any idea why this is failing? Thanks in advance.

@agustinjlopez
Copy link
Author

agustinjlopez commented Nov 29, 2016

I wanted to add that I get the same error whether I use EMV or Swipe, when I try to process the charge.

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

No branches or pull requests

1 participant