PayPal Buy Now Button - Version 1.6.9

Version Description

  • 11/13/15
  • Added feature - Added English - UK option to language list - this effects which PayPal page the customer is redirected to.
Download this release

Release Info

Developer scottpaterson
Plugin Icon 128x128 PayPal Buy Now Button
Version 1.6.9
Comparing to
See all releases

Code changes from version 1.6.8 to 1.6.9

Files changed (2) hide show
  1. readme.txt +10 -2
  2. wp-ecommerce-paypal.php +10 -1
readme.txt CHANGED
@@ -4,8 +4,8 @@ Donate link: https://wpplugin.org/donate/
4
  Tags: PayPal payment, PayPal, button, payment, online payments, Stripe, Super Stripe, Stripe checkout, pay now, paypal plugin for wordpress, button, paypal button, payment form, pay online, paypal buy now, ecommerce, paypal plugin, shortcode, online, payments, payments for wordpress, paypal for wordpress, paypal donation, paypal transfer, payment processing, paypal widget, wp paypal, purchase button, money, invoice, invoicing, payment collect, secure, process credit cards, paypal integration, gateway, stripe, authorize, shopping cart, cart, shopping, shop
5
  Author URI: https://wpplugin.org
6
  Requires at least: 3.0
7
- Tested up to: 4.3
8
- Stable tag: 1.6.8
9
  License: GPLv2 or later
10
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
11
 
@@ -95,6 +95,10 @@ Yes, there is no limit to the amount you can put on one post / page, or your ent
95
 
96
  == Changelog ==
97
 
 
 
 
 
98
  = 1.6.8 =
99
  * Small fix - fixed broken support link URL
100
 
@@ -172,6 +176,10 @@ Yes, there is no limit to the amount you can put on one post / page, or your ent
172
 
173
  == Upgrade Notice ==
174
 
 
 
 
 
175
  = 1.6.8 =
176
  Small fix - fixed broken support link URL
177
 
4
  Tags: PayPal payment, PayPal, button, payment, online payments, Stripe, Super Stripe, Stripe checkout, pay now, paypal plugin for wordpress, button, paypal button, payment form, pay online, paypal buy now, ecommerce, paypal plugin, shortcode, online, payments, payments for wordpress, paypal for wordpress, paypal donation, paypal transfer, payment processing, paypal widget, wp paypal, purchase button, money, invoice, invoicing, payment collect, secure, process credit cards, paypal integration, gateway, stripe, authorize, shopping cart, cart, shopping, shop
5
  Author URI: https://wpplugin.org
6
  Requires at least: 3.0
7
+ Tested up to: 4.4
8
+ Stable tag: 1.6.9
9
  License: GPLv2 or later
10
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
11
 
95
 
96
  == Changelog ==
97
 
98
+ = 1.6.9 =
99
+ * 11/13/15
100
+ * Added feature - Added English - UK option to language list - this effects which PayPal page the customer is redirected to.
101
+
102
  = 1.6.8 =
103
  * Small fix - fixed broken support link URL
104
 
176
 
177
  == Upgrade Notice ==
178
 
179
+ = 1.6.9 =
180
+ * 11/13/15
181
+ * Added feature - Added English - UK option to language list - this effects which PayPal page the customer is redirected to.
182
+
183
  = 1.6.8 =
184
  Small fix - fixed broken support link URL
185
 
wp-ecommerce-paypal.php CHANGED
@@ -8,7 +8,7 @@ Tags: PayPal payment, PayPal, button, payment, online payments, Stripe, Super St
8
  Author: Scott Paterson
9
  Author URI: https://wpplugin.org
10
  License: GPL2
11
- Version: 1.6.8
12
  */
13
 
14
  /* Copyright 2014-2015 Scott Paterson
@@ -277,6 +277,7 @@ You can put the Buy Now buttons as many times in a page or post as you want, the
277
  <option <?php if ($value['language'] == "1") { echo "SELECTED"; } ?> value="1">Danish</option>
278
  <option <?php if ($value['language'] == "2") { echo "SELECTED"; } ?> value="2">Dutch</option>
279
  <option <?php if ($value['language'] == "3") { echo "SELECTED"; } ?> value="3">English</option>
 
280
  <option <?php if ($value['language'] == "4") { echo "SELECTED"; } ?> value="4">French</option>
281
  <option <?php if ($value['language'] == "5") { echo "SELECTED"; } ?> value="5">German</option>
282
  <option <?php if ($value['language'] == "6") { echo "SELECTED"; } ?> value="6">Hebrew</option>
@@ -591,6 +592,14 @@ $imagecc = "https://www.paypalobjects.com/en_US/i/btn/btn_buynowCC_LG.gif";
591
  $imagenew = "https://www.paypalobjects.com/webstatic/en_US/i/buttons/buy-logo-medium.png";
592
  } //English
593
 
 
 
 
 
 
 
 
 
594
  if ($value['language'] == "4") {
595
  $language = "fr_CA";
596
  $image = "https://www.paypalobjects.com/fr_CA/i/btn/btn_buynow_SM.gif";
8
  Author: Scott Paterson
9
  Author URI: https://wpplugin.org
10
  License: GPL2
11
+ Version: 1.6.9
12
  */
13
 
14
  /* Copyright 2014-2015 Scott Paterson
277
  <option <?php if ($value['language'] == "1") { echo "SELECTED"; } ?> value="1">Danish</option>
278
  <option <?php if ($value['language'] == "2") { echo "SELECTED"; } ?> value="2">Dutch</option>
279
  <option <?php if ($value['language'] == "3") { echo "SELECTED"; } ?> value="3">English</option>
280
+ <option <?php if ($value['language'] == "20") { echo "SELECTED"; } ?> value="20">English - UK</option>
281
  <option <?php if ($value['language'] == "4") { echo "SELECTED"; } ?> value="4">French</option>
282
  <option <?php if ($value['language'] == "5") { echo "SELECTED"; } ?> value="5">German</option>
283
  <option <?php if ($value['language'] == "6") { echo "SELECTED"; } ?> value="6">Hebrew</option>
592
  $imagenew = "https://www.paypalobjects.com/webstatic/en_US/i/buttons/buy-logo-medium.png";
593
  } //English
594
 
595
+ if ($value['language'] == "20") {
596
+ $language = "en_GB";
597
+ $image = "https://www.paypalobjects.com/en_US/i/btn/btn_buynow_SM.gif";
598
+ $imageb = "https://www.paypalobjects.com/en_US/i/btn/btn_buynow_LG.gif";
599
+ $imagecc = "https://www.paypalobjects.com/en_US/i/btn/btn_buynowCC_LG.gif";
600
+ $imagenew = "https://www.paypalobjects.com/webstatic/en_US/i/buttons/buy-logo-medium.png";
601
+ } //English - UK
602
+
603
  if ($value['language'] == "4") {
604
  $language = "fr_CA";
605
  $image = "https://www.paypalobjects.com/fr_CA/i/btn/btn_buynow_SM.gif";