Support

Home Forums Event Espresso Premium EE4 Upgrade – Need Help

EE4 Upgrade – Need Help

Posted: June 21, 2015 at 10:10 pm


Remi Nel

June 21, 2015 at 10:10 pm

Hi,

I upgraded my EE3 site to EE4 (latest version) over the weekend and also switched to the Iced Mocha theme as part of the upgrade. While I had no data issues, I need help with the following configurations:

1. I used the code in the response here to move the ticket selector to the bottom using a custom plugin, however, the ticket selector and date/time are now displayed twice. See example at https://www.sanantonioiia.org/events/events/july-2015-meeting/.

2. Using the same event page above, when I select a ticket for this live event and click the ‘Register Now’ button, it returns me to the Presentation page.

3. On the Invoice/Receipt messages, is there anyway to display it similar to EE3 with a line per ticket/registration and the cost for each person?

4. I know I modified the Stripe description in EE3, but EE4’s Stripe plugin seems different. Once #2 is fixed and I can run transactions, where would I go to change the Stripe description to only include the Event Name and Primary Registrant Name?

Thanks in advance for your help!

Remi


Lorenzo Orlando Caum

  • Support Staff

June 22, 2015 at 8:42 am

Hi Remi, the Iced Mocha theme works a little differently as it comes with pre-installed content templates. Then can be found here:

wp-content/themes/iced-mocha-master/content/espresso

First, remove the filter that may be in place. Next login to your site with an SFTP or FTP client and browse to the location above.

Open up the content-espresso_events.php file. At about line 28, you’ll see the line of code for the ticket selector:

http://cl.ly/image/0K452B2v0d0x

Try moving that further down so its below the ticket details area and save changes.

Next, your site has two event slugs in place /events/events/. By default, Event Espresso creates a virtual page with that slug. Is the WordPress install for this site located in a folder called “events?”

The receipt and invoice templates are now managed through the messages system which can be found in WP-admin –> Event Espresso –> Messages. You may need to paginate (browse) to the second page to have locate them.

The name of the event is generally used for the transaction description. I’ll double-check with a developer and update this support post once I hear back.


Lorenzo


Lorenzo Orlando Caum

  • Support Staff

June 22, 2015 at 9:38 am

Hello again Remi, we use the event name for the transaction description for Stripe.

Thanks!


Lorenzo


Remi Nel

June 22, 2015 at 9:51 am

Hi Lorenzo,

Thanks for the additional information. Yes, my site is located in a folder called “events” causing two event slugs. I’m looking into renaming the folder as the main site redirects to a SharePoint site. Would this be causing he issue that when I select a ticket for this live event and click the ‘Register Now’ button, it returns me to the Presentation page?

Also, for Stripe, can I add the name of the primary registrant in the description sent? If so, which file would contain this?

Thanks!


Lorenzo Orlando Caum

  • Support Staff

June 22, 2015 at 11:01 am

Hi Remi, could you try temporarily changing the events slug: https://eventespresso.com/wiki/change-events-cpt-slug/

Then try refreshing permalinks through your WP dashboard settings and let us know if that helps.

The coding between Stripe for Event Espresso 3 and Stripe for Event Espresso 4 are not similar. However, I can create a request to make the transaction description filterable.


Lorenzo


Remi Nel

June 22, 2015 at 7:13 pm

Hi Lorenzo,

I tried changing the events slug to ‘register’, but it still doesn’t work. https://www.sanantonioiia.org/events/register/july-2015-meeting/

Remi


Remi Nel

June 22, 2015 at 8:48 pm

Hi Lorenzo,

So after additional testing/experimentation, I’ve identified the issue is with the presentation page within Iced Mocha. When I disabled the presentation page, it works just fine, but if I enable the presentation page, it breaks the registration component.

Remi


Dean

June 23, 2015 at 5:24 am

Hi,

I wonder if it is somehow still connected to the events sub folder? I’ve run some tests with Iced Mocha’s presentation page and so far have not been able to recreate the issue. To be fair I haven’t set up a site that has the events subfolder myself, but that is the only thing that seems to be different.


Remi Nel

June 23, 2015 at 8:37 am

Dean,

It is possible, but changing the event slug didn’t seem to help. That said, it’s not a huge deal, I just changed the homepage to an event listing in table view.

A follow-up question on Stripe, currently it appears that the Stripe checkout is pulling in the email for the primary registrant and only passing email and zip to Stripe. Is there a way to require the user to enter the email in the Stripe window (i.e. if an admin is making the payment)? Also, the email is being used as the name within Stripe – can EE4 pass over the primary registrant name and address like EE3 did so we can enable additional payment verifications?

Thanks,
Remi


Lorenzo Orlando Caum

  • Support Staff

June 23, 2015 at 12:33 pm

Hi Remi, the payment flow is based on Stripe checkout which Stripe improves based on handling many transactions each day. The parameter stripeEmail is used:

https://stripe.com/docs/checkout

However, it also looks like data-email may be available for overriding that payment option. Name does not currently appear to be an option for a parameter.


Lorenzo


Remi Nel

June 23, 2015 at 2:09 pm

Hi Lorenzo,

Thanks for that additional information. Which php file would I need to modify to include data-email?

Also, if you can point me to the php file where the Stripe transaction description is defined/set as the meeting name, that would be greatly appreciated as well.

Thanks,
Remi


Lorenzo Orlando Caum

  • Support Staff

June 23, 2015 at 2:54 pm

Hi Remi, that isn’t information that I’m familiar with. Again the payment gateways in terms of coding are different so this would be something that I would need to request as an enhancement from a developer.


Lorenzo


Remi Nel

June 23, 2015 at 3:18 pm

Hi Lorenzo,

Yes, I understand that the payment gateway is different in that EE4 leverages the Stripe Checkout component rather than a customized payment page and I think that it would be great if a future release of the Stripe addon provided the ability to allow the data-email field to be edited (rather than inherit the primary registrant email) and to allow for custom descriptions with shortcodes similar to the messages system.

That said, currently EE4 is passing the primary registrant email as the ‘data-email’ field and assigned the event name to the data-description field with the Stripe checkout process and one of the addon php files should contain something along the lines of:

<form action=”/charge” method=”POST”>
<script
src=”https://checkout.stripe.com/checkout.js” class=”stripe-button”
data-key=”pk_test_slubGG1zLNz6tQ8ped0MARt3″
data-image=”https://s3.amazonaws.com/stripe-uploads/acct_14YUm9KxA7su9h8tmerchant-icon-896206-09275%20CHAP-San%20Antonio-Stacked.jpg”
data-name=”San Antonio IIA”
data-description=[Event Name]
data-email=[Primary Registrant Email]
data-amount=”2000″>
</script>
</form>

I know I keep asking the same question over and over, but in which php file would this code snippet be so I can customize it myself?

Thanks,
Remi


Lorenzo Orlando Caum

  • Support Staff

June 23, 2015 at 3:26 pm

Hi Remi, I understand that you need a solution now but that isn’t something that know offhand. If I had that answer, then I would have gladly shared it.

I’ve create a ticket for this enhancement and I’ll keep and eye on it. Once I have an update, then I’ll share more information in this ticket.

If this is critical to your project, then it may be a better option to restore to the prior version of Event Espresso 3 until this is available.


Lorenzo

The support post ‘EE4 Upgrade – Need Help’ 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.

Event Espresso