#josealbertino - charges list
1 messages · Page 1 of 1 (latest)
Hello, can you show me how you are making this call?
Like can you send me the snippet of code where you make this call?
Yes, we are programming in C/AL, that is a language of Microsoft Dynamics NAV
And we use Dot net DLL
System.Net.WebRequest.'System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'
like this.
The code i:
Can you send me the request ID (req_123) of a time you made this call with this parameter? https://stripe.com/docs/api/request_ids#request_ids
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
I retrive only 10 charges.
If I put 100 limit, I retrive 100 charges but not filter by created.
Can you edit your message to remove your secret key? (sk_test_)
Some bots crawl public servers looking for keys like that to use. It is a test mode key so it isn't that dangerous but it is still better to keep that protected
ok thanks
I was unclear, we should make sure that that key is not readable on this server. Typically people replace their key with sk_test_123 when sending snippets so that they can protect their info
Of course
Thank you for removing them
But yes, if you can try that request again, check your dashboard logs (https://dashboard.stripe.com/test/logs) and send me the request ID of a time you made this request, I should be able to take a better look at what is happening with your call
Sign in to the Stripe Dashboard to manage business payments and operations in your account. Manage payments and refunds, respond to disputes and more.
what is the request id?
pHost := pHost + '?created.gt:' + FORMAT(pLastCreated);
HttpWebRequest := HttpWebRequest.CreateHttp(pHost);
Password := '';
UserPasword64 := pUser + ':' + Password;
Base64 := wcUtils.Encode64FromString(UserPasword64);
HttpWebRequest.Headers.Add('Authorization' , 'Basic ' + Base64);
ServicePointManager.Expect100Continue := TRUE;
ServicePointManager.SecurityProtocol(SecurityProtocol.Tls12);
NAVWebRequest := NAVWebRequest.NAVWebRequest;
IF NOT NAVWebRequest.doRequest(HttpWebRequest,HttpWebException,HttpWebResponse) THEN
IF (IgnoreCode = '') OR (STRPOS(HttpWebException.Message,IgnoreCode) = 0) THEN
ERROR(HttpWebRequestError,HttpWebException.Status.ToString,HttpWebException.Message);
This is the url that I use to retrive de charge, filter by created greater than
pHost + '?created.gt:' + FORMAT(pLastCreated);
pHost is https://api.stripe.com/v1/charges?
And that does not work to filter it.
You get it back as the Request-Id header in the response that we send you https://stripe.com/docs/api/request_ids#request_ids
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
Or you can click on the request in your dashboard logs and see the ID on the page for the request https://dashboard.stripe.com/test/logs
Sign in to the Stripe Dashboard to manage business payments and operations in your account. Manage payments and refunds, respond to disputes and more.
Let me check
This thread has been archived. If you need help with anything else please ask in #dev-help or contact Stripe Support: https://support.stripe.com/contact
Find help and support for Stripe. Our support center 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.