Issue with Payflow Pro: "Failed to connect to host" Error on Server Deployment
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi all,
I'm encountering an issue with Payflow Pro while trying to get a SecureToken by posting data to https://pilot-payflowpro.paypal.com.
Here’s the request I'm sending:
{
"TRXTYPE": "A",
"BILLTOSTREET": "123 Main St.",
"BILLTOZIP": "L6R0Z4",
"AMT": "1.35",
"CURRENCY": "CAD",
"PWD": "P@ssw0rd123*",
"USER": "user_name",
"VENDOR": "vendor_name",
"PARTNER": "partner_name",
"CREATESECURETOKEN": "Y",
"SECURETOKENID": "9a9ea8208de1413abc3d60c86cb1f4c5",
"SILENTTRAN": "TRUE"
}
On my local machine, I receive the response just fine with RESULT=0. However, when deploying to another server, I receive the following response:
RESULT=-1&RESPMSG=Failed to connect to host Input Server Uri = https://pilot-payflowpro.paypal.com/
To address this, I added the following lines to my C# code, based on online suggestions:
ServicePointManager.SecurityProtocol = SecurityProtocolType.Tls | SecurityProtocolType.Tls12;
However, this change hasn't resolved the issue.
What could be causing this problem? Any insights or suggestions would be greatly appreciated.
Thanks in advance!
Haven't Found your Answer?
It happens. Hit the "Login to Ask the community" button to create a question for the PayPal community.
- magento2 iways pay-pal-plus webhook in PayPal Payments Standard
- Smart Button "Debit or Credit Card" button - capture fails with "permission_denied" in PayPal Payments Standard
- Development workflow using PayPal sandbox accounts in SDKs
- When integrating a PaypalHere card reader with an android app, Paypal Retail Node not working. in SDKs