Event Calendar Pro - Can't get "Allow Ticket Purchase Without Authentication" to work

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.
12/28/2010 2:44:49 PM
Gravatar
Total Posts 39

Event Calendar Pro - Can't get "Allow Ticket Purchase Without Authentication" to work

mojoPortal - 2.3.5.3
Event Calendar Pro - 0.0.3.1

Windows Server 2008, SQL Server 2008

In Event Calendar Pro, I have checked the "Allow Ticket Purchase Without Authentication?" checkbox.

However, when I go to buy tickets for an event without signing in, I am still presented with the "To Complete Your Order, you need to Sign In or Register" message.

In case it matters, I have configured the site to use PayPal standard as the one and only payment option.

Am I missing a step?

Thanks,
Kevin
 

 

 

12/29/2010 7:31:17 AM
Gravatar
Total Posts 18439

Re: Event Calendar Pro - Can't get "Allow Ticket Purchase Without Authentication" to work

Hi Kevin,

I confirm this as a bug. I was able to reproduce the problem and fix it on my local machine. I will try to get an update out soon for event Calendar Pro with this fix and will post again when it is available, though it may also require upgrading to a newer version of mojoPortal.

Best,

Joe

1/6/2011 11:44:09 AM
Gravatar
Total Posts 18439

Re: Event Calendar Pro - Can't get "Allow Ticket Purchase Without Authentication" to work

Hi Kevin,

I just uploaded Event Calendar Pro 0.0.3.2 which has this bug fixed.

Best,

Joe

1/6/2011 12:12:21 PM
Gravatar
Total Posts 39

Re: Event Calendar Pro - Can't get "Allow Ticket Purchase Without Authentication" to work

Thanks Joe. I appreciate it!

1/11/2011 8:49:55 PM
Gravatar
Total Posts 39

Re: Event Calendar Pro - Can't get "Allow Ticket Purchase Without Authentication" to work

Joe,

I installed this and I can now check out as an anonymous user.

One question -- when I go to buy a ticket as an anonymous user, I am presented with the Customer Information form that I can fill out with name, address, etc. However, if I fill out the form, click "Update Customer Information" and then click the "Check out with PayPal" button, the booking comes back to mojoPortal with the customer information I supplied to PayPal, not what I put in the event's Customer Information form. Is this form perhaps supposed to be hidden for anonymous check-outs, or am I missing the point of it? Right now it doesn't appear to serve any purpose.

Thanks,
Kevin

1/12/2011 7:33:28 AM
Gravatar
Total Posts 18439

Re: Event Calendar Pro - Can't get "Allow Ticket Purchase Without Authentication" to work

Hi Kevin,

Is PayPal the only gateway you are using? If so I agree it must be another bug that it still shows the customer fields there. In my testing I was also using Authorize.NET so it was expected to see those controls there but the user could just skip that and click the PayPal button. So I may need to change it to hide those fields if not using other payment gateways in addition to PayPal. 

Best,

Joe

1/12/2011 10:27:06 AM
Gravatar
Total Posts 39

Re: Event Calendar Pro - Can't get "Allow Ticket Purchase Without Authentication" to work

Yes, PayPal is the only gateway I have configured.

Thanks,
Kevin

1/12/2011 12:41:20 PM
Gravatar
Total Posts 18439

Re: Event Calendar Pro - Can't get "Allow Ticket Purchase Without Authentication" to work

Hi Kevin,

I just fixed this and uploaded a new zip for Event Calendar Pro, the only file that changed is /bin/sts.Event.Web.UI.dll

Best,

Jo

1/13/2011 11:12:29 AM
Gravatar
Total Posts 39

Re: Event Calendar Pro - Can't get "Allow Ticket Purchase Without Authentication" to work

Joe,

This installation is running on 3.5 and it looks like the sts.Event.Web.UI.dll  under the 3.5 build in the latest zip is a version 4.0 dll.

1/13/2011 11:32:06 AM
Gravatar
Total Posts 18439

Re: Event Calendar Pro - Can't get "Allow Ticket Purchase Without Authentication" to work

Hi Kevin,

doh! you're right, packaging error on my end, I put the .NET 4 version in both folders. I've just corrected it.

Thanks,

Joe

