- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
last evening I got a Http 503 (service unavailable) while executing a payment in the sandbox environment. When I checked the seller account later, I saw that the payment was successfully executed and in the payer account also.
The problem is that our system thoughts, due to the error, that the payment was not successful and gave an error message to the user. The user places then a new order which has lead to a new payment. The result at the end was that there were two payments.
I'm wondering if this is a normal situation and what the correct error handling in such a situation is. Should the system try to execute again? Or check the status of the payment? And when?
Solved! Go to Solution.
Accepted Solutions

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi, in this case looks like the system could not execute it immediately as http 503 means "The server cannot handle the request for a service due to temporary maintenance".
You can either catch this error message and take some actions in your code or rely on the IPN / WebHook notifications that, once the transaction will be completed, will notify your backend.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi, in this case looks like the system could not execute it immediately as http 503 means "The server cannot handle the request for a service due to temporary maintenance".
You can either catch this error message and take some actions in your code or rely on the IPN / WebHook notifications that, once the transaction will be completed, will notify your backend.

Haven't Found your Answer?
It happens. Hit the "Login to Ask the community" button to create a question for the PayPal community.
- "System error. Please try again later" when connecting to paypal sandbox account with my android app in Sandbox Environment
- Something went wrong. Contact the merchant for help. in PayPal Payments Standard
- NOT ENABLED TO VAULT PAYMENT SOURCE in Sandbox Environment
- p is not a function error using the example downloaded from Paypal in SDKs
- Advance checkout in Braintree Server-side Integration (PHP, Java, .NET, Ruby, Python, NodeJS SDKs)