Support

Home Forums Event Espresso Premium Possible to make New Payment method default to OFF?

Possible to make New Payment method default to OFF?

Posted: May 22, 2022 at 9:43 am


Daniel

May 22, 2022 at 9:43 am

I installed PayPal Express Checkout Smart Payment Buttons (with Venmo) https://eventespresso.com/product/eea-paypal-smart-buttons/

I also have Payment Methods Pro installed.

When I activated the new payment method, it became available by default to all events. I would like to make the activation of a payment method plugin default to OFF for all events. The reason is that I have about 100 active set of events for sale and I only want to test the payment method on a few of those.

In fact, I am reviewing several new payment gateway plugins so I would love to know of a way to default to OFF.

Thank you!
D


Sam

  • Support Staff

May 23, 2022 at 4:30 am

Hi Daniel,

Thank you for contacting us today.

You need to go to EE > Payment method > There you can go to the payment method which you want to use in one event only for test.

Then scroll down to “Available By Default” option and set the option to “No” then update the payment settings: https://prnt.sc/CYRY6VeAcwWZ

Then you need to go to test event and there you can make the payment method on so that you can test the payment on that event only: https://prnt.sc/GhVw4eVI0o8j

Please feel free to ask if there is any other questions.

Thank you.


Daniel

May 23, 2022 at 6:57 am

Hi Sam,
I think you misunderstood my request.

I want to set the DEFAULT setting to OFF for when I INSTALL the Express Payment method for ALL events where I have a Payment Methods Pro Plugin also set up.

Thank you for trying to help but you have explained how to turn off a single payment method for an already INSTALLED plugin.

Any help with how do I configure a new Payment method plugin to default to OFF before installing it?


Tony

  • Support Staff

May 23, 2022 at 1:47 pm

Hi Dnaiel,

In short, install the payment method, activate it and then set the ‘Available By Default’ option Sam mentioned above to No.

The way the Payment Methods Pro add-on (PMP for short) works is it pulls in all payment methods.

Removes any that are NOT set to be active by default.

Then pulls in the event-specific settings (the PMP settings on the event) set within extra_meta and sets up any ‘payment method exceptions’ (meaning any payment method that have been set to display on the event itself and saved).

So the option Sam mention should do what you are asking, the payment method will display on the events for a few seconds when you initially activate it but once you set the ‘Available By Default’ option to No, it should no longer be visible on the events…. unless you saved an event with it set to be active.


Daniel

May 23, 2022 at 3:45 pm

Got it! Thanks for the clarification. I was afraid to “activate” again because it does actually create the payment method as ACTIVE in the first place – meaning, there is no way to do what I described above “Default to OFF before INSTALL”.

In any case, the first time through I checked event checkout immediately after installing and I was surprised to see the new method populating on every single event!

When I went to update it, the UI wouldn’t let me proceed. Then I realized the API key fields needed to be filled in. But, I wasn’t sure if it was ok to have two payment methods connected to Paypal (Pro and Express).

So, it sort of works – the installed methods are available for a small window of time applied to every event until you update and set it to default to OFF.

So, bug report / feature request to save some poor soul future problem: default PMs to OFF and only switch them on when requested. This is to avoid that small window of time (which could grow to a large window of time if the plugin installer is not careful) where a badly configured PM can be deployed on a site!

Please help me understand if I have mis characterized this “small window of time where there could be a misconfigured PM on every event”

TY!
D


Joao Victor

  • Support Staff

May 24, 2022 at 6:56 pm

Hi there!

Thanks for your suggestion, but as you mentioned you’re testing the payment methods, everything that’s under testing should go to a staging environment where you won’t have real visitors. The live environment should have the website/plugins already tested and technically working. Please, check with your hosting provider if they offer the staging service.

Hope it makes sense!

The support post ‘Possible to make New Payment method default to OFF?’ 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