Event Payment Options

Home Forums Calendar Products Events Calendar PRO Event Payment Options

Viewing 15 posts - 1 through 15 (of 15 total)
  • Author
    Posts
  • #27219
    Neil Heird
    Participant

    how do I use paypal to charge admission to an event that I dont need eventbrite for?

    #27221
    Jonah
    Participant

    Hi Neil,

    You could simply add a PayPal or custom button linking to PayPal to your single event pages… The single event template is in /wp-content/plugins/the-events-calendar/views/single.php – just make a copy and place in an ‘events’ folder to make changes. You could dynamically set the cost with echo tribe_get_cost();

    Does that help?

    – Jonah

    #27288
    Neil Heird
    Participant

    I;ll give that a try and let you know.

    thanks.

    #27310
    Neil Heird
    Participant

    ok – a couple of questions:

    1. in which directory should I create the new ‘events’ folder for template changes?
    2. will this create a new template from the drop down inside of the event settings page?
    3. if I add a custom button as you suggested, I will need to pass through more info than just the price. Instead, I can redirect to a general Event Registration page, however, any advice on how I can create a drop down for that form that contains the Event Name and/or ID that is dynamically updated each time I make a new event?

    I’m not a hard core programmer, and comfortable figuring some things out on my own, but I would appreciate a nudge in the right direction.

    thanks.

    #27333
    Jonah
    Participant

    Hi Neil, sorry for not being specific enough.

    1. The ‘events’ folder goes in your active theme directory.
    2. No. Only if you create another page template within your theme. Read more here: http://codex.wordpress.org/Pages#Page_Templates
    3. Hmmm, I would suggest taking a look at http://www.advancedcustomfields.com/ – it’s a very powerful custom fields plugin for WordPress that let’s you setup some very cool custom field inputs for events, pages, posts, etc. in a number of different ways. I’m not exactly sure what you need to do for each event but would a simple text input be enough so a link could be pasted in when adding an event that would be the link to the Event Registration page?

    – Jonah

    #27341
    Neil Heird
    Participant

    I don’t think a text input box will work. there could be mis-spellings and that might goof with our event attendance tracking. Instead, my alternative would be to place a ‘regsiter’ link in your single event template, and have that point to a universal page. on this registration page, the user would select the event they are registering for from a drop down, and pricing would be applied based on the event selected. from here, I can handle payment to Paypal using Gravity Forms. Ideally, the options in the event drop down would be dynamically updated based on the events that are loaded via the Events interface – just like Gravity Forms (and others too I suppose) does with post categories.

    I am building a chamber of commerce website that uses s2 member to create paid member options and I have an event plugin to manage both paid and non-paid events. Your plugin works best with my framework – MySiteMyWay – so nice job! But as you know, it is not designed to work directly with Paypal (unless first going through Event Brite – which adds to the transaction costs).

    Because the chamber hosts many events throughout the year, I need a way to track event registrations by members as well as non-members. while it is not neccessary for these 2 plugins to integrates with one another, i do need an efficient way to register attendees for events without the ticketing option via Event Brite. Really surprised you haven’t tackled that one yet. Please accept this post an official feature request.

    #27347
    Jonah
    Participant

    Hi Neil,

    Thanks for your thoughts and suggestions. If you have Gravity Forms you should be able to accomplish this pretty easily using this addon for GF: http://wordpress.org/extend/plugins/gravity-forms-custom-post-types/ – that will enable you to populate a form drop down with a custom post type.

    Does that help?

    – Jonah

    #27362
    Neil Heird
    Participant

    excellent news! I’ll give it a try.

    thanks!

    #27364
    Neil Heird
    Participant

    GF customer post types works great for the event titles! thanks again for the suggestion.

    how could I find the field id info for the event COST? i would like to use GF to logically display pricing based on which event is selected. can i isolate the COST field id and have GF pull that over as well?

    #27382
    Jonah
    Participant

    Hey Neil,

    You can use tribe_get_cost() which by default will get the current posts cost but you can also pass a post ID to it. Does that help?

    – Jonah

    #27415
    Neil Heird
    Participant

    ok – last comment (i hope)…

    I am having difficulty confirming the custom post id for events. isn’t it just ‘Events’ or do I need to use a template tag? the GF support guys have me editing my ‘functions.php’ file using the code snippet below to dynamically update an event dropdown that also displays applicable event pricing – any thoughts on this?

    add_filter(“gform_pre_render”, “populate_dropdown”);
    function populate_dropdown($form){

    //NOTE: replace 221 below with your actual form ID
    if($form[“id”] != 1)
    return $form;

    //NOTE: replace your_post_type below with your actual post type name
    $posts = get_posts( array(“post_type” => “Events”) );

    //Creating drop down item array.
    $items = array();

    //Adding initial blank value.
    $items[] = array(“text” => “”, “value” => “”, “price” => “”);

    //Adding post titles to the items array
    foreach($posts as $post){
    $items[] = array(“value” => $post->post_title, “text” => $post->post_title, “price” => tribe_get_cost());
    }

    //Adding items to field id 1. Replace 1 with your actual product field id.
    foreach($form[“fields”] as &$field)
    if($field[“id”] == 15){
    $field[“choices”] = $items;
    }

    return $form;
    }
    amazing support… thanks a million!

    #27416
    Jonah
    Participant

    Hey Neil,

    The post type is ‘tribe_events’ – try that!

    – Jonah

    #27417
    Neil Heird
    Participant

    it worked!!!! awesome!

    thanks again!

    #27442
    Jonah
    Participant

    Glad to hear Neil, let us know if there’s anything we can do.

    – Jonah

    #978084
    Support Droid
    Keymaster

    This topic has not been active for quite some time and will now be closed.

    If you still need assistance please simply open a new topic (linking to this one if necessary)
    and one of the team will be only too happy to help.

Viewing 15 posts - 1 through 15 (of 15 total)
  • The topic ‘Event Payment Options’ is closed to new replies.