I am currently still in the testing phase integrating SnipCart into my environment. I have been able to successfully process TEST orders for the last couple of weeks with no issues. All of the sudden starting yesterday 01/24/2022 I kept getting this error message on the console:
422 (Unprocessable Entity)
None of my test transactions are going through anymore. As soon as I enter the test credit card numbers/info and then click on the btn Continue to Payment, the screen just shows the spinner and stays stuck there never fully completing payment. The browser console then shows me this:
POST https://payment.snipcart.com/api/public/sessions 422 (Unprocessable Entity)
Uncaught TypeError: t.indexOf is not a function
They are both pointing to snipcart.js which leads me to think there must have been an update or something on SnipCarts end that caused this behavior perhaps ?
I am still only using the TEST api key which has been working fine this entire time and I have not made any changes to my code. I even tried creating transactions in backups of my project from over a week ago and am still getting the same result (checkout not working).
During some poking around trying to figure out what might be the issue I went on my SnipCart Dashboard and I did notice that in this URL BillingInfo from the beginning I was not setup on any of the plans yet since I haven’t messed around with that screen yet since I am still in testing / development mode. I think I must have maybe clicked something that automatically put me in the Standard subscription plan and its asking me to add credit card and select a payment gateway… I am not 100% sure but I do remember that when this screen used to show that I was not on a plan yet, all my test transactions were working…