Skip to main content

PayPal Community

  • Dashboard
  • Send and Request
  • Wallet
  • Business
  • Help
Log in

Le Forum de la communauté n’est pas disponible pour les nouveaux messages ou les réponses; les articles précédents restent disponibles pour vérification. Afin de connaître les options d’assistance complètes, rendez-vous sur PayPal.com/HelpCenter

Si vous souhaitez signaler du contenu illégal et contraire au Règlement sur les services numériques de l’Union Européenne (DSA), veuillez cliquer ici.

since ‎Sep-18-2023
Country:
Type: Business
BenjaminRommel
BenjaminRommel
New Community Member
1
Post
0
Kudos
0
Solutions
Active
View all
Topics BenjaminRommel has Participated In
  • 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-2025 PayPal, Inc. All rights reserved.
  • Privacy
  • Legal
  • Cookies
  • 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