Cannot return from paypal web site

For general questions and discussions specific to the AbleCommerce 7.0 Asp.Net product.
Post Reply
softpac
Lieutenant, Jr. Grade (LT JG)
Lieutenant, Jr. Grade (LT JG)
Posts: 33
Joined: Mon Oct 22, 2007 12:08 am
Location: Australia

Cannot return from paypal web site

Post by softpac » Mon Oct 27, 2008 7:00 am

When using the PayPal website standard payments method, the user leaves the AC store site, is taken to paypal, pays for the goods, then should be returned to the AC store. However, the following error comes up. What does it mean and how can it be fixed?

Running AC7 v1 final SR1a. Ever the since putting the SR1a patch, all sorts of problems have arisen (see my other posts). I am considering rolling back to the b9879 build.


Server Error in '/' Application.
--------------------------------------------------------------------------------

Object reference not set to an instance of an object.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.NullReferenceException: Object reference not set to an instance of an object.

Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

Stack Trace:


[NullReferenceException: Object reference not set to an instance of an object.]
CommerceBuilder.Payments.Providers.PayPal.IpnProcessor.ProcessRequest(HttpContext context) +421
System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +181
System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +75




--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:2.0.50727.3053; ASP.NET Version:2.0.50727.3053

User avatar
moopa
Lieutenant (LT)
Lieutenant (LT)
Posts: 59
Joined: Tue May 13, 2008 10:11 am

Re: Cannot return from paypal web site

Post by moopa » Thu Oct 30, 2008 11:13 am

We are also have this problem.
I should add that we are using a UK paypal account. You can see our post here:-
viewtopic.php?f=22&t=8751

Would really appreciate a response on this also.

Thanks.

blackstonemedia
Ensign (ENS)
Ensign (ENS)
Posts: 11
Joined: Tue Sep 30, 2008 12:52 pm
Contact:

Re: Cannot return from paypal web site

Post by blackstonemedia » Fri Mar 20, 2009 5:22 pm

I'm having this exact same issue. Did either of you ever resolve this?

softpac
Lieutenant, Jr. Grade (LT JG)
Lieutenant, Jr. Grade (LT JG)
Posts: 33
Joined: Mon Oct 22, 2007 12:08 am
Location: Australia

Re: Cannot return from paypal web site

Post by softpac » Fri Mar 20, 2009 8:07 pm

For me, the issue was resolved when we upgraded to the latest build at that time, which was build 10863 (ie v7.0 SR2)

I also ticked "Sale" for Authorisation Mode under the Edit Gateway page. I found the recommended "Authorise" was a nightmare and never worked.

User avatar
mazhar
Master Yoda
Master Yoda
Posts: 5084
Joined: Wed Jul 09, 2008 8:21 am
Contact:

Re: Cannot return from paypal web site

Post by mazhar » Sat Mar 21, 2009 1:16 am

blackstonemedia wrote:I'm having this exact same issue. Did either of you ever resolve this?
Check the change log for service release 2 [url = change log]http://help.ablecommerce.com/upgrades/a ... ce_7.0.htm[/url]. It seems that you are asking about following
7450 PayPal Pay Now button using invalid URL
You can apply following cumulative upgrade
http://help.ablecommerce.com/upgrades/a ... ease_3.htm

rkolb
Lieutenant, Jr. Grade (LT JG)
Lieutenant, Jr. Grade (LT JG)
Posts: 30
Joined: Tue Feb 03, 2004 4:05 pm

Re: Cannot return from paypal web site

Post by rkolb » Sat Mar 21, 2009 8:50 am

We have BUILD: 10863 and are still experiencing this problem. We also have the issue of sending unconfirmed addresses to PayPal. For us, when the customer clicks on the PayPal button, their address information is not following them to the PayPal site.

blackstonemedia
Ensign (ENS)
Ensign (ENS)
Posts: 11
Joined: Tue Sep 30, 2008 12:52 pm
Contact:

Re: Cannot return from paypal web site

Post by blackstonemedia » Sat Mar 21, 2009 12:30 pm

mazhar wrote:
blackstonemedia wrote:I'm having this exact same issue. Did either of you ever resolve this?
Check the change log for service release 2 [url = change log]http://help.ablecommerce.com/upgrades/a ... ce_7.0.htm[/url]. It seems that you are asking about following
7450 PayPal Pay Now button using invalid URL
You can apply following cumulative upgrade
http://help.ablecommerce.com/upgrades/a ... ease_3.htm
That's what I'm using:

