Is it safe to re-send messages when the hostname could not be resolved?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
We are using the .NET PayPal SDK to handle payments on our website. It works well almost every time, but we are currently facing some DNS server issues with our provider. At least once a day, a payment confirmation or refund fails, because of an error like this: System.Net.Http.HttpRequestException: No such host is known. (api.paypal.com:443).
The PayPal SDK is not the issue, but the DNS server is. However, while the IT support checks on the DNS server, I was thinking to build a fallback mechanism. The idea is to repeat a PayPal SDK function call whenever it fails with an error message such as the one I listed above.
I have developed also a way for us to use the REST API instead of .NET SDK, because it is marked as deprecated. However, resolving the domain name would still be an issue.
My questions is if that is safe or if there are concerns of any kind why I should not do that?
Kind regards, Benjamin

Haven't Found your Answer?
It happens. Hit the "Login to Ask the community" button to create a question for the PayPal community.
- Response error message: "Insufficient privileges": How can i resolve it? in REST APIs
- How does one resolve error message "Must pass vault=true to sdk to use createSubscription" in PayPal Payments Standard
- My PayPal certificate expired in PayPal Payments Standard
- Paypal fraud loophole corvid 19 scam in PayPal Payments Standard