You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Put something in the far future like 11/44 for the expiry date for the credit card.
Using 4242 4242 4242 4242 for test cards.
The server returns "Error: 509 Message: Expiry date invalid" as a string instead of a valid JSON, so the error happens when doing JSON.parse(event.data).
I'll have to do some modifications to the library as a hack, but the maintainer should fix it ASAP.
I'm testing my payment form and when I try to test a card that returns a 200 auth code, I receive the following error:
core.js:7187 ERROR SyntaxError: Unexpected token E in JSON at position 0
at JSON.parse ()
at rxp-hpp.js:300
It's because the message received from GlobalPayments is not in the correct format.
The text was updated successfully, but these errors were encountered: