Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1
  • 2

TOPIC: Free Event Registration

Free Event Registration 13 years 8 months ago #13417

  • rosecardona
  • rosecardona's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 16
  • Thank you received: 0
Hi,

No matter what I do I cannot get an event to work properly as a free event. The registration amount is 0.00 and no fee fields are being used. It always defaults to the first Payment Type, in my case, PayPal Standard. I also set off the Default Payment Type thinking this may be doing it. It does kind of work if I add a Pay Later payment type which I called No Payment, but then the Thank You message does not display and the email confirmation sent to the registrant is blank. I also noticed the URL is calling the helper with a pay later parameter for the message but when I debugged the helper.php script the variables are not set, that is they are null, blank, etc. I have a lot of the technical details as I am an experienced PHP developer (I am the web master for the owner of this account) but I'll leave them unless this is something that will help if this was not fixed in the current release or there is something I am missing here.

I'll proceed with checking other areas on this site and doing some more debugging but naturally I would prefer the developer of this application to provide the answer. I am sure for now I could just delete the payment methods and it may work but I need PayPal Pro again in a while for another event that is paid registration.

Regards,

Joe Geller
Web Master for New Jersey Association For Gifted Children
Rose Cardona - Administrator

Please Log in or Create an account to join the conversation.

Free Event Registration 13 years 8 months ago #13418

  • rosecardona
  • rosecardona's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 16
  • Thank you received: 0
Addendum:

We are on version 2.7.2d - I know, old release and we should upgrade but I'll do that as a last resort. This has been working fine for paid events and I really would rather not go through what I went through on the 2.7.2 release, having to go through 2.7.2a through 2.7.2d which really cost a lot of my time and my client's time. They love this extension and I don't want to get them sour on it again. I love it also but if there is a fix for this I would like to try that first and then I'll upgrade to the current release and test on my test bed before putting it into production. I have to do that for them any way so that will be next. Also, this client is on a Service Level Agreement with me and the more time I spend, the more my hourly rate keeps nose-diving.

Regards,

Joe Geller

Please Log in or Create an account to join the conversation.

Free Event Registration 13 years 8 months ago #13419

  • dthadmin
  • dthadmin's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 5470
  • Thank you received: 3
I don't recall any free event issue at any point. Sounds like you need to submit a ticket with site access and we'll check it out. Any details you can provide would help. If payment is being triggered, is there an amount that recurs each time? What event? Etc...

Please Log in or Create an account to join the conversation.

Free Event Registration 13 years 8 months ago #13420

  • rosecardona
  • rosecardona's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 16
  • Thank you received: 0
Hi,

I downloaded the current release for comparison and after a little more debugging with NetBeans 6.9.1 I found the code that appears to be causing this. When I looked in the current release of the component (2_7_5a_J15) I found this in the event handler, event.php:

2.7.2d code snippet:

169 if($status == -2){
170 if($status == -2){ // free or waiting $paying_amount <= 0

Which I changed to:

169 // if($status == -2){
170 if($paying_amount <= 0){ // free or waiting $paying_amount <= 0
171 if($status == -2){

Thank You message comes up now, albeit with missing tags and I am tackling that now. Also, confirmation email is still blank so that's next. Seeing as the code in 2_7_5a_J15 is the same in that area I am surprised if this is working or as I said I am missing something in the configuration. But the logic does not make sense any way. The first if block checks for -2 then checks again in the second if block? If it was not -2 it would never execute so why is it checking for it again? $paying_amount <= 0 makes more sense though I do not know this code that well.

Since I have a deadline tomorrow and I am in hot pursuit, I'll post the rest and include the scripts for your perusal. I really hope it has been fixed though as I hate patching this. You have fine software here and being a developer myself I know there are always bumps in the road with a complex extension like this and you always do a great job listening to your users. You can see from my recent JED Review how much I think this is the best one out there and I have used almost all of them at one time or another.

Regards

Joe Geller

Please Log in or Create an account to join the conversation.

Last Edit: by rosecardona.

Free Event Registration 13 years 8 months ago #13421

  • rosecardona
  • rosecardona's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 16
  • Thank you received: 0
Hi,

I just saw your post but for now I'll patch and send details. I'll arrange on site if you need but have to have permission of site owner and they are sawing logs at this time of the morning (1:26 AM here and 2:26 AM where they are at) so you can take a look at what triggered this. We won't have any more paid events for a couple of months and I have to have this done within the next several hours. Not fair to just spring this on you and I trust you'll figure it out. Probably something I have set up wrong but bear with me for now so I can meet my deadline. I know you'll get this straightened out for us.

Regards,

Joe Geller

Please Log in or Create an account to join the conversation.

Free Event Registration 13 years 8 months ago #13422

  • rosecardona
  • rosecardona's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 16
  • Thank you received: 0
Hi,

Oops! I had code snippet right in the code I patched but copied and pasted incorrectly and just edited it on the post. That's what I have in there now. Same code is on current version, lines 222 and 223 of event.php script

Regards,

Joe

Please Log in or Create an account to join the conversation.

  • Page:
  • 1
  • 2
Time to create page: 0.104 seconds