Callback


https://forum.kartris.com/Topic3746.aspx
Print Topic | Close Window

By tobyhutton - Thu 21 May 2015
Hi,

After a customer process their payment through Paypal, the payment is collected successfully and they are redirected back to the "Order Completed" page, however the order does not show in their account or in the back end.

The error log that was returned is.

-----------------------------------------------------------------------------
>> Version:2.8004
>> URL:https://store.domain.com/callback.aspx?g=paypal
>> Page:
-----------------------------------------------------------------------------
>> 18/05/2015 14:25:38
>> 173.0.81.1
>> DESCRIPTION:
System.Net.WebException: The remote server returned an error: (403) Forbidden.
at System.Net.HttpWebRequest.GetResponse()
at Kartris.Paypal.ProcessCallback(String strCallbackData, String strReferrerURL)
at Callback.Page_Load(Object sender, EventArgs e)
at System.EventHandler.Invoke(Object sender, EventArgs e)
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)


==================================================

I get the same error with SSL on or off

I can see that i'm getting a forbidden error.

Could someone please advise what I've done wrong, I've followed all the sets in the Setting PayPal in user guides.

Thanks
By Paul - Thu 21 May 2015
Is store.domain.com really the web site address used, or did you change that in your post to avoid posting your actual domain?
By tobyhutton - Thu 21 May 2015
domain.com is not the domain, the domain is store.kmcdesigns.co.uk
By metalmania - Fri 22 May 2015
just a guess..but searching for paypal issues with 403 forbidden error has brought up a change that paypal made last year about requiring a useragent to be passed...wonder if that's the problem?
e.g.
http://www.nopcommerce.com/boards/t/32372/paypal-standard-live-mode-ipn-pdt-verification-return-403-forbidden.aspx
&
http://stackoverflow.com/questions/25934880/expresscheckout-ipn-invalid-response-status-403

the errors reported on these sites do look remarkably similar, unfortunately I can't give you a fix for Kartris (if my assumption is correct), perhaps someone else could suggest.