Support » Plugin: Events Made Easy » payment redirection

  • Resolved Fred17

    (@f14m07)


    Hi Franky,
    I had set up EME to automatically redirect to the payment page after a membership or reservation. It works fine for a membership but I have a problem with bookings since mid-January it seems.
    You have to select the payment methods in the RSVP tab of an event as it is not selected by default.
    Is there any way for events to make a default payment selection? Whether the event is created in the admin interface or EMEFS?
    Frédéric

    PS: I had not noticed this change because our activities are very low in winter

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter Fred17

    (@f14m07)

    I tested this solution in the functions.php:

    function my_emefs_event_insert_filter($event){
            $event['event_properties']['use_stripe'] = 1;
        return $event;
    }
    add_filter('emefs_event_insert_filter','my_emefs_event_insert_filter');
    add_filter('eme_event_insert_filter','my_emefs_event_insert_filter');

    It’s ok for the scheduled events with EMEFS but not in the backend

    Plugin Author Franky

    (@liedekef)

    Well, I did remove the automatic selection of payment methods for new events, since it was not configured correctly for all payment methods (and I even forgot some methods …). And even more: some people just didn’t want all activated payment methods for all events.
    I’ll think about adding an option to select the payment methods by default.
    Next to that, the filter above works but for eme it is “eme_insert_event_filter” not “eme_event_insert_filter”. But I do see the confusion with EMEFS here 🙂

    Thread Starter Fred17

    (@f14m07)

    Thanks for the correction. It works. Have a nice day

Viewing 3 replies - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.