Version Description
- Fix PayPal language bug
Download this release
Release Info
Developer | scottpaterson |
Plugin | PayPal Buy Now Button |
Version | 1.1.4 |
Comparing to | |
See all releases |
Code changes from version 1.1.3 to 1.1.4
- manager.php +2 -1
- readme.txt +11 -2
- wp-ecommerce-paypal.php +3 -3
manager.php
CHANGED
@@ -29,6 +29,7 @@ if(isset($_POST['wpecpp_plicsence_key'])) {
|
|
29 |
global $wpecpp_PLicense_Activation;
|
30 |
$license = $_POST['wpecpp_plicsence_key'];
|
31 |
|
|
|
32 |
|
33 |
$serverurl = "https://wpplugin.org/wp-content/plugins/product-licensing-system/verify.php";
|
34 |
|
@@ -39,7 +40,7 @@ $response = wp_remote_post($serverurl, array(
|
|
39 |
'httpversion' => '1.0',
|
40 |
'blocking' => true,
|
41 |
'headers' => array(),
|
42 |
-
'body' => array( 'domain' => $_SERVER['SERVER_NAME'], 'licensekey' => $license ),
|
43 |
'cookies' => array()
|
44 |
)
|
45 |
);
|
29 |
global $wpecpp_PLicense_Activation;
|
30 |
$license = $_POST['wpecpp_plicsence_key'];
|
31 |
|
32 |
+
$product = "WP eCommerce PayPal Pro";
|
33 |
|
34 |
$serverurl = "https://wpplugin.org/wp-content/plugins/product-licensing-system/verify.php";
|
35 |
|
40 |
'httpversion' => '1.0',
|
41 |
'blocking' => true,
|
42 |
'headers' => array(),
|
43 |
+
'body' => array( 'domain' => $_SERVER['SERVER_NAME'], 'licensekey' => $license, 'product' => $product ),
|
44 |
'cookies' => array()
|
45 |
)
|
46 |
);
|
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 |
|
@@ -52,6 +52,9 @@ Convert your website to a eCommerce website and start selling your product in ju
|
|
52 |
>
|
53 |
> [Get a WP eCommerce PayPal Plus License Key >>](https://wpplugin.org/wp-ecommerce-paypal/)
|
54 |
|
|
|
|
|
|
|
55 |
== Installation ==
|
56 |
|
57 |
= Automatic Installation =
|
@@ -80,6 +83,9 @@ 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.3 =
|
84 |
* Added class paypalbuttonimage to paypal button for styling
|
85 |
|
@@ -94,8 +100,11 @@ Yes, there is no limit to the amount you can put on one post / page, or your ent
|
|
94 |
|
95 |
== Upgrade Notice ==
|
96 |
|
|
|
|
|
|
|
97 |
= 1.1.3 =
|
98 |
-
|
99 |
|
100 |
= 1.1.2 =
|
101 |
Bug fixes
|
5 |
Author URI: https://wpplugin.org
|
6 |
Requires at least: 3.0
|
7 |
Tested up to: 4.1
|
8 |
+
Stable tag: 1.1.4
|
9 |
License: GPLv2 or later
|
10 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
11 |
|
52 |
>
|
53 |
> [Get a WP eCommerce PayPal Plus License Key >>](https://wpplugin.org/wp-ecommerce-paypal/)
|
54 |
|
55 |
+
|
56 |
+
Trademarks held by their respective owners. This plugin is not affiliated wtih PayPal.
|
57 |
+
|
58 |
== Installation ==
|
59 |
|
60 |
= Automatic Installation =
|
83 |
|
84 |
== Changelog ==
|
85 |
|
86 |
+
= 1.1.4 =
|
87 |
+
* Fix PayPal language bug
|
88 |
+
|
89 |
= 1.1.3 =
|
90 |
* Added class paypalbuttonimage to paypal button for styling
|
91 |
|
100 |
|
101 |
== Upgrade Notice ==
|
102 |
|
103 |
+
= 1.1.4 =
|
104 |
+
Fix PayPal language bug
|
105 |
+
|
106 |
= 1.1.3 =
|
107 |
+
Added class paypalbuttonimage to paypal button for styling
|
108 |
|
109 |
= 1.1.2 =
|
110 |
Bug fixes
|
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
|
@@ -633,7 +633,7 @@ $imagecc = "https://www.paypalobjects.com/nl_NL/NL/i/btn/btn_buynowCC_LG.gif";
|
|
633 |
} //Dutch
|
634 |
|
635 |
if ($value['language'] == "3") {
|
636 |
-
$language = "
|
637 |
$image = "https://www.paypalobjects.com/en_US/i/btn/btn_buynow_SM.gif";
|
638 |
$imageb = "https://www.paypalobjects.com/en_US/i/btn/btn_buynow_LG.gif";
|
639 |
$imagecc = "https://www.paypalobjects.com/en_US/i/btn/btn_buynowCC_LG.gif";
|
@@ -808,7 +808,7 @@ $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/
|
812 |
$output .= "</form></td></tr></table>";
|
813 |
|
814 |
return $output;
|
7 |
Author: Scott Paterson
|
8 |
Author URI: https://wpplugin.org
|
9 |
License: GPL2
|
10 |
+
Version: 1.1.4
|
11 |
*/
|
12 |
|
13 |
/* Copyright 2014-2015 Scott Paterson
|
633 |
} //Dutch
|
634 |
|
635 |
if ($value['language'] == "3") {
|
636 |
+
$language = "EN_US";
|
637 |
$image = "https://www.paypalobjects.com/en_US/i/btn/btn_buynow_SM.gif";
|
638 |
$imageb = "https://www.paypalobjects.com/en_US/i/btn/btn_buynow_LG.gif";
|
639 |
$imagecc = "https://www.paypalobjects.com/en_US/i/btn/btn_buynowCC_LG.gif";
|
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/$language/i/scr/pixel.gif' width='1' height='1'>";
|
812 |
$output .= "</form></td></tr></table>";
|
813 |
|
814 |
return $output;
|