1/13/2011 11:54:09 AM
Gravatar
Total Posts 39

Re: Event Calendar Pro - Can't get "Allow Ticket Purchase Without Authentication" to work

Much better! Thanks.

10/19/2011 3:30:56 PM
Gravatar
Total Posts 49
TRIAD/Next Level Interactive

Re: Event Calendar Pro - Can't get "Allow Ticket Purchase Without Authentication" to work

Hi Joe,

Any chance we can download a version of Event Cal Pro 0.0.3.2 ?

We're experiencing this bug (allow purchase w/o auth) in mojoPortal Version 2.3.6.5 (.NET 3.5 FullTrust) and can't currently upgrade the CMS.

Thanks,
John

10/19/2011 3:38:39 PM
Gravatar
Total Posts 18439

Re: Event Calendar Pro - Can't get "Allow Ticket Purchase Without Authentication" to work

Hi John,

I just emailed to you.

Best,

Joe

10/19/2011 4:04:22 PM
Gravatar
Total Posts 49
TRIAD/Next Level Interactive

Re: Event Calendar Pro - Can't get "Allow Ticket Purchase Without Authentication" to work

Thanks Joe.

This seemed to fix the permission issue but now the registration form doesn't appear. It seems to bypass the form completion step and takes me to a final checkout screen with blank information listed. (It displays the default state, country only. No customer info)

Any advice?

Thanks,
John

10/19/2011 4:08:31 PM
Gravatar
Total Posts 18439

Re: Event Calendar Pro - Can't get "Allow Ticket Purchase Without Authentication" to work

Hi John,

I don't think it ever shows customer info fields unless using Authorize.NET, for PayPal and Google Checkout we don't collect that information it comes back from PayPal or Google.

The bottom line though is I cannot fix problems with old versions, so my advice would be to upgrade mojoPortal and Event Calendar Pro.

Best,

Joe

11/26/2012 1:09:26 PM
Gravatar
Total Posts 39

Re: Event Calendar Pro - Can't get "Allow Ticket Purchase Without Authentication" to work

Hi Joe,

It looks like there might have been some regression. I've since upgraded this site to mojoPortal 2.3.9.0 and Event Calendar Pro 3.4.0.8 and the issue I described in my 1/11/2011 9:49:55 PM reply where the customer information form appears even though PayPal is the only payment gateway I've configured has returned.

Thanks,
Kevin

11/26/2012 3:03:33 PM
Gravatar
Total Posts 18439

Re: Event Calendar Pro - Can't get "Allow Ticket Purchase Without Authentication" to work

Hi Kevin,

Those are not the latest versions of mojoPortal and Event Calendar Pro. I just tried to replicate the problem using the latest version but I was not able to replicate it. I recommend upgrade both mojoPortal (currently 2.3.9.4) and Event Calendar Pro (currently 3.4.0.9) to the latest version.

Hope that helps,

Joe

 

11/26/2012 6:04:14 PM
Gravatar
Total Posts 39

Re: Event Calendar Pro - Can't get "Allow Ticket Purchase Without Authentication" to work

I just upgraded to 2.3.9.4 and 3.4.0.9 and I'm still getting prompted for Customer Information.

You can see the behavior here:

http://www.anchorcenter.org/Events/PurchaseTicket.aspx?pageid=75&mid=109&ItemID=5434

As you can see, PayPal is the only payment option. Also, I have "Allow Ticket Purchase Without Authentication?" enabled if that makes a difference.

11/26/2012 6:40:17 PM
Gravatar
Total Posts 18439

Re: Event Calendar Pro - Can't get "Allow Ticket Purchase Without Authentication" to work

Do you have PayPal set as the primary provider like this?:

<add key="Site1-PrimaryPaymentGateway" value="PayPalStandard" />

11/26/2012 7:23:55 PM
Gravatar
Total Posts 39

Re: Event Calendar Pro - Can't get "Allow Ticket Purchase Without Authentication" to work

Yes, I have the following in user.config:

<add key="Site1-PrimaryPaymentGateway" value="PayPalStandard"/>
<add key="Site1-PaymentGatewayUseTestMode" value="false" />
<add key="Site1-PayPalUsePayPalStandard" value="true" />
<add key="Site1-PayPalStandardProductionEmail" value="paypal-email-here" />
<add key="Site1-PayPalStandardProductionPDTId" value="pdt-id-here" />

 

