Skip to main content
Cookies help us customize the PayPal Community for you, and some are necessary to make our site work. By browsing this website, you consent to the use of cookies. Learn more
Accept
Reject

PayPal Community

  • Dashboard
  • Send and Request
  • Wallet
  • Business
  • Help
Log in
since ‎Sep-18-2023
Country:
Type: Business
BenjaminRommel
BenjaminRommel
New Community Member
2
Posts
0
Kudos
0
Solutions
Active
View all
Latest Contributions by BenjaminRommel
  • Topics BenjaminRommel has Participated In
  • Latest Contributions by BenjaminRommel

Is it safe to re-send messages when the hostname c...

by BenjaminRommel in REST APIs
‎Sep-18-2023 01:23 PM
‎Sep-18-2023 01:23 PM
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 ... View more
Paypal Logo
  • Help
  • Contact Us
  • Security
  • Fees
  • © 1999-2023 PayPal, Inc. All rights reserved.
  • Privacy
  • Legal
  • Policy Updates

The money in your balance is eligible for pass-through FDIC insurance.

The PayPal Cash Mastercard is issued by The Bancorp Bank pursuant to a license by Mastercard International Incorporated. The Bancorp Bank; Member FDIC.

Powered by Khoros