UPDATED
All the below still holds true, but I just discovered that at least some of the orders went through and the payments have been processed at Paypal. Still timed out on all of them, but a few were posted to Paypal. I did have one order go all the way through tonight and Paypal handed back off to my local server, but I was redirected to the standard "Empty Cart" page instead of receiving a successful order notification. Weird. Just for fun I tried refunding the one transaction that did complete (From Admin, Orders, Actions) and the refund request processed and returned in under ten seconds. Starting to wonder if maybe the problem lies in the code, not slow response times from Paypal. Has anyone successfully processed orders using DC3 and PaypalPro?
TIA
Matt
Hi all
Well it took three pots of coffee and a dozen donuts, but I'm getting dangerously close to having the Pro provider working. Coming up against a timeout error now when clicking "Process Order" and am not sure if it's a problem on this end or just Paypal's dreadfully slow response times on the Sandbox site. Has anyone else come up against this? Is there an easy way to change the timeout for web requests to a longer interval? Exception detail follows signature...
Thanks in advance
Matt
Error returned from checkout.aspx.cs, catch block at line 537 (after patching with ThreadAbortException patch) as shown here;
catch(Exception ex) {
Logger.Error(typeof(checkout).Name + ".btnProcessOrder_Click", ex);---> throw;
}
Exception Details
System.Net.WebException was unhandled by user code
Message="The operation has timed out"
Source="System.Web.Services"
StackTrace:
at System.Web.Services.Protocols.WebClientProtocol.GetWebResponse(WebRequest request)
at System.Web.Services.Protocols.HttpWebClientProtocol.GetWebResponse(WebRequest request)
at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[ parameters)
at MettleSystems.dashCommerce.Store.PayPalSvc.PayPalAPIAASoapBinding.DoDirectPayment(DoDirectPaymentReq DoDirectPaymentReq)
at MettleSystems.dashCommerce.Store.Services.PaymentService.PayPal.PayPalService.DoDirectPayment(Order order, Boolean authorizeOnly)
at MettleSystems.dashCommerce.Store.Services.PaymentService.PayPalProPaymentProvider.Charge(Order order)
at MettleSystems.dashCommerce.Store.Services.PaymentService.PaymentService.Charge(Order order)
at MettleSystems.dashCommerce.Store.OrderController.Charge(Order order, String userName)
at MettleSystems.dashCommerce.Web.checkout.btnProcessOrder_Click(Object sender, EventArgs e)
at System.EventHandler.Invoke(Object sender, EventArgs e)
at System.Web.UI.WebControls.Button.OnClick(EventArgs e)
at System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument)
at System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument)
at System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument)
at System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData)
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)