PayPal Buy Now Button - Version 1.1.7

Version Description

  • Currency bug
Download this release

Release Info

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

Code changes from version 1.1.6 to 1.1.7

Files changed (2) hide show
  1. readme.txt +7 -1
  2. wp-ecommerce-paypal.php +7 -7
readme.txt CHANGED
@@ -5,7 +5,7 @@ Tags: ecommerce, paypal, button, buy now, shortcode, buy now button, paypal butt
5
  Author URI: https://wpplugin.org
6
  Requires at least: 3.0
7
  Tested up to: 4.1
8
- Stable tag: 1.1.6
9
  License: GPLv2 or later
10
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
11
 
@@ -83,6 +83,9 @@ Yes, there is no limit to the amount you can put on one post / page, or your ent
83
 
84
  == Changelog ==
85
 
 
 
 
86
  = 1.1.6 =
87
  * Language bug
88
 
@@ -106,6 +109,9 @@ Yes, there is no limit to the amount you can put on one post / page, or your ent
106
 
107
  == Upgrade Notice ==
108
 
 
 
 
109
  = 1.1.6 =
110
  Language bug
111
 
5
  Author URI: https://wpplugin.org
6
  Requires at least: 3.0
7
  Tested up to: 4.1
8
+ Stable tag: 1.1.7
9
  License: GPLv2 or later
10
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
11
 
83
 
84
  == Changelog ==
85
 
86
+ = 1.1.7 =
87
+ * Currency bug
88
+
89
  = 1.1.6 =
90
  * Language bug
91
 
109
 
110
  == Upgrade Notice ==
111
 
112
+ = 1.1.7 =
113
+ Currency bug
114
+
115
  = 1.1.6 =
116
  Language bug
117
 
wp-ecommerce-paypal.php CHANGED
@@ -7,7 +7,7 @@ Description: A simple and easy way to integrate PayPal into your WordPress websi
7
  Author: Scott Paterson
8
  Author URI: https://wpplugin.org
9
  License: GPL2
10
- Version: 1.1.6
11
  */
12
 
13
  /* Copyright 2014-2015 Scott Paterson
@@ -249,9 +249,9 @@ PayPal currently supports 18 languages.
249
  <option <?php if ($value['currency'] == "4") { echo "SELECTED"; } ?> value="4">Czech Koruna - CZK</option>
250
  <option <?php if ($value['currency'] == "5") { echo "SELECTED"; } ?> value="5">Danish Krone - DKK</option>
251
  <option <?php if ($value['currency'] == "6") { echo "SELECTED"; } ?> value="6">Euro - EUR</option>
252
- <option <?php if ($value['currency'] == "6") { echo "SELECTED"; } ?> value="7">Hong Kong Dollar - HKD</option>
253
- <option <?php if ($value['currency'] == "7") { echo "SELECTED"; } ?> value="8">Hungarian Forint - HUF</option>
254
- <option <?php if ($value['currency'] == "8") { echo "SELECTED"; } ?> value="9">Israeli New Sheqel - ILS</option>
255
  <option <?php if ($value['currency'] == "10") { echo "SELECTED"; } ?> value="10">Japanese Yen - JPY</option>
256
  <option <?php if ($value['currency'] == "11") { echo "SELECTED"; } ?> value="11">Malaysian Ringgit - MYR</option>
257
  <option <?php if ($value['currency'] == "12") { echo "SELECTED"; } ?> value="12">Mexican Peso - MXN</option>
@@ -609,9 +609,9 @@ if ($value['currency'] == "3") { $currency = "CAD"; }
609
  if ($value['currency'] == "4") { $currency = "CZK"; }
610
  if ($value['currency'] == "5") { $currency = "DKK"; }
611
  if ($value['currency'] == "6") { $currency = "EUR"; }
612
- if ($value['currency'] == "6") { $currency = "HKD"; }
613
- if ($value['currency'] == "7") { $currency = "HUF"; }
614
- if ($value['currency'] == "8") { $currency = "ILS"; }
615
  if ($value['currency'] == "10") { $currency = "JPY"; }
616
  if ($value['currency'] == "11") { $currency = "MYR"; }
617
  if ($value['currency'] == "12") { $currency = "MXN"; }
7
  Author: Scott Paterson
8
  Author URI: https://wpplugin.org
9
  License: GPL2
10
+ Version: 1.1.7
11
  */
12
 
13
  /* Copyright 2014-2015 Scott Paterson
249
  <option <?php if ($value['currency'] == "4") { echo "SELECTED"; } ?> value="4">Czech Koruna - CZK</option>
250
  <option <?php if ($value['currency'] == "5") { echo "SELECTED"; } ?> value="5">Danish Krone - DKK</option>
251
  <option <?php if ($value['currency'] == "6") { echo "SELECTED"; } ?> value="6">Euro - EUR</option>
252
+ <option <?php if ($value['currency'] == "7") { echo "SELECTED"; } ?> value="7">Hong Kong Dollar - HKD</option>
253
+ <option <?php if ($value['currency'] == "8") { echo "SELECTED"; } ?> value="8">Hungarian Forint - HUF</option>
254
+ <option <?php if ($value['currency'] == "9") { echo "SELECTED"; } ?> value="9">Israeli New Sheqel - ILS</option>
255
  <option <?php if ($value['currency'] == "10") { echo "SELECTED"; } ?> value="10">Japanese Yen - JPY</option>
256
  <option <?php if ($value['currency'] == "11") { echo "SELECTED"; } ?> value="11">Malaysian Ringgit - MYR</option>
257
  <option <?php if ($value['currency'] == "12") { echo "SELECTED"; } ?> value="12">Mexican Peso - MXN</option>
609
  if ($value['currency'] == "4") { $currency = "CZK"; }
610
  if ($value['currency'] == "5") { $currency = "DKK"; }
611
  if ($value['currency'] == "6") { $currency = "EUR"; }
612
+ if ($value['currency'] == "7") { $currency = "HKD"; }
613
+ if ($value['currency'] == "8") { $currency = "HUF"; }
614
+ if ($value['currency'] == "9") { $currency = "ILS"; }
615
  if ($value['currency'] == "10") { $currency = "JPY"; }
616
  if ($value['currency'] == "11") { $currency = "MYR"; }
617
  if ($value['currency'] == "12") { $currency = "MXN"; }