I figured this one out myself, but this can cause a LOT of headaches.
If payment isn't working and you get an error saying: "Uncaught (in promise) SyntaxError: Unexpected token < in JSON at position 177" at the end of your checkout, this is the solution:
The issue is the DEBUGBAR, make sure to set DEBUGBAR_ENABLED to false in .env before attempting the payment API's as for some weird reason the JSON response gets appended with the code from the debugbar and thereby the JSON contains HTML and JS and cannot be converted to JSON.
Cost me a full day of work figuring this out, so hope this can help others and the developers of Laraship.
Unexpected token ‘<' in JSON
19
Jun