How to set up PayPal Payment notification PDF Print E-mail
Monday, 22 March 2010 20:27

I noticed that a lot of people couldn't get automatic PayPal notification to work properly. Mainly, because there is no documentation for mylansite (at the moment). To make sure people get this right in future and to avoid you a lot of trouble (and to bridge time until proper documentation exists), I am creating this article for you.

For those who are not aware of this feature: You can directly accept payments for tickets using PayPal. Once a visitor to your website has paid for his tickets, PayPal can send an IPN (Instant Payment Notification) back to your website. mylansite will read and verify this notification and - if everything is ok - mark the participant as paid and enable him to use the other tickets he bought (if he bought more than one).

A few steps are needed for this to work correctly. If you follow this guide step by step, you won't have any problems.

1. Set all the necessary values in your event details

  1. Log in to the Administrator back end of your Joomla! installation.
  2. Go to Components, myLANsite Events, Events
  3. Edit the current event
  4. Make sure you entered a valid code for the Country. A list of valid ISO 3166-1 country codes can be found here:
    http://www.iso.org/iso/country_codes/iso_3166_code_lists/english_country_names_and_code_elements.htm
  5. Make sure you entered a valid code for the Currency. A list of valid ISO 4217 currency codes can be found here:
    http://www.iso.org/iso/support/faqs/faqs_widely_used_standards/widely_used_standards_other/currency_codes/currency_codes_list-1.htm
  6. Obviously, you also need to make sure that your currency is accepted by PayPal too:
    https://www.paypal.com/cgi-bin/webscr?cmd=p/sell/mc/mc_intro-outside

  7. Save the event

2. Configure the PayPal options for the events component

  1. Log in to the Administrator back end of your Joomla! installation
  2. Go to Components, myLANsite Events, Configuration
  3. In the Recipient E-mail field you have to enter your PayPal account email address
  4. Choose whether or not you want to be notified when transactions fail and the email address you would like to be notified on
  5. IMPORTANT: By default, the events component is using the PayPal sandbox site. This is useful for your testing. On a live site though, you HAVE to change the Validation URL to www.paypal.com, otherwise it won't work!

  6. Save the configuration

3. Tell PayPal where to send your Instant Payment Notification

PayPal doesn't automatically know where to send the notification. You have to set it up.

  1. Log in to the Administrator back end of your Joomla! installation
  2. Go to Components, myLANsite Events, Configuration
  3. Take a note of Your IPN URL - copy it to your clip board
  4. Go to http://www.paypal.com/ and log in with the account you configured in the Recipient E-mail field
  5. Click on My Account at the top
  6. Click on Profile
  7. Click on Instant Payment Notification Preferences


  8. Click Edit Settings and enter the IPN URL you copied in Step 3 in the Notification URL field
  9. Make sure you select the Receive IPN messages (Enabled) option

  10. Save

If you follow the above steps, PayPal notification should work without any hassles! If you have troubles, feel free to post in the Forum.

If you post in the forum, please provide as much detail as possible:

  • Does the payment show up in the Payments list?
  • If it does show up, what's the value in the Validation column and what Status Text is associated?

Have fun!

Last Updated on Monday, 22 March 2010 21:26