Posted: October 15, 2017 at 7:41 pm
|
Hello! I have been using Event Espresso for almost a year now, and have hired one of your recommended developers to create a custom plugin for Event Espresso for the organization I represent. They have invested a considerable amount of time to develop this plugin for me, but there are two errors that my developer cannot seem to overcome due to what he believes may be limitations within the Event Espresso coding. They are fairly important issues that I’m hoping to either find a solution for or a workaround, and was hoping you could help me. Let me first give you a background of my organization’s process flow and the challenge for which I hired the developer, to help you understand at which point in the process the errors are occurring. General Process: My members-only organization holds various events (fieldtrips, outings, gatherings) for families of young children. Members are encouraged to attend a monthly members meeting whereby they are able to register and pay for these events. Registrations for these events are on a first-come-first served basis and members are given priority based on the order by which they arrive at the meeting. Members who do not attend the monthly meetings only have the ability to register for events to the extent there is any remaining capacity. We have been adopting to Event Espresso to transform this process from a manual one to a fully electronic one. Issue that Custom Developed Plugin is Meant to Solve: The plugin is designed to automate the prioritization phase of the event registration approval process based on a member’s arrival to the meeting, and to automatically process registrations (or put them on a waitlist if an event has reached its capacity). Current process that the Custom Plugin Follows: There are two parts to the plugin – “Business Process #1” and “Business Process #2”. When BP#1 runs, it takes all current paid members registered on our website (through our membership plugin – MemberPress) and creates an approved registration to a Monthly meeting event in Event Espresso. Then, when members arrive at the meeting, we check them in using the Event Espresso Mobile app. BP#1’s primary purpose was to eliminate the need for a member to register for the monthly meeting event in advance. Business Process #2 is the more complicated process of the plugin, and the one in which we have a few critical issues. This is the part of the process that performs the arrival prioritization and processes event pre-registrations. Here is the overview of the BP#2 process: • Prior to the monthly meeting, members pre-register (selecting a “pre-registration” ticket type) for the various events being showcased with said monthly meeting. All pre-registration tickets default to “Not Approved”. Now for the problems we are having: 1. Error #1 – When an event reaches capacity as a result of executing BP#2, and a member that has a registration in “declined” (waitlisted) status then goes to pay for their other events that they have been approved, the payment page errors out and won’t allow a successful payment through stripe. Here are the errors: a. Error Message #1 (which shows immediately upon the said member clicking on their payment link to be brought to the payment page). “We’re Sorry. It appears that the event you were about to make a payment for has sold additional tickets since you first registered, and there are no longer enough spaces left to accommodate your selections. You may continue to pay and secure the available space(s) remaining, or simply cancel if you no longer wish to purchase. If you have already made a partial payment towards this event, please contact the event administrator for a refund.” 2. Error #2 – Thanks in advance! |
Hi Marshall, I can recommend that the developer do a pull request to add whatever hooks they need to complete the project. If the hook follows Event Espresso coding standards it can be given priority to be merged into core so it can be included in an upcoming release. The pull request can be done via Github: |
|
|
Thanks, Josh. I’ll have him submit. In the meantime, I’m curious if there may already be an available hook that we aren’t seeing. In the case I’ve noted above, we believe that if there is a hook that removes a member’s declined registrations from the picture while processing payment (through the website pointed to from the payment link in the global payment email), we will be able to solve both situations at once. |
Hi there, Hooks alone don’t remove anything, they are points where you can inject functions to do things like remove a declined registration. |
|
The support post ‘Payment processing and sold out event issue with EE custom plugin’ is closed to new replies.
Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.