-
Notifications
You must be signed in to change notification settings - Fork 49
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
Success function not being triggered? #31
Comments
Forgot to mention, that I am using simple-demo.html without any changes and the defaultSuccessCallback is firing with the alert var text = ['Line 1: ', cardData.line1, '\nLine 2: ', cardData.line2, '\nLine 3: ', cardData.line3].join(''); |
I tried that sequence in a test case, and the generic parser matched it. The fact that you're seeing an alert means that the success callback was invoked - that's where the alert comes from. But if it shows literally |
I believe that the function on this page: Since there isn't any "complete" method, it should be replaced with "success": Should be updated from:
to this:
As soon as I changed the demo-simple.html example to use |
For some reason neither the success for nor the error function is being called. I have reviewed #27 and #28, but neither were helpful to me. The information from the card has nothing in line 1, line 2 = ;004089025410=? and line 3 is empty. I might just be dense, but I am not sure where to look. The console.log only shows the output like
The text was updated successfully, but these errors were encountered: