<commit_before># PayPal Payments #
 
Version: 1.0
Author: [<NAME>](http://makenosound.com)  
Build Date: 2009-07-10
Requirements: Symphony 2.0.2+

The *PayPal Payments* extension allow you to reroute standard Symphony events
to PayPal Standard Payments.

## Installation ##
 
1. Upload the `paypal_payments` folder in this archive to your Symphony
	 `extensions` folder.
 
2. Enable it by selecting the *PayPal Payments*, choose Enable from the
	 with-selected menu, then click Apply.
 
3. Go to "System" -> "Preferences" and enter your merchant email/ account ID
	 under the *PayPal Payments*.

## Usage ##

The extension includes an event filter that handles the redirection
and a "Save IPN data" Event that logs transactions and reconciles returned
data with the newly created entry.

### Filter: Reroute to PayPal ###

The *Reroute to PayPal* filter lets you pass data to PayPal’s server by mapping fields to most of the variables/fields listed in [Website Payments Standard documentation][1]. The example below shows how you would map `amount`, `first-name`/`last-name` and `description` to their PayPal equivalents:

	<form action="" method="post">
		<input name="fields[amount]" type="text" />
		<input name="fields[first-name]" type="text" />
		<input name="fields[last-name]" type="text" />
		<textarea name="fields[description]"></textarea>
<commit_msg>Updated README and version requirement.<commit_after># PayPal Payments #
 
Version: 1.0  
Author: [<NAME>](http://makenosound.com)  
Build Date: 2009-07-10  
Requirements: Symphony 2.0.4+

The *PayPal Payments* extension allow you to reroute standard Symphony events
to PayPal Standard Payments.

## Installation ##
 
1. Upload the `paypal_payments` folder in this archive to your Symphony
	 `extensions` folder.
 
2. Enable it by selecting the *PayPal Payments*, choose Enable from the
	 with-selected menu, then click Apply.
 
3. Go to "System" -> "Preferences" and enter your merchant email/ account ID
	 under the *PayPal Payments*.

## Usage ##

The extension includes an event filter that handles the redirection
and a "Save IPN data" Event that logs transactions and reconciles returned
data with the newly created entry.

### Filter: Reroute to PayPal ###

The *Reroute to PayPal* filter lets you pass data to PayPal’s server by mapping fields to most of the variables/fields listed in [Website Payments Standard documentation][1]. The example below shows how you would map `amount`, `first-name`/`last-name` and `description` to their PayPal equivalents:

	<form action="" method="post">
		<input name="fields[amount]" type="text" />
		<input name="fields[first-name]" type="text" />
		<input name="fields[last-name]" type="text" />
		<textarea name="fields[description]"></textarea>

{'fraction_non_alphanumeric': 0.1055878084179971, 'fraction_numerical': 0.012336719883889695, 'mean_word_length': 4.696280991735537, 'pattern_counts': {'":': 0, '<': 17, '<?xml version=': 0, '>': 19, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3046793', 'n_tokens_mistral': 832, 'n_tokens_neox': 755, 'n_words': 332}