11/27/2012 6:31:21 AM
Gravatar
Total Posts 18439

Re: Event Calendar Pro - Can't get "Allow Ticket Purchase Without Authentication" to work

That is strange. I see the problem on your site but I cannot seem to make that problem happen here.

If you go to Administration > System Information

what version does it say for Event Calendar Pro?

Are you sure that you have no other settings anywhere for any other payment gateways?

 

11/27/2012 6:43:21 AM
Gravatar
Total Posts 18439

Re: Event Calendar Pro - Can't get "Allow Ticket Purchase Without Authentication" to work

In the Settings do you have "All Users" set as Roles Allowed to Register with Promise To Pay Later?

With that setting I can replicate the problem, but I would not recommend that configuration.

11/27/2012 10:23:38 AM
Gravatar
Total Posts 39

Re: Event Calendar Pro - Can't get "Allow Ticket Purchase Without Authentication" to work

Thanks. Un-checking that did the trick for anonymous users. However, FYI, the customer information form still appears when I'm signed in to the site. That's not a show-stopper for us as our ticket buyers won't be authenticated users. We've never used the Promise to Pay Later functionality, so I'm not sure why All Users was checked.

I ran into another issue, however. I can successfully buy a ticket as an anonymous user and pay through PayPal. The payment information gets sent back to mojoPortal. However, instead of getting the Order Details page, I'm getting an Access Denied message. It looks like when an anonymous user buys a ticket, they don't have access to view their order details (e.g.: http://www.anchorcenter.org/Events/OrderDetail.aspx?pageid=75&mid=109&orderid={order-id-here}).

11/27/2012 10:35:08 AM
Gravatar
Total Posts 39

Re: Event Calendar Pro - Can't get "Allow Ticket Purchase Without Authentication" to work

On a related note, the system is using the non-anonyous confirmation e-mail template even though I'm checking out anonymously.

(I thought for a moment it was because I was checking out anonymously with the same e-mail address as my mojoportal account, but I'm actually using two different addresses.)

11/27/2012 3:04:49 PM
Gravatar
Total Posts 18439

Re: Event Calendar Pro - Can't get "Allow Ticket Purchase Without Authentication" to work

Hi,

I think both results are related. The anonymous notification would not have an order detail link. I think what happened in your case is at some point you were logged in and therefore the UserGuid on the cart was populated and remained populated even though you subsequently logged out therefore it sent you the authenticated notification that does have an order detail link but since you were not logged in (or were logged in as a different user) when you clicked the link that page was not allowed. Logging out does not clear the userguid on the cart so it remembers you after that unless you login again as a different user in which case the userguid would get updated to the currently logged in user. The cookie should be a session cookie so if you close the browser it should no longer be valid and a new cart would be established on the next browser session.

I think if you try it without ever logging in you will see it works correctly and there is no link to the order detail in the notification, the email itself is the only notification if we don't have a user attached to the order. As long as we do have a userguid populated we try to keep that so that the order can appear in the user's order history.

I will fix the problem where the form is showing if authenticated, it should not do that if there are no roles allowed to promise to pay later. I'll put out an update for that very soon and post again on this thread when it is ready.

Best,

Joe

11/27/2012 3:10:27 PM
Gravatar
Total Posts 18439

Re: Event Calendar Pro - Can't get "Allow Ticket Purchase Without Authentication" to work

I should add that even though the cookie would be expired by closing the browser, if you ever were logged in and your userguid was on the cart, that existing cart in the database would be revived for you if you log in again and don't already have a cart cookie from another new cart created while anonymous, the new cart cookie would have the id of the existing cart that you had before if it was not a completed order.

So to really test an anonynmous user you should close the browser after logging out to expire your cart cookie, then start a new browser session as an anonymous user and it should get a new clean cart and cookie.

Best,

Joe

11/27/2012 3:16:35 PM
Gravatar
Total Posts 18439

Re: Event Calendar Pro - Can't get "Allow Ticket Purchase Without Authentication" to work

One more update on this. The bug where the form is shown does not happen for all authenticated users, it only happens for Admins so it is more of a minor bug than I initially thought. Authenticated users who are not admins and who are not in any roles allowed to promise to pay later will not see it.

Best,

Joe

11/27/2012 3:43:53 PM
Gravatar
Total Posts 39

Re: Event Calendar Pro - Can't get "Allow Ticket Purchase Without Authentication" to work

Ok, thanks for helping me work through this.

Based on your suggestion, I tested using a fresh incognito Chrome window (so no cookies) and processed another order. This time, I did get the correct anonymous notification. However, I still got an Access Denied error when PayPal redirected me back to the mojoPortal site. It looks like mojoPortal's IPN handler redirected to OrderDetail.aspx and that resulted in an Access Denied.

I believe (but am not certain) that in an earlier version, anonymous users could see the Order Confirmation screen for their order after PayPal sends them back to the mojoPortal site. If that's not the expected behavior, it seems they should be redirected to somewhere other than OrderDetail.aspx if it's going to throw an Access Denied.

 

11/27/2012 4:19:23 PM
Gravatar
Total Posts 18439

Re: Event Calendar Pro - Can't get "Allow Ticket Purchase Without Authentication" to work

Hi,

I agree with you and will look into this tomorrow and follow up after that.

I think the problem is we don't really want to show a result of an order from an anonymous user. If the user comes back to the site we don't know its the same user if its an anonymous request so to be able to show anything we'd have to be wide open where any request could view any order that isn't attached to a site user, all anonymous orders would be queryable by url params by all unauthenticated visitors. So the email has to be the only order confirmation.

I'm thinking we would either have to just redirect to the site home or maybe the page that has the calendar on it.

Best,

Joe

11/27/2012 5:32:12 PM
Gravatar
Total Posts 39

Re: Event Calendar Pro - Can't get "Allow Ticket Purchase Without Authentication" to work

Thanks. I understand your concerns regarding allowing open access to order details. I guess the order id provides security through obscurity, but that's probably not sufficient. Given that, I think it would be best if  users were brought back to the calendar page. Ideally, it would be nice if the system displayed a brief status message (i.e. "Your order has been successfully processed"), so the user knows their order was successful. I could see some confusion if they just get dumped back to the site with no message.

The Anchor Center is itching to start marketing events that are sold using Event Calendar Pro, so if you can provide a quick fix for the Access Denied issue, it would be much appreciated.

Thanks,

Kevin

11/27/2012 6:12:10 PM
Gravatar
Total Posts 39

Re: Event Calendar Pro - Can't get "Allow Ticket Purchase Without Authentication" to work

FYI -- I was able to hack a work-around by using the 301 Redirect Manager to redirect events/OrderDetail.aspx to a generic order confirmation page I created. This should do in a pinch.

11/27/2012 7:01:27 PM
Gravatar
Total Posts 18439

Re: Event Calendar Pro - Can't get "Allow Ticket Purchase Without Authentication" to work

Please don't do that. I will get a fix out to you tomorrow.

301 redirects are permanent and web browsers cache them, I don't think you should do that.

Best,

Joe

11/27/2012 8:07:17 PM
Gravatar
Total Posts 39

Re: Event Calendar Pro - Can't get "Allow Ticket Purchase Without Authentication" to work

I know it's an ugly hack and I probably should have kept it to myself Smile. I was put in a tough spot because we're going to have people booking events at any time and possibly getting confused because they're seeing an error message. I didn't want people re-booking the events or needlessly requesting support. I did turn on DisableCacheFor301Redirects as a safety measure and I'll remove the redirect as soon as a fix is in place.

11/28/2012 9:22:36 AM
Gravatar
Total Posts 18439

Re: Event Calendar Pro - Can't get "Allow Ticket Purchase Without Authentication" to work

Hi,

I've just emailed you the update. Can you verify that it fixes the redirect problem and the problem where the form was visible to admin users? Once you confirm these fixes I'll upload it to the store so everyone can get the update.

Thanks,

Joe

11/28/2012 1:47:46 PM
Gravatar
Total Posts 18439

Re: Event Calendar Pro - Can't get "Allow Ticket Purchase Without Authentication" to work

Thanks for confirming the fix! I've just upoloaded Event Calendar Pro 3.4.1.0 to the store so this update is now available to all customers.

Best,

Joe

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