PayPal Buy Now Button - Version 1.1.3

Version Description

  • Added class paypalbuttonimage to paypal button for styling
Download this release

Release Info

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

Code changes from version 1.1.1 to 1.1.3

Files changed (2) hide show
  1. readme.txt +15 -3
  2. wp-ecommerce-paypal.php +8 -4
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
9
  License: GPLv2 or later
10
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
11
 
@@ -80,7 +80,13 @@ Yes, there is no limit to the amount you can put on one post / page, or your ent
80
 
81
  == Changelog ==
82
 
83
- = 1.1 =
 
 
 
 
 
 
84
  * Code improvements and integrated premium features
85
 
86
  = 1.0.0 =
@@ -88,7 +94,13 @@ Yes, there is no limit to the amount you can put on one post / page, or your ent
88
 
89
  == Upgrade Notice ==
90
 
91
- = 1.1 =
 
 
 
 
 
 
92
  Code improvements and integrated premium features
93
 
94
  = 1.0.0 =
5
  Author URI: https://wpplugin.org
6
  Requires at least: 3.0
7
  Tested up to: 4.1
8
+ Stable tag: 1.1.3
9
  License: GPLv2 or later
10
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
11
 
80
 
81
  == Changelog ==
82
 
83
+ = 1.1.3 =
84
+ * Added class paypalbuttonimage to paypal button for styling
85
+
86
+ = 1.1.2 =
87
+ * Bug fixes
88
+
89
+ = 1.1.1 =
90
  * Code improvements and integrated premium features
91
 
92
  = 1.0.0 =
94
 
95
  == Upgrade Notice ==
96
 
97
+ = 1.1.3 =
98
+ * Added class paypalbuttonimage to paypal button for styling
99
+
100
+ = 1.1.2 =
101
+ Bug fixes
102
+
103
+ = 1.1.1 =
104
  Code improvements and integrated premium features
105
 
106
  = 1.0.0 =
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
11
  */
12
 
13
  /* Copyright 2014-2015 Scott Paterson
@@ -63,8 +63,8 @@ $wpecpp_settingsoptions = array(
63
  'weight_unit' => '1',
64
  'cbt' => '',
65
  'upload_image' => '',
66
- 'showprice' => '1',
67
- 'showname' => '1',
68
  );
69
 
70
 
@@ -776,6 +776,10 @@ if ($value['weight_unit'] == "2") { $weight_unit = "kgs"; }
776
 
777
  $output = "";
778
  $output .= "<table><tr>";
 
 
 
 
779
  if ($kstatus == "true") {
780
  if ($value['showname'] == "1") {
781
  $output .= "<td colspan='2'><label>". $atts['name'] ."</label></td></tr><tr>";
@@ -803,7 +807,7 @@ $output .= "<input type='hidden' name='lc' value='$language'>";
803
  $output .= "<input type='hidden' name='no_note' value='$note'>";
804
  $output .= "<input type='hidden' name='return' value='". $value['return'] ."' />";
805
  $output .= "<input type='hidden' name='cancel_return' value='". $value['cancel'] ."' />";
806
- $output .= "<input type='image' src='$img' border='0' name='submit' alt='Make your payments with PayPal. It is free, secure, effective.'>";
807
  $output .= "<img alt='' border='0' src='https://www.paypal.com/it_IT/i/scr/pixel.gif' width='1' height='1'>";
808
  $output .= "</form></td></tr></table>";
809
 
7
  Author: Scott Paterson
8
  Author URI: https://wpplugin.org
9
  License: GPL2
10
+ Version: 1.1.3
11
  */
12
 
13
  /* Copyright 2014-2015 Scott Paterson
63
  'weight_unit' => '1',
64
  'cbt' => '',
65
  'upload_image' => '',
66
+ 'showprice' => '2',
67
+ 'showname' => '2',
68
  );
69
 
70
 
776
 
777
  $output = "";
778
  $output .= "<table><tr>";
779
+
780
+ $kstatus = get_option('wpecpp_plicsence_key_status');
781
+ if (empty($kstatus)) { $kstatus = "false"; }
782
+
783
  if ($kstatus == "true") {
784
  if ($value['showname'] == "1") {
785
  $output .= "<td colspan='2'><label>". $atts['name'] ."</label></td></tr><tr>";
807
  $output .= "<input type='hidden' name='no_note' value='$note'>";
808
  $output .= "<input type='hidden' name='return' value='". $value['return'] ."' />";
809
  $output .= "<input type='hidden' name='cancel_return' value='". $value['cancel'] ."' />";
810
+ $output .= "<input class='paypalbuttonimage' type='image' src='$img' border='0' name='submit' alt='Make your payments with PayPal. It is free, secure, effective.'>";
811
  $output .= "<img alt='' border='0' src='https://www.paypal.com/it_IT/i/scr/pixel.gif' width='1' height='1'>";
812
  $output .= "</form></td></tr></table>";
813