Pay to Post
ProSince 3.10Requires Events Manager Pro. Compare plans
Events Manager Pro can charge people who submit events from the front end of your site. Organizers pay a fee to post an event, and can pay a little more to have it featured. Organizers who post often can buy posting credits in packs and spend one credit per event instead of paying each time.
It suits any site that lists other people's events: a local "what's on" site, a community calendar, a venue that rents its rooms out, or a club directory. Organizers pay on the same payment page your bookings use, and manage everything from their My Events page.
How it works
- An organizer fills in your event submission form as usual. At the bottom, the form says what posting costs and offers to feature the event.
- When they submit, the event is saved as a draft and they go straight to the payment page.
- Once the fee is paid, the event goes ahead: it is published, or sent for your review if their events normally need approving. A featured event is marked as featured at the same time.
- If they leave without paying, the event stays a draft. They can pay for it later from My Events.
- An organizer with posting credits can spend one instead, and the event goes ahead straight away, without the payment page.
Site administrators, and anyone else who can edit other people's events, always post for free.
Before you start
Pay to post works with the front-end event submission form. If you don't have one yet, see Accepting User-Submitted Events. You'll want:
- A page with the event form. Place the
[event_form]shortcode on a page, for example "Submit an event". - A My Events page. This is Events Manager's Edit events page, chosen in Events then Settings then Pages. It's where organizers see their events, credits and what they still have to pay.
- The payment page switched on. Go to Events then Settings then Bookings then Payment Gateway Options and set Payment page to Yes. See the payment page.
- A gateway that can take posting fees. Stripe (Checkout and the card form), PayPal (Checkout and Advanced card fields) and Square (Checkout and the card form) can all take them. The settings box lists the gateways on your site that can. Other gateways, including Offline, can't. See the payment gateways overview.
Organizers need an account that can submit events, the same as without pay to post.
Settings
The settings are in Events then Settings then Bookings then Pay to Post.
| Setting | What it does |
|---|---|
| Charge to post events | Turns pay to post on. |
| Fee to post an event | The price of one listing. Set it to 0 if posting is free and you only charge to feature events. |
| Fee to feature an event | The extra price to feature an event. Set it to 0 if you don't sell featured events. |
| Credit packs | One pack per line, written as credits|price. For example, 3|36 sells 3 credits for 36, and 10|100 sells 10 for 100. Leave it empty if you don't sell credits. |
| Who pays | Users whose events need review before they are published (the default): organizers who can publish their own events post for free, and everyone else pays. Everyone except users who can edit others' events: every organizer pays, and only you and your editors post for free. Guests pay too, when guest submissions are allowed. |
| Credits page | Optional. My Events already shows each organizer's credits, so you only need this if you'd like a separate page. You can also place the [em_posting_credits] shortcode on any page. |
A paid event follows your normal publishing rules. If an organizer's events need your approval, a paid event waits for it like any other submission, and is published when you approve it. If you'd rather paid events go live straight away, give that role the publish_events capability (see User Capabilities) and choose Everyone except users who can edit others' events under Who pays.
What organizers see
Submitting an event
The bottom of the event form shows what posting costs, a link to buy credits, and the option to feature the event.
Organizers who have credits can choose between spending one and paying the fee:
Paying
Submitting saves the event as a draft and opens the payment page. The summary lists what's being paid for, with the posting fee and the feature on lines of their own, and the details say what the order is for.
Once the payment goes through, the page confirms it, the event goes ahead, and a button takes the organizer back to My Events. They also get a receipt by email.
If the card is declined, the organizer can try again with another card on the same page. If they leave, the event stays a draft until it's paid for.
My Events
Above their events, organizers see a panel with their posting credits, the packs you sell, any events waiting for their fee (each with a button to pay), and a history of the credits they bought and used.
In the list of events, featured events have a star. A published event that isn't featured has a link to feature it, which opens the payment page for the feature fee. A draft waiting for its fee is labeled "Awaiting posting fee", with a link to pay.
Editing an event shows whether it's featured:
Or offers to feature it, for a published event that isn't:
Posting credits
Credits are bought from the panel on My Events (or the credits page), and paid for on the payment page like a posting fee. Each credit posts one event. The credit history shows every credit bought, spent, refunded or adjusted by you.
Showing featured events
Featured events can be listed on their own with the featured attribute of the events list shortcode:
[events_list featured=1]
featured=0 lists only events that aren't featured. In event formats and templates, the #_EVENTFEATURED placeholder outputs "Yes" for a featured event and nothing otherwise.
Inviting organizers with claim links
You can also add an event yourself and invite its organizer to take it over. Save the event as a draft, and send the organizer a claim link from the event's edit screen. They claim the event, check and edit it on your event form, and it's published once they pay the posting fee. See Claim Links, and Building a Listings Site with AI Agents to have an AI agent find events, list them and invite their organizers for you.
Managing orders and credits
Go to Events then Posting credits to see the recent posting orders, with who paid, what they paid for, the amount paid and the status. Each one links to its event.
The same page lets you add credits to an organizer, or take them away, by entering their username, email or user ID, the number of credits (a negative number takes credits away) and a note. The note appears in the organizer's credit history, so it's a good place to say why, such as a refund or a promotion.
Refunds
Refunding a posting order in your payment gateway records the refund on the order, but leaves the event as it is: it stays published, and featured if the order featured it. Credits bought in a refunded pack stay in the organizer's balance. If you want to take them back, unpublish or edit the event, and take the credits away on the Posting credits page. A refunded order is marked Refunded after fulfillment in the list.
Emails
When a posting order is paid, the organizer gets a receipt with the subject "Payment received:" followed by what they paid for, such as "Payment received: Posting fee for Sunset Flow" or "Payment received: 3 posting credits". The event emails you already have work as before: when a paid event is published, the address in your event submission settings gets Events Manager's usual "Published Event" email, and an event that needs your approval sends the usual notifications.
For developers
Pay to post keeps posting orders as bookings that aren't for an event (class EM\Payments\Order), so they go through the same gateways and payment page as bookings.
Filters:
em_posting_fees_enabled: whether pay to post is on.em_posting_fees_user_pays: whether the current user pays to post a given event.em_posting_fee: the fee forpostorfeature.em_posting_credit_packs: the packs on sale.em_posting_credits_page_data: the data the credits panel and page show.em_posting_order_can_manage,em_posting_order_email_messagesandem_posting_order_output: an order's permissions, receipt and placeholders.em_checkout_summary_itemsandem_checkout_detail_rows: what the payment page's summary and details list. An order fills them fromOrder::get_checkout_items()andOrder::get_checkout_details().
Actions:
em_posting_order_created: when an order is created and waiting for payment.em_posting_order_fulfilled: when an order is paid and its event, feature or credits are given.em_posting_credits_added: when credits are added to or taken from a balance.
Order placeholders for receipts: #_ORDERLABEL, #_ORDERTYPE, #_ORDERAMOUNT, #_ORDERCREDITS, #_ORDEREVENTNAME and #_ORDEREVENTURL.
Template files you can override by copying them to yourthemefolder/plugins/events-manager-pro/:
posting-credits/panel.php: the credits panel.posting-credits/my-events.php: My Events with the panel, around Events Manager's own events list.posting-credits.php: the separate credits page.checkout/parts/summary.phpandcheckout/parts/booking-details.php: the payment page's summary and details, shared with bookings.