Error on 400 on verification

Hi Bryan,

Thank you for letting me know that there’s a new payment flow for tokenization. Unfortunately, I’m unable to follow the guide on the link as is.
It didn’t mention where tokenize() is coming from and what is the new URL for the square javascript source. If I use the code as is it will throw an error saying tokenize is undefined.
The square script source I’m using is https://sandbox.web.squarecdn.com/v1/square.js, please let me know if you have new script source for this new payment flow.

Do you have a sample code for this? I was following the code that was in the github web payments quickstart. The code in github is also failing with the same error message when testing with SCA.

Attached is the sample code as my test/POC code.

(Attachment Index.cshtml is missing)