Extension:IpbWiki PayPal

The IpbWiki PayPal extension will create a PayPal-Button, which leads users to your PayPal-Donation-Site. This (simple) PayPal extension could be used for the donations-sites, if therefore you have a PayPal-Account.


 * PayPal button is defined through the means of a parser hook which means you do not have to enable HTML!
 * Support for multiple PayPal buttons through 1 tag.



Installation
 Download the extension: see above Create a new site in your extension-folder, named PayPal.php with following content:

';  return $output; }  Replace the "THIS_SHOULD_BE_REPLACED"-section with your code, brought to you by PayPal

(should be something like -BEGIN PKCS7-MIIHNwY (.........)-END PKCS7-).

Open your LocalSettings.php, and insert at the end of file:  </ol>

Internationalization issues

 * Note: Example code uses references for German solution. For US English alternative.

Substitute:
 * https://www.paypal.com/de_DE/i/btn/x-click-but04.gif with
 * https://www.paypal.com/en_US/i/btn/x-click-but21.gif

and
 * alt='Zahlen Sie mit PayPal - schnell, kostenlos und sicher!'  with
 * alt='Make payments with PayPal - it's fast, free and secure!' 

Usage

 * translates to the default PayPal button (button 1)
 * 2 translates to button 2
 * 2 description translates to button 2 and additionaly the text 'description' is placed next to the PayPal button.
 * description translates to the default button (button 1) and additionaly the text 'description' is placed next to the paypal button.

IPN Support (in progress)
Instant Payment Notification, included with Website Payment products, Express Checkout, and Standard Checkout, is available to PayPal Premier and Business members. Instant Payment Notification allows you to integrate your PayPal payments with your website's back-end operations, so that you get immediate notification and authentication of any PayPal payments and disputes you may receive.

The IPN functionality will be optional and enabled by setting $wgPayPalIPN to true in LocalSettings.php. When enabled it will allow a total amount donated to be display in the button and there can be any number of buttons each associated with their own total. The amount will be stored in the database and will be automatically updated upon receipt of IPN data when verified.

Task list

 * IPN support