Why did I get result code -25?
While processing a transaction, you receive result code -25 and one of the following messages:
- Could not connect socket
- CCMckDirectLib3_2
- Socket Connect Failed
- Socket error
- Transactions not reaching the gateway
- Error: "Cannot Connect to Socket"
- Error: "Could not connect socket to the Merchant Payment Server"
- Error: "Cannot connect socket to payment server"
- Result code -25
- Error: "Failed to create a socket"
- Unable to reach cr.cybercash.com
- Error: "403 forbidden"
- Error: "The http server has not processed your request"
- Error: "You are not authorized to view this page"
Cause
Result code -25 results from network issues, such as a router between your web server and PayPal being unavailable or having a latency problem.
Solution
Confirm that your server has basic Internet connectivity through your browser or Windows command line.
Here's how:
Using your browser
- Enter any URL in the address line, or go to the Yahoo home page, to see whether you can access that webpage.
- Try to access PayPal Manager.
- Click Start in the Windows taskbar, then type Run.
- Type CMD in the Open text box.
- At the command prompt, type
tracert payflowpro.paypal.com
.
Using a UNIX environment or open source tools, run the following commands:
- Run command line using cURL:
curl -d -v https://pilot-payflowpro.paypal.com
- Run command line (OpenSSL):
openssl s_client -connect payflowlink.paypal.com:443
If your firewall isn't configured to allow traffic on port 443 to the payment gateway, configure it to allow the range of IP addresses from 173.0.82.33 to 173.0.82.173. Check that port 443 of your firewall has no port restrictions.
Was this article helpful?