#alex_61416
1 messages · Page 1 of 1 (latest)
👋 happy to help
would you mind sharing a request ID you've made?
Find help and support for Stripe. Our support site provides answers on all types of situations, including account information, charges and refunds, and subscriptions information. Get your questions answered and find international support for Stripe.
and any logging that you've had internally
thanks for your help, please let me check
in the developer logs nothing appear
we have no log internally, but even the try ctach shows any error
just retur this
{
"Message": "There was an error processing the request.",
"StackTrace": "",
"ExceptionType": ""
}
public StripeSearchResult<Subscription> getLastSuscriptionOfTerminalkey(String terminal_key)
{
StripeConfiguration.ApiKey = ".....";
var service = new SubscriptionService();
var options = new SubscriptionSearchOptions
{
Limit = 100,
Query = "metadata['Serial']:'" + terminal_key + "'"
};
return service.Search(options);
}
we call this in other methods, etc etc etc
in local server work fine, but in cloud returns internal error
BillingController stripe = new BillingController();
StripeSearchResult<Subscription> subs = stripe.getLastSuscriptionOfTerminalkey(terminal_key);
it could be an issue with outbound IP being blocked or a problem with DNS
please read this https://stripe.com/docs/ips
verify that there's no connection issue
and at the same time, try to add more meaningful logging to your code to understand what's the actual error, this is crucial to help you debug future issues
thanks a lot for your help, let me check