Both the PayPal IPN and the customer returning to Ubercart cause uc_cart_complete_sale() to be called. The second time it's called, the order has a user id, which causes the logged in message to be displayed, despite the fact that the customer hasn't been logged in when returning from PayPal. I've added a check to this function to display the "existing user" message when the current user and the order's user aren't the same.
Re: Re: Ubercart not displaying correct page after payment
Ubercart not displaying correct page after payment (4 replies) Sun, 05/11/2008 - 19:41
- Re: Ubercart not displaying correct page after payment (05/14/2008 - 02:28)
- Re: Re: Ubercart not displaying correct page after payment (05/23/2008 - 15:12)
- Re: Ubercart not displaying correct page after payment (05/12/2008 - 00:16)
- Re: Re: Ubercart not displaying correct page after payment (05/12/2008 - 09:22)
|
|



Joined: 08/07/2007