Bug when creating user from Second Site Calendar.

This is the place to report bugs and get support. When posting in this forum, please always provide as much detail as possible.

Please do not report problems with a custom build or custom code in this forum. If you are producing your own build from the source code and have problems or questions, ask in the developer forum, do not report it as a bug.

This is the place to report bugs and get support

When posting in this forum, please try to provide as many relevant details as possible. Particularly the following:

  • What operating system were you running when the bug appeared?
  • What database platform is your site using?
  • What version of mojoPortal are you running?
  • What version of .NET do you use?
  • What steps are necessary to reproduce the issue? Compare expected results vs actual results.
Please do not report problems with a custom build or custom code in this forum. If you are producing your own build from the source code and have problems or questions, ask in the developer forum.
This thread is closed to new posts. You must sign in to post in the forums.
11/15/2010 2:32:01 PM
Gravatar
Total Posts 16

Bug when creating user from Second Site Calendar.

System Information
mojoPortal Version 2.3.5.4 MSSQL
Operating System Microsoft Windows NT 5.2.3790 Service Pack 2
ASP.NET Version v4.0.30319 Running in Full Trust
Server Time Zone Eastern Standard Time
Server Local Time (GMT -5) 11/15/2010 3:21:43 PM
Greenwich Mean Time (GMT/UTC) 11/15/2010 8:21:43 PM
 

When my users are on my second sites Event Calendar Pro object and they attempt to register from one of my events they have a problem.  Basically, they are allowed to register, but once they do and they click the continue button it takes them to a page that does not exist. 

My second site is running as a Folder called cctx the url that it attempts to hit is http://tipsycanvas.brinkster.net/cctx/cctx/Events/PurchaseTicket.aspx?pageid=10&mid=14&ItemID=21

So basically the problem is that the link is accounting for the cctx folder twice.  Once as the Root directory and once as a regular directory.  Any thoughts on how to avoid this issue?

11/15/2010 2:44:39 PM
Gravatar
Total Posts 16

Re: Bug when creating user from Second Site Calendar.

For the time being i have just creating a link on the administration page that links http://tipsycanvas.brinkster.net/cctx/cctx/Events/PurchaseTicket.aspx to

http://tipsycanvas.brinkster.net/cctx/corpus-christi-tx.aspx

11/16/2010 8:37:53 AM
Gravatar
Total Posts 18439

Re: Bug when creating user from Second Site Calendar.

I'm confused by your bug report because you say it happens after they click the "Continue" button, what page is this button on?

Can you clarify the steps to produce this problem?

Thanks,

Joe

11/16/2010 8:45:46 AM
Gravatar
Total Posts 18439

Re: Bug when creating user from Second Site Calendar.

Also it seems like you have some strange redirects going on. When I'm on your cctx folder site ( http://tipsycanvas.brinkster.net/cctx/corpus-christi-tx.aspx ) and I click the home link which has the url http://tipsycanvas.brinkster.net/cctx/home.aspx It redirects to the parent site url http://tipsycanvas.brinkster.net/

Which makes me wonder why you are using multiple sites in the first place. you could easily visually partition a single site into different sections and avoid all the complicated urls and redirects associated with folder sites.

Best,

Joe

11/16/2010 1:33:12 PM
Gravatar
Total Posts 16

Re: Bug when creating user from Second Site Calendar.

Two issues here.  I have two separate paypal accounts and that is why have two seperate sites.  The only page that needs to be different on the second site is the event calendar for the second Tipsy Canvas Location.  Thus I have made all other pages return to the original site.

"I'm confused by your bug report because you say it happens after they click the "Continue" button, what page is this button on?" 

The Continue button pops up when a new website visitor clicks to register for a class and then they proceed to the "Register Now" button because they have never created a user.  They add their new user account then save and are redirected to the "Continue Button" which looks to point toward the even they originally tried to register for.  The only problem is that it links you to the Root directory of the second site twice.  Like "/cctx/cctx/", I put in a redirect when the system attempts to request this page "http://tipsycanvas.brinkster.net/cctx/cctx/Events/PurchaseTicket.aspx" now it directs them back to the Corpus Calendar page instead. 

Now, for a more urgent issue that just came to my attention today.  We released the website and people began registering for classes and paying on PayPal.  However, I am only getting a fraction of the registrations to return the PDT from PayPal.  I think it is because the user must click to Return to the Tipsy Canvas Website button from PayPal after Registering in order for the PDT to start transferring.  If the user simply closes the browser or types in a new URL before returning to the website  I do not receive notification that a seat has been sold or that a payment has been made.  We called Pay Pal and they mentioned that the PayPal button that we use on our website is for checkout only and that if we wanted to force the user to be redirected we would need to use the Pay Pal Cart Button.  Is this possible with Mojo Portal? 

