#Jon766-terminal
1 messages · Page 1 of 1 (latest)
ok, thank you. Here is my codes, and after the codes executed at the line " var reader = await rs.ProcessPaymentIntentAsync"
I just got a StripeException, and the codes go to the "catch"(which it is not in the image), and the message is "Reader is currently unreachable,please ensure the reader is powered on and connected to the internet beforeretrying your request"
But before I do the "process", I actually have done some other necessary work for reader, includes checking its status, I can see my reader is in the result "var readers = await service.ListAsync();", and I can see it is "online" from this result.
Also, all my work can work fine if I'm using the simulator reader & cards(424242... and so on), for the same codes, I only got this problem when I'm using the real read and the Physical test card(which we purchased from your website).
Could you share which documentation you followed for the integration, and sample payment intent (pi_xxx) with the error?
https://stripe.com/docs/terminal/payments/collect-payment
And the Server-driven with your .Net SDK.
Sorry, I first time to use discord, the message which here between you and me are private or publich? Is it ok to share my payment intent id and reader id here?
The messages in discord are public. Payment Intent ID and reader ID are fine to share here as only Stripe employees are able to view details associated to the ID
ok, I found one at 8/24
Could you paste the ID in text here? Thanks!
pi_3LaBXLCr58tR9BQQ0OJRdT5b
Thanks for sharing. Based on the records, the terminal (tmr_EwGGCAWenLcyjH) was not available, i.e. Stripe can't reach the terminal when trying to process the payment intent
but why? I can see it in the result of "var readers = await service.ListAsync();", and the "status" field here is "online"
Could you share full response when you retrieve the terminal list?
what do you mean the full response? I only got the StripeException.
Sorry if I'm unclear. I'm referring to the response where you were trying to get the terminal list and their status
Our side doesn't log the GET response, so would like to double check the response you receive when calling var readers = await service.ListAsync()
ok, but sorry, I cannot give you that now. But I can show that it was "online". Our stripe account only have one registered real reader, so the service.ListAsync() only return a list with one element, and first, my codes only allow go the "start transaction" step when the reader is "online", second, I also checked this carefully, I was using VS2022 to put the break point, and see its status is online.
But, I cannot use the reader now, so I cannot do any test right now, sorry.
Thanks for sharing. The status of tmr_EwGGCAWenLcyjH on my side shows that it's offline
it must be offline now. But, it was online when we were testing.
By the way, is here any setting to make the reader always online even if nobody is using it. I think my colleague put it on a dock, but it always go to offline later.
It should be online unless the internet is disconnected
ok, thank you, I'll try to get the response for the "List" when I have chance to do it.
And, let me ask you my another question about the reader.
Sure!
We have another project is using your reader's "JavaScript SDK". And, I also got an error when we were testing. The codes is here, I have to see that it is almost 100% same like your demo codes, I only wrote some necessary codes for our business.
I got the error "The card object must have a value for 'number'."
at the line "if (result.error)" in the red frame
so, it go to the error processing.
it is the same reader which I asked the first question.
we could see the reader show the transaction amount, and then we tap the Physical test cards, then we got the error.
About the payment intent, I only record one "pi_3LaBZ1Cr58tR9BQQ1qkZUZfv"
Hi, are you still checking my 2nd question?
Sorry, discord is a bit busy. Looking into it now
ok, thank you, you can take your time, I only want to know whether I still need to wait here.
After checking, there might be an issue with the test card
so, what shall we do for this or need to wait you(Stripe) to do something first?
I'd suggest writing to our Support https://support.stripe.com/contact with the error request ID (https://dashboard.stripe.com/test/logs/req_kXMeMy8uERuKJK) and the error message, so that they can replace/investigate the test card for you
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.
Sign in to the Stripe Dashboard to manage business payments and operations in your account. Manage payments and refunds, respond to disputes and more.
ok, thank you.
By the way, I think we did those two kinds of test at a same day during a few minutes. I remember we tested the web one first which we got the error from Javascript SDK which I asked in my 2nd question; then, we tested the .Net SDK for another project, and got the error which I asked the 1st question here. But, please note that we even can see the transaction amount when we were doing the test with Javacript SDK, so it also proved that the reader must be online at that moment, but we only got the "unreachable" error when we do another test(which I ased in my 1st question).
I had a look at your account communication records and you (or your team) have reached out to Support with the same questions
I'd suggest following up with the Support in the same email for the test card replacement/investigation, as well as the detailed loggings for the unreachable terminal issue
ok, I think my colleague sent email first, but he is not a developer, and you asked him more questions, and he asked me, you know this took much more time, so I sent an email at last Friday, but I did not got any response, so that finally I have to try this discord.
And, I'm using my account for testing by the simulator reader, and everything works fine. And after we were testing the codes with our company's accound with the real reader, and the test card, we got those two problems.
Thanks for the sharing. I can see that two emails were sent from your account.
Regarding the test card error, I'd recommend following up with the Support as they need more investigation on the test card since it's not integration related.
For the terminal unreachable issue, we'd more logging such as the response of var readers = await service.ListAsync() and its request ID for further investigation. Here’s how you can find the request ID: https://support.stripe.com/questions/finding-the-id-for-an-api-request
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.
ok, thank you, but I think I have to ask my colleague to find the request id, I only have the test API key of our company's account, but I cannot login the dashboard of our company's account.
Finally, I contact someone who is still in our store and he just help me to set the reader online , and I just tested again,
the request for list is req_omkxzEhetHA408, and the whole response is in the picture
And, then I try to process the payment intent "pi_3LbzxfCr58tR9BQQ1ZMVy0MA" which I just created
and then, I got the same "unreachable" error at the same place which I said in my 1st question here.
Does your networking have firewall?
I think we have.
but I do not work for network, I do not know the details about this.
shall we care or check something about this?
Let me double check
More specifically, Stripe endpoints can’t be accessed: https://stripe.com/docs/ips
so, it is about our network settings, right?
And, do you want us to do a test for my 2nd question now? The employee who help me, he cannot wait for a long time, but we can do a test now if you want.
What is the 2nd question?
Isn't another question a test card error, which you have to follow up with Support to resolve since it's not integration related?
yes, it is about the Javascript SDK, and we got the error about tet card. You said that it might be a problem about the test card. But, I just thought that we can do the test now, so we can give you something if you want.
If think it is not necessary, I will tell our employee to leave.
Test card error doesn't require more testing at this moment
Test card issue has been escalated to relevant team for investigation
ok, I think I really took your much time, so thank you very much. I think it should be enough today.
No problem! Happy to help 🙂 Feel free to let us know if you more questions
ok, I'll tell someone to check our network, and then do the test again. Thank you again.
No problem! Happy to help 🙂