Page 1 of 1

PayPal NotifyURL nonsecure

Posted: Fri Jun 04, 2010 1:20 pm
by dc8johnson
We just turned our store on this week and we're having a problem with PayPal payments. Here is the entry from the Error Log (our site IP has been x'ed out):

Code: Select all

An error has occured at http://www.mechanicstoolswarehouse.com/ProcessPayPal.ashx
Unable to connect to the remote server; No connection could be made because the target machine actively refused it xxx.xxx.xxx.xxx:443
In the App_Data\Logs\app.log we have this:

Code: Select all

ERROR 2010-06-04 12:36:30,019 5695995ms Object                 a                  - An error has occured at http://www.ourdomainurl.com/ProcessPayPal.ashx
System.Net.WebException: Unable to connect to the remote server ---> System.Net.Sockets.SocketException: No connection could be made because the target machine actively refused it xxx.xxx.xxx.xxx:443
I checked with PayPal tech support and this is what they're telling me:
In the final API call to process the payment, your code is overriding the IPN url you have set in the Profile with an HTTP one. See the NOTIFYURL parameter in the below log:
DoExpressCheckoutPaymentRequest
method "DoExpressCheckoutPayment"
notifyurl "http://www.ourdomainurlcom//ProcessPayPal.ashx"
and
The NOTIFYURL is a parameter that is passed in the API call to PayPal when processing the transaction. From what I could find the logs on your account, you are passing that parameter in the DoExpressCheckoutPayment API call to payment with an HTTP address.

So, this should be a coding change. You will want to review the code and make any necessary changes to any API calls that process a transaction with us making sure the NOTIFYURL value is HTTPS or… remove the parameter all together.

Other API methods that may include that parameter are:

doCapture
doDirectPayment
The IPN notification URL is set up as HTTPS in the PayPal account. SSL is turned on for the site.

Thoughts?

Thanks,

Re: PayPal NotifyURL nonsecure

Posted: Mon Jun 07, 2010 6:17 am
by mazhar
Seem like you are using an old build. I guess that may be this was an old problem and which is no more in latest builds. May be following bugs were related to this issue
http://bugs.ablecommerce.com/show_bug.cgi?id=7450
http://bugs.ablecommerce.com/show_bug.cgi?id=6473

Re: PayPal NotifyURL nonsecure

Posted: Mon Jun 07, 2010 10:44 am
by dc8johnson
Mazhar,

I think everything is up to date. Here is what we are running from the About box:

AbleCommerce for ASP.NET
VERSION: 7.0.4.13424
MSSQL v2008
AC SCHEMA v2005
ASP.NET TRUST: Unrestricted

AjaxControlToolkit: 3.0.20229.20843
CommerceBuilder: 7.4.13541.0
CommerceBuilder.AbleCommerceTax: 7.4.13043.0
CommerceBuilder.AcTestProvider: 1.0.0.0
CommerceBuilder.AustraliaPost: 7.1.0.0
CommerceBuilder.AuthorizeNet: 7.3.12625.0
CommerceBuilder.BankOfCanada: 7.3.0.0
CommerceBuilder.CanadaPost: 7.0.0.0
CommerceBuilder.Configuration: 7.4.13416.0
CommerceBuilder.CyberSource: 7.0.9310.0
CommerceBuilder.Data: 7.4.13416.0
CommerceBuilder.DataClient.Api: 7.4.13416.0
CommerceBuilder.DataClient.Csv: 7.0.34.0
CommerceBuilder.DHLInternational: 7.2.11307.0
CommerceBuilder.ECB: 7.0.0.0
CommerceBuilder.FedEx: 7.0.9725.0
CommerceBuilder.GoogleCheckout: 7.3.12468.0
CommerceBuilder.InternetSecure: 7.0.9764.0
CommerceBuilder.LinkPoint: 7.0.9764.0
CommerceBuilder.Paradata: 7.0.9764.0
CommerceBuilder.PayFlowPro: 7.0.10061.0
CommerceBuilder.PayJunction: 7.3.12625.0
CommerceBuilder.PaymentechOrbital: 7.3.12625.0
CommerceBuilder.PayPal: 7.4.13453.0
CommerceBuilder.Protx: 7.3.12327.0
CommerceBuilder.Services: 7.4.13447.0
CommerceBuilder.SkipJack: 7.0.9764.0
CommerceBuilder.UPS: 7.4.13022.0
CommerceBuilder.USPS: 7.4.13441.0
CommerceBuilder.Web: 7.4.13416.0
ComponentArt.Web.UI: 2008.2.1267.35
CyberSource.Base: 2.0.0.0
CyberSource.Clients: 5.0.2.0
CyberSource.Clients.XmlSerializers: 5.0.2.0
CyberSource.WSSecurity: 2.0.0.0
CybsWSSecurityIOP: 1.0.0.0
FredCK.FCKeditorV2: 2.5.2912.21007
ICSharpCode.SharpZipLib: 0.85.5.452
LinkPointTransaction: 1.0.1797.29766
log4net: 1.2.10.0
Microsoft.Web.Preview: 1.2.61025.0
NVelocity: 7.2.0.0
PaygatewayNET: 3.0.0.0
paypal_base: 4.2.1.0
PFProCOMLib: 1.0.0.0
PFProdotNET: 0.0.0.0
RSS.NET: 0.86.2977.28464
Validators: 1.0.0.0
WebChart: 1.1.1.6
wwHoverPanel: 1.85.0.0

Thanks,