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
Hi Guys, thanks for this code sample I am using your sample @MrYossu but I am facing one issue can you please help me with this. When I am calling the CreateOrderResponse orderResponse = await _client.OrdersApi.CreateOrderAsync(orderRequest); in SquareHelper.cs line 139, I am getting this error
Actually, I am using this code in the blazer application the same as you are using but when I reach this line where I create and get the order in the helper class it's giving me the exception for CORS. So I am wondering how its working for you with doing anything for CORS
Hi Guys, thanks for this code sample I am using your sample @MrYossu but I am facing one issue can you please help me with this. When I am calling the CreateOrderResponse orderResponse = await _client.OrdersApi.CreateOrderAsync(orderRequest); in SquareHelper.cs line 139, I am getting this error
"Access to fetch at 'https://connect.squareupsandbox.com/v2/orders' from origin 'https://localhost:44309/' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: It does not have HTTP ok status."
can you please tell me what else should I do to reslove this?
The text was updated successfully, but these errors were encountered: