Skip to main content

Events with PayPal

ProRequires Events Manager Pro. Compare plans

This is a legacy gateway

PayPal (Payments Standard) is marked Legacy Gateway in Events Manager Pro. Its settings page warns that the payment method has been discontinued by the provider and may stop working without notice. For a new site, or when you next review your payments, use PayPal Checkout or PayPal Advanced from the PayPal add-on instead. They record refunds and disputes through PayPal's current API, need no IPN setup, and support deposits.

This page is for sites that already take payments with PayPal (Payments Standard) and need to understand or adjust it. The customer submits your booking form, is sent to paypal.com to pay, and PayPal reports the result to your site with an Instant Payment Notification (IPN).

Settings​

Go to Events then Payment Gateways and click PayPal (Payments Standard). The settings are on three tabs.

PayPal Options​

SettingWhat it does
PayPal EmailThe email address of the PayPal account that receives the money. It must match the account exactly: a payment reported for a different receiver is rejected.
Include Taxes In Itemized PricesSee PayPal and Displaying Taxes.
PayPal LanguageThe language of PayPal's payment pages, chosen by country. Default lets PayPal decide.
PayPal Page LogoThe address of an image to show on PayPal's payment page. PayPal crops images larger than 150 by 50 pixels.
Border ColorA hex color, such as #CCAAAA, to replace the default blue on the payment page.

API Keys/Notifications​

SettingWhat it does
Gateway ModeLive Site for real payments, or Test Mode (Sandbox). See PayPal Sandbox Mode. This gateway has one set of credentials, with no separate test tab.
API Username, API Password, API SignatureOptional. With them, Events Manager can ask PayPal whether an unpaid booking was paid after all before it expires the booking. Without them, unpaid bookings are not expired.

The three API fields are only shown and editable when wp-admin is loaded over HTTPS. See Safely Saving Gateway API Credentials.

The Payment Notifications section on this tab shows a webhook address. PayPal (Payments Standard) does not use it. It is notified by IPN, described below.

General Options​

SettingWhat it does
Gateway Title, Booking Form Information, QuickPay Payment ButtonThe wording, or button image, visitors see for this payment method.
Success MessageShown while the customer is sent to PayPal.
Return URLWhere PayPal sends the customer after paying. Leave it empty to use the Events Manager thank you page shown under the field.
Thank You MessageShown on that thank you page.
Reserved unconfirmed spaces?Yes holds a booking's spaces while it is waiting for payment.
Manually approve completed transactions?Leaves paid bookings at Pending for you to approve. Bookings must also need approval in your booking settings.
Cancel URL, Payment Cancelled MessageWhere PayPal sends a customer who cancels.
Unpaid Bookings Expiry, Expired Booking ActionOnly shown when an expiry was already saved for this gateway on an earlier version. See Unpaid bookings.

Payment notifications (IPN)​

PayPal confirms each payment by calling your site. Events Manager sends PayPal the address to call with every payment, so there is nothing to paste into your PayPal account. Instant Payment Notifications do need to be enabled in the PayPal account's settings. The address Events Manager uses looks like this:

https://example.com/wp-admin/admin-ajax.php?action=em_payment&em_payment_gateway=paypal

Each notification is sent back to PayPal for verification before it is trusted, and it must be for your PayPal Email and in your Events Manager currency.

PayPal reportsResult
CompletedThe payment is recorded and the booking approved, or set to Pending if you approve payments manually or the amount is less than the price.
PendingA pending transaction is recorded. The booking keeps waiting.
RefundedA refund of the full price cancels the booking. A smaller refund sets it to Pending, without an email.
Reversed (a chargeback)The booking is cancelled. If the reversal is later canceled, the booking is not restored automatically.
DeniedThe booking is cancelled.

If a payment completes for a booking that no longer exists, for example because it expired first, Events Manager emails the PayPal Email address with the subject Unprocessed payment needs refund.

What the customer sees​

After submitting the booking form the customer is sent to paypal.com. PayPal lists one line per ticket type. If the booking has a coupon, discount or surcharge, PayPal is sent a single line for the whole booking instead, because PayPal Standard can't itemize those accurately.

When the customer cancels at PayPal they come back to your Cancel URL. The booking is not deleted at that moment: it stays at Awaiting Online Payment, no message is shown, and a Multiple Bookings cart is not restored. The customer can use Resume Payment in My Bookings, or Pay now if the payment page is on.

Unpaid bookings​

Expiring unpaid bookings needs two things on this gateway: an expiry already saved for it, and the API credentials above. The Unpaid Bookings Expiry and Expired Booking Action fields appear on the General Options tab only if an expiry was saved on an earlier version of Events Manager Pro (where the setting was called Delete Bookings Pending Payment). On a site where it never was, the fields are hidden and unpaid PayPal Standard bookings stay until you remove them.

Where an expiry is in force, Events Manager searches PayPal for a payment before acting. A payment it finds is processed as if the notification had arrived. If none is found, the booking is deleted or cancelled according to Expired Booking Action. If PayPal can't be asked, nothing is done.

What it does not support​

  • Deposits and balance payments. Use the PayPal add-on.
  • Bookings added by an admin in wp-admin.
  • Separate test credentials or Limited Test Mode.

It does work in Multiple Bookings Mode and, from Pro 3.10, on the payment page.

Sites in Legacy Mode​

A site updated from a version of Pro older than 3.2 can still be running gateways in Legacy Mode, which shows a notice with a Deactivate Legacy Mode button on the gateways screen. In that mode this gateway has one long settings page with different labels (PayPal Mode, Delete Bookings Pending Payment) and shows the IPN address itself. The newer PayPal add-on, the payment page and partial payments are not available until Legacy Mode is switched off.