Support

Home Forums Event Espresso Premium "Fake" conditional logic solution for Event appearance?

"Fake" conditional logic solution for Event appearance?

Posted: April 12, 2016 at 11:05 pm


Jan_McClintock

April 12, 2016 at 11:05 pm

We need a main registration event to be purchased before other events are visible.

We have a main registration for a very large military reunion, with individual events offered during the reunion. We’re using the Multiple Event Registration Add-on. We need registrants to purchase a main registration BEFORE they can sign up and pay for individual events.

Until now, we’ve used a Gravity Form to collect the mail registrations, but we just realized we cannot use two different PayPal IPNs. In other words, we’re already using one for Gravity Forms and cannot use the same one for EE4.

I would love to use EE4 for the main registration, too, but how do I force the viewer to purchase that main registration event first before they can either view or purchase the rest of the events?

Any suggestions are welcome, thank you!


Lorenzo Orlando Caum

  • Support Staff

April 13, 2016 at 4:42 am

Hi Jan,

Until now, we’ve used a Gravity Form to collect the mail registrations, but we just realized we cannot use two different PayPal IPNs. In other words, we’re already using one for Gravity Forms and cannot use the same one for EE4.

You can use a PayPal account for multiple projects (e.g. Event Espresso and Gravity Forms at the same time).

The key here is that the PayPal IPN should be turned on and then Event Espresso will send the correct information so the registration can be updated.


Lorenzo


Jan_McClintock

April 13, 2016 at 9:45 am

The key here is that the PayPal IPN should be turned on and then Event Espresso will send the correct information so the registration can be updated.

Thanks, but the PayPay IPN is already turned on for the Gravity Form. When you enable a PayPal IPN for a PayPal Standard account, you must input a URL for the page it communicates with. You are only able to input a single URL, which in our case is the one of the Gravity Form.

IF we wanted to use the PayPal IPN for our EE instead, how exactly would we do that, please?

Otherwise, are there any other ways that we could accomplish the objective of showing the main registration first, then the ticket events based on the completion of the main registration? Categories, maybe? Different pages?


Lorenzo Orlando Caum

  • Support Staff

April 13, 2016 at 10:06 am

Hi Jan,

You can definitely use a single PayPal.com account for different ecommerce projects.

Event Espresso sends the URL that PayPal should update with the payment information. You can try this out on your site and it should work.


Lorenzo


Jan_McClintock

April 13, 2016 at 10:19 am

Lorenzo, but it’s not working. That’s why I wrote to you. 🙂 I have PayPal set up in the EE -> Payment Methods, no sandbox, and “Usable from: Front-end registration page” selected. However, the event transactions are not being updated from PayPal. We can see the event registrations and the transactions, but the transactions do not match what PayPal has. Any ideas?


Lorenzo Orlando Caum

  • Support Staff

April 13, 2016 at 10:30 am

Hi, I wasn’t aware that they were not working. This is still valid so lets look into why it isn’t working:

You can definitely use a single PayPal.com account for different ecommerce projects.

First, please ensure that you are on the latest software:

https://eventespresso.com/wiki/ee4-changelog/

Next, could you go to Event Espresso –> Transactions? Then click-through on a couple of the transactions and look at the payments area which appears about mid-way on the page.

Do you see an entry for PayPal on any of the recent transactions?

Also, this may not apply if your site is live but if you are using a maintenance mode plugin, then it may block the IPN.


Lorenzo


Jan_McClintock

April 13, 2016 at 10:45 am

Thanks, Lorenzo. Yes, we’re using the latest version. And no, we’re not using a maintenance mode plugin.

I’m looking at a transaction from yesterday, where the fee was $160. In the transaction, the Payment Amount is $160 but the Payment Total is $0. In PayPal, the payment was clearly made for $160 and shows all the events purchased.

Interestingly, the only transaction in EE4 that shows an actual payment is one where the registrant chose to pay BY CHECK. So this is clearly a problem with PayPal. 🙁


Lorenzo Orlando Caum

  • Support Staff

April 13, 2016 at 10:58 am

Hi Jan,

On those transaction details page, are you seeing an entry for PayPal? It will appear similar to this:

http://cl.ly/0A0m1T3X0i0A

Next, PayPal keeps a log of when it sends the IPN. Could you take a look at this page and follow the steps for getting to that history page?

https://developer.paypal.com/docs/classic/ipn/integration-guide/IPNOperations/

What do the status (http://cl.ly/2y022c0h321d) show for the most recent transactions?


Lorenzo


Jan_McClintock

April 13, 2016 at 11:19 am

Lorenzo, yes, I am seeing the entries for PayPal on the transactions. Here is one example: https://nimbus.everhelper.me/client/notes/share/444780/apn4d85eef0ic7zrboa8

And yes, I see the IPN log on PayPal and the status for the transactions is “sent.”
https://nimbus.everhelper.me/client/notes/share/444786/i2achv14vsqxy1toatu0

And finally, here is the actual PayPal transaction (the same one from above) linked from the IPN log:
https://nimbus.everhelper.me/client/notes/share/444784/rlmxzw6rm8kozx1zmdx8


Lorenzo Orlando Caum

  • Support Staff

April 13, 2016 at 11:44 am

Hello,

Those screenshots were helpful. Could you try resending one of the IPNs (https://nimbus.everhelper.me/client/notes/share/444786/i2achv14vsqxy1toatu0)?


Lorenzo


Jan_McClintock

April 13, 2016 at 11:56 am

I did resend that IPN for the $160 and it appeared in EE! Hurray!

Should I resend the other transactions that were made yesterday?


Lorenzo Orlando Caum

  • Support Staff

April 13, 2016 at 11:59 am

Yes, please go ahead and resend them.

Have you made any recent changes to the site such as any new security plugins?


Lorenzo


Jan_McClintock

April 13, 2016 at 12:15 pm

YES, in fact. The plugin Wordfence just implemented a new firewall feature, which I have now turned OFF. Let’s hope that was the issue. THANK YOU for sticking with me and solving this, Lorenzo. I hope it’s fixed for good. <3


Lorenzo Orlando Caum

  • Support Staff

April 13, 2016 at 1:23 pm

Thanks for letting us know Jan. Please let us know if the issue appears again.

Also, do double-check that your PayPal account is set to use the UTF-8 option:

https://eventespresso.com/wiki/how-to-set-up-paypal-ipn/#encoding


Lorenzo

The support post ‘"Fake" conditional logic solution for Event appearance?’ 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