Thanks for the quick responses so far.  This issue is by far my most challenging because of the limited seat inventory that we have for each class.  I am going now to buy you a few beers, please help in any way you can.

Thanks,

Russell

11/16/2010 1:49:45 PM
Gravatar
Total Posts 18439

Re: Bug when creating user from Second Site Calendar.

Hi Russell,

Ok, that sounds like a redirect bug in the mojoportal registration page, I will look into it.

The issue with PayPal PDT is probably the same as the issue mentioned on this thread, there seems to be a bug at PayPal where the parameters sometimes get duplicated in the url when PayPal redirects to the PDTHandler page. I've added extra handling for this already in our source code repository so it will be fixed in the next release or if you are able to produce your own build from source code you could get it right now. However when I say fix I really mean workaround, the bug is on PayPal not in mojoPortal, and as indicated in the other thread it is not the first time this bug has come up at PayPal, it happened in 2006 and 2007.

Obviously if some of your customers are getting redirected by PDT then the paypal support was incorrect, there is nothing wrong with the button and nothing needs to be changed about the button to solve this, they just need to fix the problem of duplicated pdt params on their end.

The best thing you could do right now is also enable IPN (Instant Payment Notification), this way transactions are posted to your site regardless of whether PDT works. By having both PDT and IPN the notification to your site is redundant so you don't miss any transactions even if PDT fails. It will still send the user a confirmation email and track the order in your site when the IPN notification comes in or when PDT is correct.

Our documentation has instructions for configuring both PDT and IPN

http://www.mojoportal.com/using-paypal-standard.aspx

Hope it helps,

Joe

ps Many thanks for the cups of coffee!

11/16/2010 2:20:51 PM
Gravatar
Total Posts 16

Re: Bug when creating user from Second Site Calendar.

Thanks for the information.  The funny thing is I do have IPN turned on within PayPal.  I just did a test and it looks like every payment that is submitted with a valid PayPal account is being automatically redirected back to the mojo portal confirmation page.  It is just the users who enter their CC info in but do not register with pay pal that are having the redirect problem.  And if they click to Return to my site the payment is processed in MojoPortal.  I even resent an IPN earlier and I guess it wasn't received either.  The IPN URL is http://tipsycanvas.brinkster.net/Services/PayPalIPNHandler.aspx .  I think that is correct.

11/16/2010 2:32:31 PM
Gravatar
Total Posts 18439

Re: Bug when creating user from Second Site Calendar.

IPN will only happen after the payment has been fully processed so with a credit card rather than a paypal account it may not be as "Instant", it may take a few minutes.

If you are using a folder site then both your PDT url and IPN url must have the folder in the url like:

http://tipsycanvas.brinkster.net/cctx/Services/PayPalIPNHandler.aspx

You should be able to see PDT and IPN responses from the admin order browser > order detail. You should see the paypal log for each sold ticket order. We have the same thing in WebStore and that is how I verified that I was not getting PDT on several orders last week, I would only see the IPN in the log.

Hope it helps,

Joe

11/16/2010 2:33:43 PM
Gravatar
Total Posts 16

Re: Bug when creating user from Second Site Calendar.

It seems that I am getting a lot of system errors on attempting to send confirmation emails.  I wonder if that is what is causing the IPN process to fail.  What has to be set to send out confirmaiton emails?

11/16/2010 2:42:16 PM
Gravatar
Total Posts 18439

Re: Bug when creating user from Second Site Calendar.

Email cannot affect IPN nor PDT. Ticket order confirmation email is triggered either by PDT or IPN that indicates payment has cleared (whichever one comes first). So if neither of those happens no email will be sent. When it does send the email if it fails it will log it, the same as any feature in mojoPortal that sends email, but nothing depends on the success of sending email, the only consequence of failure to send email is that the message is not sent and therefore not received.

http://www.mojoportal.com/emailconfiguration.aspx

Hope it helps,

Joe

11/18/2010 9:26:38 PM
Gravatar
Total Posts 16

Re: Bug when creating user from Second Site Calendar.

Joe,

I just looked through the PayPalLog table and the only Response was of type PDTSuccess.  I am guessing that something is wrong with PayPal, but I did just notice that when I type the PayPalIPNHandler.aspx page into the browser I go to a blank page, but when I goto the PayPalPDTHandler.aspx page manually it redirects me to the home page.  Could it be that in my version there is something wrong with the IPN listening page?

From an earlier post: I have two pay pal accounts and the first one points to http://tipsycanvas.brinkster.net/Services/PayPalIPNHandler.aspx and the second to http://tipsycanvas.brinkster.net/cctx/Services/PayPalIPNHandler.aspx. 

As always you are a huge help.

Thanks,

Russell

 

 

You must sign in to post in the forums. This thread is closed to new posts.