Support » Plugin: Events Made Easy Frontend Submit » Choosing the payment method

  • Resolved Fred17

    (@f14m07)


    Hello, Franky,

    I would like an event created with EMEFS to automatically allow Stripe payment. I tried to add in myform.php the line
    <?php EMEFS::property(‘use_stripe’); ?>

    But when I look at my event in the backend the Stripe payment method is not checked.

    How can I make all events created with EMEFS involve an online payment with stripe?

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author Franky

    (@liedekef)

    Try <?php EMEFS::property('use_stripe','binary'); ?>

    I’ll update the readme for that (but I’ll wait for your confirmation too).

    • This reply was modified 8 months, 2 weeks ago by Franky.

    Yes the addition of “binary” creates a field with unique yes or no choices. Would there be a way to default this payment method to yes in the backend or frontend ?

    However, the event created still doesn’t have the “stripe” option checked.

    As if i set $props[‘use_stripe’]=1; in eme_events.php

    Plugin Author Franky

    (@liedekef)

    Using the use_stripe+binary thing works fine here. Make sure you have the EME payment options for Stripe set too.
    Also, the next version will detect that you filled out Stripe parameters and by default activate that payment option for a new event too (like it was already the case for some other payment options). This is that fix:
    https://plugins.trac.wordpress.org/changeset/2306477/

    The correction on the next version will be fine, I will test it. Thank you Franky for your reactivity.

    It works fine. Super !

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Choosing the payment method’ is closed to new replies.