The following errors have occurred:
The requested route 207 could not be mapped to any registered modules.
EE_Module_Request_Router - resolve_route - 139
Direct access to the registration checkout page is not allowed.
InvalidCheckoutAccess - checkoutAccessIsInvalid - 68
When posting code it’s much better to create a gist or use something like pastebin and include the link here as its much easier to view.
i have a registration page that is password protected (from the way we have built it in version EE3
What shortcode is in use on this page?
this page is under the EE4 settings as well
So the password protected page is set as the ‘Registration Checkout Page’ within EE4’s critical pages?
when i use the “espresso_event_reg_button” it gives me the link to the event and not the registration page
You can’t link directly to the checkout page with EE4 as you need to submit your ticket selections to ‘cart’ before you hit the checkout page.
You would need to load the ticket selector on the page rather than a button, take a look into the espresso_ticket_selector( $event ) function, you pass that function the EE_Event rather than just the ID.
That should load the ticket selector for you event, your use then select tickets from that page and submits the selection which will the direct the user to the cart.
None of the EE3 links will work with EE4 as it works in a completely different way. You need to use the ticket selector and submit the selection to the single page checkout (SPCO for short) which is the ‘Registration Checkout’ page.
Using the billing/account question radio button and provide the requested details.
Viewing 3 reply threads
The support post ‘Custom event code’ 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.
Support forum for Event Espresso 3 and Event Espresso 4.