- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
Since at least the 07 september, we get the message "We were not able to process your request. Please try again later." on the sandbox when trying to perform a payment with an encrypted button.
The page https://www.sandbox.paypal.com/cgi-bin/webscr returns an HTTP 504 Gateway timeout error.
PayPal-Debug-Id: 491fec5989fe6
Solved! Go to Solution.
Accepted Solutions

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi @rmillet
I tested your code and it worked on my first attempt, which you can confirm by reviewing the payment which I sent to your account.
The only thing I can imagine may be causing your "504" issue, is either a bad DNS entry for "www.sandbox.paypal.com" or a firewall blocking the access attempt.
"www.sandbox.paypal.com" currently resolves to IP "173.0.82.77", so if you attempt to resolve "www.sandbox.paypal.com" to an IP address, that is what should be returned. You should also be allowing all outbound access in your firewall to "173.0.82.77".
Sandbox IP's are listed at the following resouce : https://www.paypal-knowledge.com/infocenter/index?page=content&id=FAQ1157&expand=true&locale=en_US
Was my post helpful? If so, please give me a kudos!

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
hi @rmillet
I need to see the encrypted code that your using.
Please post a reply and provide the code so that I can test it.
Was my post helpful? If so, please give me a kudos!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
How can I post the html code? The forum give me the error:
"The message body contains <part of the encrypted value stripped>, which is not permitted in this community. Please remove this content before sending your post."

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi @rmillet
I tested your code and it worked on my first attempt, which you can confirm by reviewing the payment which I sent to your account.
The only thing I can imagine may be causing your "504" issue, is either a bad DNS entry for "www.sandbox.paypal.com" or a firewall blocking the access attempt.
"www.sandbox.paypal.com" currently resolves to IP "173.0.82.77", so if you attempt to resolve "www.sandbox.paypal.com" to an IP address, that is what should be returned. You should also be allowing all outbound access in your firewall to "173.0.82.77".
Sandbox IP's are listed at the following resouce : https://www.paypal-knowledge.com/infocenter/index?page=content&id=FAQ1157&expand=true&locale=en_US
Was my post helpful? If so, please give me a kudos!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi @MTS_Justin,
It works again on my side too. I don't think it was a firewall or DNS issue on my side because the 504 error was returned by the server www.sandbox.paypal.com, so the server could be joined from me and the SSL certificate was valid, so it was a paypal server.
I don't know the paypal architecture, but it looks like it was one of your servers which can't contact another one.
But, as it is fixed, it is good for me.
Thank you for your time.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks for the update and great to hear your no longer experiencing the issue
Was my post helpful? If so, please give me a kudos!

Haven't Found your Answer?
It happens. Hit the "Login to Ask the community" button to create a question for the PayPal community.
- Sandbox account collect billing and shipping address in Sandbox Environment
- "System error. Please try again later" when connecting to paypal sandbox account with my android app in Sandbox Environment
- NOT ENABLED TO VAULT PAYMENT SOURCE in Sandbox Environment
- p is not a function error using the example downloaded from Paypal in SDKs
- Not receiving any confirmation emails for sandbox account in Sandbox Environment