#.borjasanchez
1 messages · Page 1 of 1 (latest)
Can you use just Search?
yes, I can use it ... but I have the same problems with check out session... or create product ...
Why can't them be async ?
I don't exactly know, as I am not that familiar with .NET, but wouldn't
var response = MethodSync()
produce the same effect as
var response = await MethodAsync()
?
However, in any case SearchAsync method should work too
Well It doesn't... 🥲
The weird thing is that it doesn't creates any exception ,,, the code just ... stops abruptly
any Idea why that's happening ?
Hi! I'm taking over this thread. Give me a few minutes to look into this.
Did you find the SearchAsync() method in the documentation? If so, can you share the link?
mmmmm
wait a second
No, I don't. But it seems that is a accepted method in CustomerService()
Not sure, still looking into this (I'm not very familiar with .NET).
Okay ! Thanks! 🙂 Let me know
Are there any indications in your Dashboard logs that an API request is actually made?
Hi !
Let me see
Some how I can't see the search call in the dashboard ...
just POST
this is a GET I presume ...
Sign in to the Stripe Dashboard to manage business payments and operations in your account. Manage payments and refunds, respond to disputes and more.
There's filters you can apply
GET is not included in default filter
know, I got it ... let me check ! If is not async the get is Okay ! Let me try async
yes ! I does the call !
It*
That's the async call
var response = await service.SearchAsync(options);
but the code stops the same way
Ok, interesting. But in your code it never resolves to your response var?
And there's absolutely no error thrown or caught in your try/catch block?
Can you also confirm which version of the SDK you're using?
Ah can see it in screenshot
you can or can't see it ?
41.20.0 right?
I'd recommend updating, but I can't see any specific fixes relating to this
My recommendation would be to file a bug over at stripe-dotnet as this seems like an SDK issue to me: https://github.com/stripe/stripe-dotnet/issues
Stripe.net is a sync/async .NET 4.6.1+ client, and a portable class library for stripe.com. - Issues · stripe/stripe-dotnet
Sorry we couldn't resolve this here!