Blazor Integration

Is it possible to create a card token using .Net API? I am using Blazor and it is very difficult for me to integrate the Javascript/HTML page that Square needs (https://developer.squareup.com/reference/sdks/web/payments)

We have our own simple Blazor form which captures CC, Date CVV etc. We send it to the server where I can create the token if possible via Square API but nothing seems to be available for it. The Javascript (const result = await card.tokenize(); ) but we don’t want to do this in Javascript as it requires too much work and changes outside of Blazor and C# like using JS Interop etc.

Currently, with Square creating a card token directly with the .NET SDK isn’t currently available. You’ll need to use our client side SDK to first create the token and then use the API to process the payment. :slightly_smiling_face: