PayPal Donations - Version 1.4

Version Description

Download this release

Release Info

Developer artstorm
Plugin Icon 128x128 PayPal Donations
Version 1.4
Comparing to
See all releases

Code changes from version 1.3.3 to 1.4

Files changed (2) hide show
  1. paypal-donations.php +251 -5
  2. readme.txt +5 -2
paypal-donations.php CHANGED
@@ -3,7 +3,7 @@
3
  Plugin Name: PayPal Donations
4
  Plugin URI: http://coding.cglounge.com/wordpress-plugins/paypal-donations/
5
  Description: Easy and simple setup and insertion of PayPal donate buttons with a shortcode or through a sidebar Widget. Donation purpose can be set for each button. A few other customization options are available as well.
6
- Version: 1.3.3
7
  Author: Johan Steen
8
  Author URI: http://coding.cglounge.com/
9
  Text Domain: paypal-donations
@@ -49,6 +49,238 @@ class paypal_donations {
49
  'CZK' => 'Czech Koruna',
50
  'ILS' => 'Israeli Shekel',
51
  'MXN' => 'Mexican Peso');
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
52
  /**
53
  * Constructor
54
  *
@@ -149,6 +381,8 @@ class paypal_donations {
149
  // More Settings
150
  if (isset($pd_options['currency_code']))
151
  $paypal_btn .= '<input type="hidden" name="currency_code" value="' .$pd_options['currency_code']. '" />';
 
 
152
 
153
  // Settings not implemented yet
154
  // $paypal_btn .= '<input type="hidden" name="amount" value="20" />';
@@ -157,7 +391,7 @@ class paypal_donations {
157
  if ( $pd_options['button'] == "custom" )
158
  $button_url = $pd_options['button_url'];
159
  else
160
- $button_url = $this->donate_buttons[$pd_options['button']];
161
 
162
  $paypal_btn .= '<input type="image" src="' .$button_url. '" name="submit" alt="PayPal - The safer, easier way to pay online." />';
163
  $paypal_btn .= '<img alt="" src="https://www.paypal.com/en_US/i/scr/pixel.gif" width="1" height="1" />';
@@ -197,6 +431,7 @@ class paypal_donations {
197
  $pd_options['button_url'] = trim( $_POST['button_url'] );
198
  $pd_options['currency_code'] = trim( $_POST['currency_code'] );
199
  $pd_options['amount'] = trim( $_POST['amount'] );
 
200
  update_option($this->plugin_options, $pd_options);
201
  $this->admin_message( __( 'The PayPal Donations settings have been updated.', 'paypal-donations' ) );
202
  }
@@ -261,6 +496,7 @@ class paypal_donations {
261
  <fieldset><legend class="hidden">PayPal Button</legend>
262
  <?php
263
  $custom = TRUE;
 
264
  if (isset($pd_options['button'])) { $current_button = $pd_options['button']; } else { $current_button = 'large'; }
265
  foreach ( $this->donate_buttons as $key => $button ) {
266
  echo "\t<label title='" . attribute_escape($key) . "'><input style='padding: 10px 0 10px 0;' type='radio' name='button' value='" . attribute_escape($key) . "'";
@@ -268,18 +504,28 @@ class paypal_donations {
268
  echo " checked='checked'";
269
  $custom = FALSE;
270
  }
271
- echo " /> <img src='" . $button . "' alt='" . $key . "' style='vertical-align: middle;' /></label><br /><br />\n";
272
  }
273
 
274
  echo ' <label><input type="radio" name="button" value="custom"';
275
  checked( $custom, TRUE );
276
  echo '/> ' . __('Custom Button:', 'paypal-donations') . ' </label>';
277
  ?>
278
- <input type="text" name="button_url" value="<?php echo $pd_options['button_url']; ?>" class="regular-text" />
279
- <p><span class="setting-description"><?php _e( 'Enter a URL to a custom donation button.', 'paypal-donations' ) ?></span></p>
280
  </fieldset>
281
  </td>
282
  </tr>
 
 
 
 
 
 
 
 
 
 
283
  </table>
284
 
285
  <p class="submit">
3
  Plugin Name: PayPal Donations
4
  Plugin URI: http://coding.cglounge.com/wordpress-plugins/paypal-donations/
5
  Description: Easy and simple setup and insertion of PayPal donate buttons with a shortcode or through a sidebar Widget. Donation purpose can be set for each button. A few other customization options are available as well.
6
+ Version: 1.4
7
  Author: Johan Steen
8
  Author URI: http://coding.cglounge.com/
9
  Text Domain: paypal-donations
49
  'CZK' => 'Czech Koruna',
50
  'ILS' => 'Israeli Shekel',
51
  'MXN' => 'Mexican Peso');
52
+ var $localized_buttons = array('en_AL' => 'Albania - U.K. English',
53
+ 'en_DZ' => 'Algeria - U.K. English',
54
+ 'en_AD' => 'Andorra - U.K. English',
55
+ 'en_AO' => 'Angola - U.K. English',
56
+ 'en_AI' => 'Anguilla - U.K. English',
57
+
58
+ 'en_AG' => 'Antigua and Barbuda - U.K. English',
59
+ 'en_AR' => 'Argentina - U.K. English',
60
+ 'en_AM' => 'Armenia - U.K. English',
61
+ 'en_AW' => 'Aruba - U.K. English',
62
+ 'en_AU' => 'Australia - Australian English',
63
+ 'de_AT' => 'Austria - German',
64
+ 'en_AT' => 'Austria - U.S. English',
65
+ 'en_AZ' => 'Azerbaijan Republic - U.K. English',
66
+ 'en_BS' => 'Bahamas - U.K. English',
67
+
68
+ 'en_BH' => 'Bahrain - U.K. English',
69
+ 'en_BB' => 'Barbados - U.K. English',
70
+ 'en_BE' => 'Belgium - U.S. English',
71
+ 'nl_BE' => 'Belgium - Dutch',
72
+ 'fr_BE' => 'Belgium - French',
73
+ 'en_BZ' => 'Belize - U.K. English',
74
+ 'en_BJ' => 'Benin - U.K. English',
75
+ 'en_BM' => 'Bermuda - U.K. English',
76
+ 'en_BT' => 'Bhutan - U.K. English',
77
+
78
+ 'en_BO' => 'Bolivia - U.K. English',
79
+ 'en_BA' => 'Bosnia and Herzegovina - U.K. English',
80
+ 'en_BW' => 'Botswana - U.K. English',
81
+ 'en_BR' => 'Brazil - U.K. English',
82
+ 'en_VG' => 'British Virgin Islands - U.K. English',
83
+ 'en_BN' => 'Brunei - U.K. English',
84
+ 'en_BG' => 'Bulgaria - U.K. English',
85
+ 'en_BF' => 'Burkina Faso - U.K. English',
86
+ 'en_BI' => 'Burundi - U.K. English',
87
+
88
+ 'en_KH' => 'Cambodia - U.K. English',
89
+ 'en_CA' => 'Canada - U.S. English',
90
+ 'fr_CA' => 'Canada - French',
91
+ 'en_CV' => 'Cape Verde - U.K. English',
92
+ 'en_KY' => 'Cayman Islands - U.K. English',
93
+ 'en_TD' => 'Chad - U.K. English',
94
+ 'en_CL' => 'Chile - U.K. English',
95
+ 'en_C2' => 'China - U.S. English',
96
+ 'zh_C2' => 'China - Simplified Chinese',
97
+
98
+ 'en_CO' => 'Colombia - U.K. English',
99
+ 'en_KM' => 'Comoros - U.K. English',
100
+ 'en_CK' => 'Cook Islands - U.K. English',
101
+ 'en_CR' => 'Costa Rica - U.K. English',
102
+ 'en_HR' => 'Croatia - U.K. English',
103
+ 'en_CY' => 'Cyprus - U.K. English',
104
+ 'en_CZ' => 'Czech Republic - U.K. English',
105
+ 'en_CD' => 'Democratic Republic of the Congo - U.K. English',
106
+ 'en_DK' => 'Denmark - U.K. English',
107
+
108
+ 'en_DJ' => 'Djibouti - U.K. English',
109
+ 'en_DM' => 'Dominica - U.K. English',
110
+ 'en_DO' => 'Dominican Republic - U.K. English',
111
+ 'en_EC' => 'Ecuador - U.K. English',
112
+ 'en_SV' => 'El Salvador - U.K. English',
113
+ 'en_ER' => 'Eritrea - U.K. English',
114
+ 'en_EE' => 'Estonia - U.K. English',
115
+ 'en_ET' => 'Ethiopia - U.K. English',
116
+ 'en_FK' => 'Falkland Islands - U.K. English',
117
+
118
+ 'en_FO' => 'Faroe Islands - U.K. English',
119
+ 'en_FM' => 'Federated States of Micronesia - U.K. English',
120
+ 'en_FJ' => 'Fiji - U.K. English',
121
+ 'en_FI' => 'Finland - U.K. English',
122
+ 'fr_FR' => 'France - French',
123
+ 'en_FR' => 'France - U.S. English',
124
+ 'en_GF' => 'French Guiana - U.K. English',
125
+ 'en_PF' => 'French Polynesia - U.K. English',
126
+ 'en_GA' => 'Gabon Republic - U.K. English',
127
+
128
+ 'en_GM' => 'Gambia - U.K. English',
129
+ 'de_DE' => 'Germany - German',
130
+ 'en_DE' => 'Germany - U.S. English',
131
+ 'en_GI' => 'Gibraltar - U.K. English',
132
+ 'en_GR' => 'Greece - U.K. English',
133
+ 'en_GL' => 'Greenland - U.K. English',
134
+ 'en_GD' => 'Grenada - U.K. English',
135
+ 'en_GP' => 'Guadeloupe - U.K. English',
136
+ 'en_GT' => 'Guatemala - U.K. English',
137
+
138
+ 'en_GN' => 'Guinea - U.K. English',
139
+ 'en_GW' => 'Guinea Bissau - U.K. English',
140
+ 'en_GY' => 'Guyana - U.K. English',
141
+ 'en_HN' => 'Honduras - U.K. English',
142
+ 'zh_HK' => 'Hong Kong - Traditional Chinese',
143
+ 'en_HK' => 'Hong Kong - U.K. English',
144
+ 'en_HU' => 'Hungary - U.K. English',
145
+ 'en_IS' => 'Iceland - U.K. English',
146
+ 'en_IN' => 'India - U.K. English',
147
+
148
+ 'en_ID' => 'Indonesia - U.K. English',
149
+ 'en_IE' => 'Ireland - U.K. English',
150
+ 'en_IL' => 'Israel - U.K. English',
151
+ 'it_IT' => 'Italy - Italian',
152
+ 'en_IT' => 'Italy - U.S. English',
153
+ 'en_JM' => 'Jamaica - U.K. English',
154
+ 'ja_JP' => 'Japan - Japanese',
155
+ 'en_JP' => 'Japan - U.S. English',
156
+ 'en_JO' => 'Jordan - U.K. English',
157
+
158
+ 'en_KZ' => 'Kazakhstan - U.K. English',
159
+ 'en_KE' => 'Kenya - U.K. English',
160
+ 'en_KI' => 'Kiribati - U.K. English',
161
+ 'en_KW' => 'Kuwait - U.K. English',
162
+ 'en_KG' => 'Kyrgyzstan - U.K. English',
163
+ 'en_LA' => 'Laos - U.K. English',
164
+ 'en_LV' => 'Latvia - U.K. English',
165
+ 'en_LS' => 'Lesotho - U.K. English',
166
+ 'en_LI' => 'Liechtenstein - U.K. English',
167
+
168
+ 'en_LT' => 'Lithuania - U.K. English',
169
+ 'en_LU' => 'Luxembourg - U.K. English',
170
+ 'en_MG' => 'Madagascar - U.K. English',
171
+ 'en_MW' => 'Malawi - U.K. English',
172
+ 'en_MY' => 'Malaysia - U.K. English',
173
+ 'en_MV' => 'Maldives - U.K. English',
174
+ 'en_ML' => 'Mali - U.K. English',
175
+ 'en_MT' => 'Malta - U.K. English',
176
+ 'en_MH' => 'Marshall Islands - U.K. English',
177
+
178
+ 'en_MQ' => 'Martinique - U.K. English',
179
+ 'en_MR' => 'Mauritania - U.K. English',
180
+ 'en_MU' => 'Mauritius - U.K. English',
181
+ 'en_YT' => 'Mayotte - U.K. English',
182
+ 'es_MX' => 'Mexico - Spanish',
183
+ 'en_MX' => 'Mexico - U.S. English',
184
+ 'en_MN' => 'Mongolia - U.K. English',
185
+ 'en_MS' => 'Montserrat - U.K. English',
186
+ 'en_MA' => 'Morocco - U.K. English',
187
+
188
+ 'en_MZ' => 'Mozambique - U.K. English',
189
+ 'en_NA' => 'Namibia - U.K. English',
190
+ 'en_NR' => 'Nauru - U.K. English',
191
+ 'en_NP' => 'Nepal - U.K. English',
192
+ 'nl_NL' => 'Netherlands - Dutch',
193
+ 'en_NL' => 'Netherlands - U.S. English',
194
+ 'en_AN' => 'Netherlands Antilles - U.K. English',
195
+ 'en_NC' => 'New Caledonia - U.K. English',
196
+ 'en_NZ' => 'New Zealand - U.K. English',
197
+
198
+ 'en_NI' => 'Nicaragua - U.K. English',
199
+ 'en_NE' => 'Niger - U.K. English',
200
+ 'en_NU' => 'Niue - U.K. English',
201
+ 'en_NF' => 'Norfolk Island - U.K. English',
202
+ 'en_NO' => 'Norway - U.K. English',
203
+ 'en_OM' => 'Oman - U.K. English',
204
+ 'en_PW' => 'Palau - U.K. English',
205
+ 'en_PA' => 'Panama - U.K. English',
206
+ 'en_PG' => 'Papua New Guinea - U.K. English',
207
+
208
+ 'en_PE' => 'Peru - U.K. English',
209
+ 'en_PH' => 'Philippines - U.K. English',
210
+ 'en_PN' => 'Pitcairn Islands - U.K. English',
211
+ 'pl_PL' => 'Poland - Polish',
212
+ 'en_PL' => 'Poland - U.S. English',
213
+ 'en_PT' => 'Portugal - U.K. English',
214
+ 'en_QA' => 'Qatar - U.K. English',
215
+ 'en_CG' => 'Republic of the Congo - U.K. English',
216
+ 'en_RE' => 'Reunion - U.K. English',
217
+
218
+ 'en_RO' => 'Romania - U.K. English',
219
+ 'en_RU' => 'Russia - U.K. English',
220
+ 'en_RW' => 'Rwanda - U.K. English',
221
+ 'en_VC' => 'Saint Vincent and the Grenadines - U.K. English',
222
+ 'en_WS' => 'Samoa - U.K. English',
223
+ 'en_SM' => 'San Marino - U.K. English',
224
+ 'en_ST' => 'S�o Tom� and Pr�ncipe - U.K. English',
225
+ 'en_SA' => 'Saudi Arabia - U.K. English',
226
+ 'en_SN' => 'Senegal - U.K. English',
227
+
228
+ 'en_SC' => 'Seychelles - U.K. English',
229
+ 'en_SL' => 'Sierra Leone - U.K. English',
230
+ 'en_SG' => 'Singapore - U.K. English',
231
+ 'en_SK' => 'Slovakia - U.K. English',
232
+ 'en_SI' => 'Slovenia - U.K. English',
233
+ 'en_SB' => 'Solomon Islands - U.K. English',
234
+ 'en_SO' => 'Somalia - U.K. English',
235
+ 'en_ZA' => 'South Africa - U.K. English',
236
+ 'en_KR' => 'South Korea - U.K. English',
237
+
238
+ 'es_ES' => 'Spain - Spanish',
239
+ 'en_ES' => 'Spain - U.S. English',
240
+ 'en_LK' => 'Sri Lanka - U.K. English',
241
+ 'en_SH' => 'St. Helena - U.K. English',
242
+ 'en_KN' => 'St. Kitts and Nevis - U.K. English',
243
+ 'en_LC' => 'St. Lucia - U.K. English',
244
+ 'en_PM' => 'St. Pierre and Miquelon - U.K. English',
245
+ 'en_SR' => 'Suriname - U.K. English',
246
+ 'en_SJ' => 'Svalbard and Jan Mayen Islands - U.K. English',
247
+
248
+ 'en_SZ' => 'Swaziland - U.K. English',
249
+ 'en_SE' => 'Sweden - U.K. English',
250
+ 'de_CH' => 'Switzerland - German',
251
+ 'fr_CH' => 'Switzerland - French',
252
+ 'en_CH' => 'Switzerland - U.S. English',
253
+ 'en_TW' => 'Taiwan - U.K. English',
254
+ 'en_TJ' => 'Tajikistan - U.K. English',
255
+ 'en_TZ' => 'Tanzania - U.K. English',
256
+ 'en_TH' => 'Thailand - U.K. English',
257
+
258
+ 'en_TG' => 'Togo - U.K. English',
259
+ 'en_TO' => 'Tonga - U.K. English',
260
+ 'en_TT' => 'Trinidad and Tobago - U.K. English',
261
+ 'en_TN' => 'Tunisia - U.K. English',
262
+ 'en_TR' => 'Turkey - U.K. English',
263
+ 'en_TM' => 'Turkmenistan - U.K. English',
264
+ 'en_TC' => 'Turks and Caicos Islands - U.K. English',
265
+ 'en_TV' => 'Tuvalu - U.K. English',
266
+ 'en_UG' => 'Uganda - U.K. English',
267
+
268
+ 'en_UA' => 'Ukraine - U.K. English',
269
+ 'en_AE' => 'United Arab Emirates - U.K. English',
270
+ 'en_GB' => 'United Kingdom - U.K. English',
271
+ 'en_US' => 'United States - U.S. English',
272
+ 'fr_US' => 'United States - French',
273
+ 'es_US' => 'United States - Spanish',
274
+ 'zh_US' => 'United States - Simplified Chinese',
275
+ 'en_UY' => 'Uruguay - U.K. English',
276
+ 'en_VU' => 'Vanuatu - U.K. English',
277
+
278
+ 'en_VA' => 'Vatican City State - U.K. English',
279
+ 'en_VE' => 'Venezuela - U.K. English',
280
+ 'en_VN' => 'Vietnam - U.K. English',
281
+ 'en_WF' => 'Wallis and Futuna Islands - U.K. English',
282
+ 'en_YE' => 'Yemen - U.K. English',
283
+ 'en_ZM' => 'Zambia - U.K. English');
284
  /**
285
  * Constructor
286
  *
381
  // More Settings
382
  if (isset($pd_options['currency_code']))
383
  $paypal_btn .= '<input type="hidden" name="currency_code" value="' .$pd_options['currency_code']. '" />';
384
+ if (isset($pd_options['button_localized']))
385
+ { $button_localized = $pd_options['button_localized']; } else { $button_localized = 'en_US'; }
386
 
387
  // Settings not implemented yet
388
  // $paypal_btn .= '<input type="hidden" name="amount" value="20" />';
391
  if ( $pd_options['button'] == "custom" )
392
  $button_url = $pd_options['button_url'];
393
  else
394
+ $button_url = str_replace('en_US', $button_localized, $this->donate_buttons[$pd_options['button']]);
395
 
396
  $paypal_btn .= '<input type="image" src="' .$button_url. '" name="submit" alt="PayPal - The safer, easier way to pay online." />';
397
  $paypal_btn .= '<img alt="" src="https://www.paypal.com/en_US/i/scr/pixel.gif" width="1" height="1" />';
431
  $pd_options['button_url'] = trim( $_POST['button_url'] );
432
  $pd_options['currency_code'] = trim( $_POST['currency_code'] );
433
  $pd_options['amount'] = trim( $_POST['amount'] );
434
+ $pd_options['button_localized'] = trim( $_POST['button_localized'] );
435
  update_option($this->plugin_options, $pd_options);
436
  $this->admin_message( __( 'The PayPal Donations settings have been updated.', 'paypal-donations' ) );
437
  }
496
  <fieldset><legend class="hidden">PayPal Button</legend>
497
  <?php
498
  $custom = TRUE;
499
+ if (isset($pd_options['button_localized'])) { $button_localized = $pd_options['button_localized']; } else { $button_localized = 'en_US'; }
500
  if (isset($pd_options['button'])) { $current_button = $pd_options['button']; } else { $current_button = 'large'; }
501
  foreach ( $this->donate_buttons as $key => $button ) {
502
  echo "\t<label title='" . attribute_escape($key) . "'><input style='padding: 10px 0 10px 0;' type='radio' name='button' value='" . attribute_escape($key) . "'";
504
  echo " checked='checked'";
505
  $custom = FALSE;
506
  }
507
+ echo " /> <img src='" . str_replace('en_US', $button_localized, $button) . "' alt='" . $key . "' style='vertical-align: middle;' /></label><br /><br />\n";
508
  }
509
 
510
  echo ' <label><input type="radio" name="button" value="custom"';
511
  checked( $custom, TRUE );
512
  echo '/> ' . __('Custom Button:', 'paypal-donations') . ' </label>';
513
  ?>
514
+ <input type="text" name="button_url" value="<?php echo $pd_options['button_url']; ?>" class="regular-text" /><br/>
515
+ <span class="setting-description"><?php _e( 'Enter a URL to a custom donation button.', 'paypal-donations' ) ?></span>
516
  </fieldset>
517
  </td>
518
  </tr>
519
+ <tr valign="top">
520
+ <th scope="row"><label for="button_localized"><?php _e( 'Country and Language', 'paypal-donations' ) ?></label></th>
521
+ <td><select name="button_localized" id="button_localized">
522
+ <?php foreach ( $this->localized_buttons as $key => $localize ) {
523
+ echo '<option value="'.$key.'"';
524
+ if ($button_localized == $key) { echo ' selected="selected"'; }
525
+ echo '>'.utf8_encode($localize).'</option>';
526
+ }?></select>
527
+ <span class="setting-description"><br/><?php _e( 'Localize the language and the country for the button (Updated after saving the settings).', 'paypal-donations' ) ?></span></td>
528
+ </tr>
529
  </table>
530
 
531
  <p class="submit">
readme.txt CHANGED
@@ -4,13 +4,13 @@ Donate link: http://coding.cglounge.com/wordpress-plugins/paypal-donations/#pint
4
  Tags: paypal, donation, shortcode, widget, donate, button, sidebar
5
  Requires at least: 2.7
6
  Tested up to: 2.8.4
7
- Stable tag: 1.3.3
8
 
9
  Easy and simple setup and insertion of PayPal donate buttons with a shortcode or through a sidebar Widget. Donation purpose can be set for each button. A few other customization options are available as well.
10
 
11
  == Description ==
12
 
13
- Adds a PayPal donation shortcode and sidebar Widget to WordPress. The options menu lets you setup you PayPal ID and a few other optional settings. You can choose which donation button you want to use or if you want to use your own button. You can also set an optional default purpose and reference which can be overridden on each inserted instance with the shortcode options or in the Widget settings. There is also options available for currency, custom payment page style and the return page.
14
 
15
  = Widget =
16
 
@@ -60,6 +60,9 @@ Please visit [PayPal Donations' Comments](http://coding.cglounge.com/wordpress-p
60
 
61
  == Changelog ==
62
 
 
 
 
63
  = Version 1.3.3 - 2 Sep 2009 =
64
  * Included French translation by [Thomas Cailhe (Oyabi)](http://www.oyabi.fr/).
65
 
4
  Tags: paypal, donation, shortcode, widget, donate, button, sidebar
5
  Requires at least: 2.7
6
  Tested up to: 2.8.4
7
+ Stable tag: 1.4
8
 
9
  Easy and simple setup and insertion of PayPal donate buttons with a shortcode or through a sidebar Widget. Donation purpose can be set for each button. A few other customization options are available as well.
10
 
11
  == Description ==
12
 
13
+ Adds a PayPal donation shortcode and sidebar Widget to WordPress. The options menu lets you setup you PayPal ID and a few other optional settings. You can choose which donation button you want to use or if you want to use your own button. You can also set an optional default purpose and reference which can be overridden on each inserted instance with the shortcode options or in the Widget settings. There is also options available for currency, localization of the button, custom payment page style and the return page.
14
 
15
  = Widget =
16
 
60
 
61
  == Changelog ==
62
 
63
+ = Version 1.4 - 6 Sep 2009 =
64
+ * Added a dropdown menu to select country and language to localize the graphics of the donation button.
65
+
66
  = Version 1.3.3 - 2 Sep 2009 =
67
  * Included French translation by [Thomas Cailhe (Oyabi)](http://www.oyabi.fr/).
68