PLATFORM: ASP.NET
VERSION: 7.0.0
BUILD: 11659

softpac
Lieutenant, Jr. Grade (LT JG)
Lieutenant, Jr. Grade (LT JG)
Posts: 33
Joined: Mon Oct 22, 2007 12:08 am
Location: Australia

Re: Cannot return from paypal web site

Post by softpac » Sat Mar 21, 2009 7:16 pm

blackstonemedia wrote:
mazhar wrote:
blackstonemedia wrote:I'm having this exact same issue. Did either of you ever resolve this?
Check the change log for service release 2 [url = change log]http://help.ablecommerce.com/upgrades/a ... ce_7.0.htm[/url]. It seems that you are asking about following
7450 PayPal Pay Now button using invalid URL
You can apply following cumulative upgrade
http://help.ablecommerce.com/upgrades/a ... ease_3.htm
That's what I'm using:

PLATFORM: ASP.NET
VERSION: 7.0.0
BUILD: 11659
Maybe it was a to, but shouldn't your version read 7.0.2? If's not a typo, then maybe the upgrade process to build 11659 did not go so well, which may be a cause for the problem you are experiencing.

Other than that, maybe double check the fundamentals, such as:

1. Be sure to configure your PayPal account to support IPN. Find this under Profile -> Selling Preferences -> Instant Payment Notification Preferences. Turn this feature on and provide the URL printed below.

https://www.boots-n-all.com.au/ProcessPayPal.ashx

2. You must have SSL enabled for IPN to work with a LIVE PayPal account (make sure it's NOT a self-signed certificate). The one we use is a QuickSSL from GeoTrust.

Hope this helps.

rkolb
Lieutenant, Jr. Grade (LT JG)
Lieutenant, Jr. Grade (LT JG)
Posts: 30
Joined: Tue Feb 03, 2004 4:05 pm

Re: Cannot return from paypal web site

Post by rkolb » Tue Mar 24, 2009 8:12 am

Okay we applied the patch "Upgrading from SR2 : ac70_b10863_to_b11659_patch.exe (SR3 Patch)"

This may have solved the redirect problem; but it wasn't solved officially until we changed a PayPal setting at the PayPal site ->Profile->Website Payment Preferences->Auto Return set to OFF. Yep, wouldn't think to set it to off, but this did the trick. Obviously, some type of conflict from the old way of doing it versus how Able now wants us to enter the URL under Instant Payment Notifications (which also currently do). Go figure.

Okay, but this still doesn't solve our PayPal issue of sending unconfirmed shipping addresses to the Gateway. This time, however, there are no PayPal settings to change. Doesn't matter what we do, when a customer checkouts and pays at PayPal our seller protection is set to "not eligible" and PayPal states: We have no shipping address on file.

Any help on this would be greatly appreciated.

dadkind
Lieutenant Commander (LCDR)
Lieutenant Commander (LCDR)
Posts: 105
Joined: Thu Jan 22, 2009 3:32 pm

Re: Cannot return from paypal web site

Post by dadkind » Wed Apr 15, 2009 9:53 pm

Thanks!!

I was having this problem until I set the authorization mode to "Sale" and turned off the "AutoReturn" in the Paypal console.

-tomas
rkolb wrote:Okay we applied the patch "Upgrading from SR2 : ac70_b10863_to_b11659_patch.exe (SR3 Patch)"

This may have solved the redirect problem; but it wasn't solved officially until we changed a PayPal setting at the PayPal site ->Profile->Website Payment Preferences->Auto Return set to OFF. Yep, wouldn't think to set it to off, but this did the trick. Obviously, some type of conflict from the old way of doing it versus how Able now wants us to enter the URL under Instant Payment Notifications (which also currently do). Go figure.

Okay, but this still doesn't solve our PayPal issue of sending unconfirmed shipping addresses to the Gateway. This time, however, there are no PayPal settings to change. Doesn't matter what we do, when a customer checkouts and pays at PayPal our seller protection is set to "not eligible" and PayPal states: We have no shipping address on file.

Any help on this would be greatly appreciated.

Post Reply