Version Description
- 2018-02-20 =
- Tweak - Express checkout shouldn't display "Review your order before the payment".
- Fix - Compatibility with Subscriptions and Checkout from Single Product page.
- Fix - Make sure session object exists before use to prevent fatal error.
See changelog for all versions.
Download this release
Release Info
Developer | royho |
Plugin | WooCommerce PayPal Express Checkout Payment Gateway |
Version | 1.5.2 |
Comparing to | |
See all releases |
Code changes from version 1.5.1 to 1.5.2
- DEVELOPER.md +0 -11
- assets/js/wc-gateway-ppec-generate-cart.js +4 -3
- changelog.txt +137 -0
- includes/class-wc-gateway-ppec-cart-handler.php +7 -3
- includes/class-wc-gateway-ppec-checkout-handler.php +5 -1
- phpcs.xml +0 -10
- phpunit.xml +0 -16
- readme.txt +17 -133
- woocommerce-gateway-paypal-express-checkout.php +4 -4
DEVELOPER.md
DELETED
@@ -1,11 +0,0 @@
|
|
1 |
-
# DEVELOPER.md
|
2 |
-
|
3 |
-
## Sandbox URLs
|
4 |
-
* Developer: https://developer.paypal.com/
|
5 |
-
|
6 |
-
## Setup
|
7 |
-
1. Make sure your store has set the country to US and is using US dollars (for easier testing).
|
8 |
-
2. Sign up for a PayPal account.
|
9 |
-
3. Go to "My Apps & Credentials" and create a REST API apps.
|
10 |
-
4. Use the information from step 4 information to fill in the settings: Sandbox API Username, Password, Signature.
|
11 |
-
5. Remember that your buyer email and facilitator email are automatically generated and are available in Sandbox > Accounts. Likewise, the store email must match the facilitator email.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
assets/js/wc-gateway-ppec-generate-cart.js
CHANGED
@@ -70,9 +70,10 @@
|
|
70 |
toggle_button_availability( false );
|
71 |
|
72 |
var data = {
|
73 |
-
'nonce':
|
74 |
-
'qty':
|
75 |
-
'attributes':
|
|
|
76 |
};
|
77 |
|
78 |
var href = $(this).attr( 'href' );
|
70 |
toggle_button_availability( false );
|
71 |
|
72 |
var data = {
|
73 |
+
'nonce': wc_ppec_context.generate_cart_nonce,
|
74 |
+
'qty': $( '.quantity .qty' ).val(),
|
75 |
+
'attributes': $( '.variations_form' ).length ? get_attributes().data : [],
|
76 |
+
'add-to-cart': $( '[name=add-to-cart]' ).val(),
|
77 |
};
|
78 |
|
79 |
var href = $(this).attr( 'href' );
|
changelog.txt
ADDED
@@ -0,0 +1,137 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
*** Changelog ***
|
2 |
+
|
3 |
+
= 1.5.2 - 2018-02-20 =
|
4 |
+
* Tweak - Express checkout shouldn't display "Review your order before the payment".
|
5 |
+
* Fix - Compatibility with Subscriptions and Checkout from Single Product page.
|
6 |
+
* Fix - Make sure session object exists before use to prevent fatal error.
|
7 |
+
|
8 |
+
= 1.5.1 =
|
9 |
+
* Add - Hooks for Settings.
|
10 |
+
* Fix - Missing Settings link on Plugins page.
|
11 |
+
* Fix - Use correct image URL for PayPal image logo.
|
12 |
+
* Tweak - Default to signature method if certificate missing, rather than other way around.
|
13 |
+
|
14 |
+
= 1.5.0 =
|
15 |
+
* Add - PayPal credit is now available on checkout.
|
16 |
+
* Fix - WC 3.3 compatibility.
|
17 |
+
* Add - Ability to select existing / upload new image(s) for logo / header fields.
|
18 |
+
* Fix - Shipping address overridden when PayPal returns billing address.
|
19 |
+
|
20 |
+
= 1.4.7 =
|
21 |
+
* Fix - Issue with missing PayPal session information.
|
22 |
+
* Fix - Dependency error when using LibreSSL.
|
23 |
+
* Fix - Additional compatibility with shipping plugins
|
24 |
+
* Fix - Issue where deprecated `WC_Cart::get_cart_url` is being used.
|
25 |
+
* Tweak - Makes admin notification dismissible.
|
26 |
+
|
27 |
+
= 1.4.6 =
|
28 |
+
* Fix - Coupon related PayPal error 10413.
|
29 |
+
|
30 |
+
= 1.4.5 =
|
31 |
+
* Fix - Title/Description fields in the settings should appear based on Enable PayPal Express Checkout.
|
32 |
+
* Add - Invoice Prefix now has the ability to be empty.
|
33 |
+
* Fix - Additional compatibility fixes for line items.
|
34 |
+
* Fix - PHP notice for Subscription id.
|
35 |
+
|
36 |
+
= 1.4.4 =
|
37 |
+
* Fix - PayPal error (10431).
|
38 |
+
* Fix - PHP notices.
|
39 |
+
|
40 |
+
= 1.4.3 =
|
41 |
+
* Fix - Refunds not working on authorize then captured transactions.
|
42 |
+
* Fix - Checkout on single product available before variations are chosen.
|
43 |
+
* Fix - Not Returning PayPal Transaction Fee.
|
44 |
+
* Fix - 10431 (Item Amount Invalid at Checkout) error with discounts.
|
45 |
+
* Fix - Phone not returned and "Require Phone Number" setting not working.
|
46 |
+
|
47 |
+
= 1.4.2 =
|
48 |
+
* Fix - _paypal_status on Authorize transactions not updating to processing after capture.
|
49 |
+
* Fix - 10413 (The totals of the cart item amounts do not match order amounts) error with discounts.
|
50 |
+
* Fix - Shipping Address being required on Virtual products.
|
51 |
+
|
52 |
+
= 1.4.1 =
|
53 |
+
* Fix - Properly calculate whether Billing phone is required or not.
|
54 |
+
* Fix - Set NOSHIPPING based on product shipping requiredness (e.g. virtual products do not need shipping, etc).
|
55 |
+
|
56 |
+
= 1.4.0 =
|
57 |
+
* Tweak - Use shipping discount instead of tax when adjustment negative.
|
58 |
+
* Fix - Cannot process refunds on "authorize" transactions.
|
59 |
+
* Add - Option for displaying express checkout button on the product page.
|
60 |
+
* Fix - If there are no shipping options in WooCommerce, PayPal doesn't pass a shipping address to WC.
|
61 |
+
* Add - Option to set Billing phone number mandatory.
|
62 |
+
* Add - Option to disable checkout with PayPal button on Cart page.
|
63 |
+
* Fix - Trigger required shipping cost before checkout.
|
64 |
+
|
65 |
+
= 1.3.0 =
|
66 |
+
* Fix - Fatal Error calling is_main_query.
|
67 |
+
* Fix - Customer invoice email doesn't allow payment with PPEC.
|
68 |
+
* Fix - Double stock reduction.
|
69 |
+
* Fix - Payment automatically goes to complete when payment action set to Authorize.
|
70 |
+
|
71 |
+
= 1.2.1 =
|
72 |
+
* Fix - Avoid plugin links notice when WooCommerce is not active - props rellect
|
73 |
+
* Fix - Do not show this gateway when the cart amount is zero
|
74 |
+
* Fix - Fix 10413 error that prevents checking out with a coupon
|
75 |
+
* Fix - Filter default address fields to ensure they are not required
|
76 |
+
|
77 |
+
= 1.2.0 =
|
78 |
+
* Fix - Prevent conflict with other gateways.
|
79 |
+
* Fix - Compatibility with WooCommerce 3.0, including ensuring the customer address is saved correctly.
|
80 |
+
|
81 |
+
= 1.1.3 =
|
82 |
+
* Fix - Guest users can checkout without giving shipping information when required.
|
83 |
+
* Fix - Modal popup not working properly. Changed to full page redirect with a hook to add back the modal/popup.
|
84 |
+
* Tweak - Guest checkout is on by default. Should be turned off by using this filter: woocommerce_paypal_express_checkout_allow_guests.
|
85 |
+
|
86 |
+
= 1.1.2 =
|
87 |
+
* Fix - Make sure translations are loaded properly.
|
88 |
+
* Fix - Added IPN (Instant Payment Notification) handler.
|
89 |
+
* Fix - Make sure guest payment is enabled by default.
|
90 |
+
|
91 |
+
= 1.1.1 =
|
92 |
+
* Fixed fatal error prior to PHP 5.5 caused by passing empty() a non-variables.
|
93 |
+
|
94 |
+
= 1.1.0 =
|
95 |
+
* Improved flow after express checkout by removing billing and shipping fields and simply allowing shipping method selection.
|
96 |
+
* Fix - Fixed in-context checkout to work after ajax cart reload.
|
97 |
+
* Fix - Added missing 'large' button size.
|
98 |
+
* Fix - Prevent double stock reduction when payment complete.
|
99 |
+
* Fix - Allow PPE from pay page and don't use in-context checkout for PayPal Mark on checkout.
|
100 |
+
* Fix - Increase timeout to 30 to prevent error #3.
|
101 |
+
* Tweak - If the store owner decides to enable PayPal standard, respect that decision and remove EC from checkout screen.
|
102 |
+
* Tweak - Change place order button to "continue to payment".
|
103 |
+
* Tweak - Moved default button location to woocommerce_proceed_to_checkout hook.
|
104 |
+
* Tweak - Improved button appearance and look alongside regular checkout button.
|
105 |
+
|
106 |
+
= 1.0.4 =
|
107 |
+
* Fix - Wrong section slug / tab after redirected from connect.woocommerce.com
|
108 |
+
* Fix - Make sure to check if credentials were set in cart and checkout pages
|
109 |
+
* Fix - Removed configuration of chipers to use for TLS
|
110 |
+
|
111 |
+
= 1.0.3 =
|
112 |
+
* Fix - Issue where missing rounding two decimal digits of tax causing transaction being refused
|
113 |
+
* Fix - Issue where custom logo image URL is not saved
|
114 |
+
|
115 |
+
= 1.0.2 =
|
116 |
+
* Fix - Strip out HTML tags from item descriptions to prevent warning from PayPal
|
117 |
+
* Fix - Issue of incorrect plugin's setting link from admin plugins page when using WooCommerce 2.6
|
118 |
+
* Tweak - Make enabled option to default to true
|
119 |
+
* Fix - Issue of missing help icon when plugin directory is not the same as plugin's slug.
|
120 |
+
* Tweak - Add admin notice to setup / connect after plugin is activated.
|
121 |
+
|
122 |
+
= 1.0.1 =
|
123 |
+
* Fix - Make sure OpenSSL is installed with 1.0.1 as the minimum required version, otherwise display warning
|
124 |
+
* Fix - Make sure cURL transport is available for WP HTTP API, otherwise display warning
|
125 |
+
* Fix - Unhandled certificate-style API credential
|
126 |
+
* Fix - Fixed calculated tax and coupons data that sent over to PayPal
|
127 |
+
* Fix - Fixed calculated shipping discount data that sent over to PayPal
|
128 |
+
|
129 |
+
= 1.0.0 =
|
130 |
+
* Initial stable release
|
131 |
+
|
132 |
+
= 0.2.0 =
|
133 |
+
* Fix - Add cancel link on checkout page when session for PPEC is active
|
134 |
+
* Fix - In-context mini browser keeps spinning because failure xhr response is not handled properly
|
135 |
+
|
136 |
+
= 0.1.0 =
|
137 |
+
* Beta release
|
includes/class-wc-gateway-ppec-cart-handler.php
CHANGED
@@ -61,14 +61,18 @@ class WC_Gateway_PPEC_Cart_Handler {
|
|
61 |
}
|
62 |
|
63 |
WC()->shipping->reset_shipping();
|
|
|
|
|
|
|
|
|
|
|
64 |
|
65 |
/**
|
66 |
* If this page is single product page, we need to simulate
|
67 |
* adding the product to the cart taken account if it is a
|
68 |
* simple or variable product.
|
69 |
*/
|
70 |
-
if (
|
71 |
-
$product = wc_get_product( $post->ID );
|
72 |
$qty = ! isset( $_POST['qty'] ) ? 1 : absint( $_POST['qty'] );
|
73 |
|
74 |
if ( $product->is_type( 'variable' ) ) {
|
@@ -82,7 +86,7 @@ class WC_Gateway_PPEC_Cart_Handler {
|
|
82 |
}
|
83 |
|
84 |
WC()->cart->add_to_cart( $product->get_id(), $qty, $variation_id, $attributes );
|
85 |
-
}
|
86 |
WC()->cart->add_to_cart( $product->get_id(), $qty );
|
87 |
}
|
88 |
|
61 |
}
|
62 |
|
63 |
WC()->shipping->reset_shipping();
|
64 |
+
$product = wc_get_product( $post->ID );
|
65 |
+
|
66 |
+
if ( ! empty( $_POST['add-to-cart'] ) ) {
|
67 |
+
$product = wc_get_product( absint( $_POST['add-to-cart'] ) );
|
68 |
+
}
|
69 |
|
70 |
/**
|
71 |
* If this page is single product page, we need to simulate
|
72 |
* adding the product to the cart taken account if it is a
|
73 |
* simple or variable product.
|
74 |
*/
|
75 |
+
if ( $product ) {
|
|
|
76 |
$qty = ! isset( $_POST['qty'] ) ? 1 : absint( $_POST['qty'] );
|
77 |
|
78 |
if ( $product->is_type( 'variable' ) ) {
|
86 |
}
|
87 |
|
88 |
WC()->cart->add_to_cart( $product->get_id(), $qty, $variation_id, $attributes );
|
89 |
+
} else {
|
90 |
WC()->cart->add_to_cart( $product->get_id(), $qty );
|
91 |
}
|
92 |
|
includes/class-wc-gateway-ppec-checkout-handler.php
CHANGED
@@ -640,7 +640,7 @@ class WC_Gateway_PPEC_Checkout_Handler {
|
|
640 |
|
641 |
WC()->session->paypal = new WC_Gateway_PPEC_Session_Data( $session_data_args );
|
642 |
|
643 |
-
return $settings->get_paypal_redirect_url( $response['TOKEN'],
|
644 |
} else {
|
645 |
throw new PayPal_API_Exception( $response );
|
646 |
}
|
@@ -701,6 +701,10 @@ class WC_Gateway_PPEC_Checkout_Handler {
|
|
701 |
* @return bool Returns true if buyer checkout from checkout page
|
702 |
*/
|
703 |
public function is_started_from_checkout_page() {
|
|
|
|
|
|
|
|
|
704 |
$session = WC()->session->get( 'paypal' );
|
705 |
|
706 |
return (
|
640 |
|
641 |
WC()->session->paypal = new WC_Gateway_PPEC_Session_Data( $session_data_args );
|
642 |
|
643 |
+
return $settings->get_paypal_redirect_url( $response['TOKEN'], true, $session_data_args['use_paypal_credit'] );
|
644 |
} else {
|
645 |
throw new PayPal_API_Exception( $response );
|
646 |
}
|
701 |
* @return bool Returns true if buyer checkout from checkout page
|
702 |
*/
|
703 |
public function is_started_from_checkout_page() {
|
704 |
+
if ( ! is_object( WC()->session ) ) {
|
705 |
+
return false;
|
706 |
+
}
|
707 |
+
|
708 |
$session = WC()->session->get( 'paypal' );
|
709 |
|
710 |
return (
|
phpcs.xml
DELETED
@@ -1,10 +0,0 @@
|
|
1 |
-
<?xml version="1.0"?>
|
2 |
-
<ruleset name="WordPress Coding Standards for Plugins">
|
3 |
-
<description>Generally-applicable sniffs for WordPress plugins</description>
|
4 |
-
|
5 |
-
<rule ref="WordPress-Core" />
|
6 |
-
<rule ref="WordPress-Docs" />
|
7 |
-
|
8 |
-
<exclude-pattern>*/node_modules/*</exclude-pattern>
|
9 |
-
<exclude-pattern>*/vendor/*</exclude-pattern>
|
10 |
-
</ruleset>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
phpunit.xml
DELETED
@@ -1,16 +0,0 @@
|
|
1 |
-
<?xml version="1.0" encoding="UTF-8"?>
|
2 |
-
<phpunit
|
3 |
-
bootstrap="tests/phpunit/bootstrap.php"
|
4 |
-
backupGlobals="false"
|
5 |
-
colors="true"
|
6 |
-
convertErrorsToExceptions="true"
|
7 |
-
convertNoticesToExceptions="true"
|
8 |
-
convertWarningsToExceptions="true"
|
9 |
-
verbose="true"
|
10 |
-
>
|
11 |
-
<testsuites>
|
12 |
-
<testsuite>
|
13 |
-
<directory prefix="test-" suffix=".php">./tests/phpunit</directory>
|
14 |
-
</testsuite>
|
15 |
-
</testsuites>
|
16 |
-
</phpunit>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
readme.txt
CHANGED
@@ -2,8 +2,8 @@
|
|
2 |
Contributors: automattic, woothemes, akeda, dwainm, royho, allendav, slash1andy, woosteve, spraveenitpro, mikedmoore, fernashes, shellbeezy, danieldudzic, mikaey, fullysupportedphil, dsmithweb, corsonr, bor0, zandyring
|
3 |
Tags: ecommerce, e-commerce, commerce, woothemes, wordpress ecommerce, store, sales, sell, shop, shopping, cart, checkout, configurable, paypal
|
4 |
Requires at least: 4.4
|
5 |
-
Tested up to: 4.9
|
6 |
-
Stable tag: 1.5.
|
7 |
License: GPLv3
|
8 |
License URI: http://www.gnu.org/licenses/gpl-3.0.html
|
9 |
|
@@ -31,7 +31,7 @@ In the search field type "WooCommerce PayPal Express Checkout" and click Search
|
|
31 |
|
32 |
= Manual installation =
|
33 |
|
34 |
-
The manual installation method involves downloading our plugin and uploading it to your webserver via your
|
35 |
WordPress codex contains [instructions on how to do this here](http://codex.wordpress.org/Managing_Plugins#Manual_Plugin_Installation).
|
36 |
|
37 |
= Updating =
|
@@ -77,6 +77,14 @@ If PayPal Express Checkout is the only enabled payment gateway and you want to r
|
|
77 |
|
78 |
https://gist.github.com/mikejolley/ad2ecc286c9ad6cefbb7065ba6dfef48
|
79 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
80 |
== Screenshots ==
|
81 |
|
82 |
1. Click the "Click Here to Set Up Your PayPal Account" button. If you want to test before goes live, you can switch the Environment, above the button, to Sandbox.
|
@@ -85,133 +93,9 @@ https://gist.github.com/mikejolley/ad2ecc286c9ad6cefbb7065ba6dfef48
|
|
85 |
|
86 |
== Changelog ==
|
87 |
|
88 |
-
= 1.5.
|
89 |
-
*
|
90 |
-
* Fix
|
91 |
-
* Fix
|
92 |
-
|
93 |
-
|
94 |
-
= 1.5.0 =
|
95 |
-
* Add - PayPal credit is now available on checkout.
|
96 |
-
* Fix - WC 3.3 compatibility.
|
97 |
-
* Add - Ability to select existing / upload new image(s) for logo / header fields.
|
98 |
-
* Fix - Shipping address overriden when PayPal returns billing address.
|
99 |
-
|
100 |
-
= 1.4.7 =
|
101 |
-
* Fix - Issue with missing paypal session information.
|
102 |
-
* Fix - Dependency error when using LibreSSL.
|
103 |
-
* Fix - Additional compatibility with shipping plugins
|
104 |
-
* Fix - Issue where deprecated `WC_Cart::get_cart_url` is being used.
|
105 |
-
* Tweak - Makes admin notification dismissible.
|
106 |
-
|
107 |
-
= 1.4.6 =
|
108 |
-
* Fix - Coupon related PayPal error 10413.
|
109 |
-
|
110 |
-
= 1.4.5 =
|
111 |
-
* Fix - Title/Description fields in the settings should appear based on Enable PayPal Express Checkout.
|
112 |
-
* Add - Invoice Prefix now has the ability to be empty.
|
113 |
-
* Fix - Additional compatibility fixes for line items.
|
114 |
-
* Fix - PHP notice for Subscription id.
|
115 |
-
|
116 |
-
= 1.4.4 =
|
117 |
-
* Fix - PayPal error (10431).
|
118 |
-
* Fix - PHP notices.
|
119 |
-
|
120 |
-
= 1.4.3 =
|
121 |
-
* Fix - Refunds not working on authorize then captured transactions.
|
122 |
-
* Fix - Checkout on single product available before variations are chosen.
|
123 |
-
* Fix - Not Returning PayPal Transaction Fee.
|
124 |
-
* Fix - 10431 (Item Amount Invalid at Checkout) error with discounts.
|
125 |
-
* Fix - Phone not returned and "Require Phone Number" setting not working.
|
126 |
-
|
127 |
-
= 1.4.2 =
|
128 |
-
* Fix - _paypal_status on Authorize transactions not updating to processing after capture.
|
129 |
-
* Fix - 10413 (The totals of the cart item amounts do not match order amounts) error with discounts.
|
130 |
-
* Fix - Shipping Address being required on Virtual products.
|
131 |
-
|
132 |
-
= 1.4.1 =
|
133 |
-
* Fix - Properly calculate whether Billing phone is required or not.
|
134 |
-
* Fix - Set NOSHIPPING based on product shipping requiredness (e.g. virtual products do not need shipping, etc).
|
135 |
-
|
136 |
-
= 1.4.0 =
|
137 |
-
* Tweak - Use shipping discount instead of tax when adjustment negative.
|
138 |
-
* Fix - Cannot process refunds on "authorize" transactions.
|
139 |
-
* Add - Option for displaying express checkout button on the product page.
|
140 |
-
* Fix - If there are no shipping options in WooCommerce, PayPal doesn't pass a shipping address to WC.
|
141 |
-
* Add - Option to set Billing phone number mandatory.
|
142 |
-
* Add - Option to disable checkout with PayPal button on Cart page.
|
143 |
-
* Fix - Trigger required shipping cost before checkout.
|
144 |
-
|
145 |
-
= 1.3.0 =
|
146 |
-
* Fix - Fatal Error calling is_main_query.
|
147 |
-
* Fix - Customer invoice email doesn't allow payment with PPEC.
|
148 |
-
* Fix - Double stock reduction.
|
149 |
-
* Fix - Payment automatically goes to complete when payment action set to Authorize.
|
150 |
-
|
151 |
-
= 1.2.1 =
|
152 |
-
* Fix - Avoid plugin links notice when WooCommerce is not active - props rellect
|
153 |
-
* Fix - Do not show this gateway when the cart amount is zero
|
154 |
-
* Fix - Fix 10413 error that prevents checking out with a coupon
|
155 |
-
* Fix - Filter default address fields to ensure they are not required
|
156 |
-
|
157 |
-
= 1.2.0 =
|
158 |
-
* Fix - Prevent conflict with other gateways.
|
159 |
-
* Fix - Compatibility with WooCommerce 3.0, including ensuring the customer address is saved correctly.
|
160 |
-
|
161 |
-
= 1.1.3 =
|
162 |
-
* Fix - Guest users can checkout without giving shipping information when required.
|
163 |
-
* Fix - Modal popup not working properly. Changed to full page redirect with a hook to add back the modal/popup.
|
164 |
-
* Tweak - Guest checkout is on by default. Should be turned off by using this filter: woocommerce_paypal_express_checkout_allow_guests.
|
165 |
-
|
166 |
-
= 1.1.2 =
|
167 |
-
* Fix - Make sure translations are loaded properly.
|
168 |
-
* Fix - Added IPN (Instant Payment Notification) handler.
|
169 |
-
* Fix - Make sure guest payment is enabled by default.
|
170 |
-
|
171 |
-
= 1.1.1 =
|
172 |
-
* Fixed fatal error prior to PHP 5.5 caused by passing empty() a non-variables.
|
173 |
-
|
174 |
-
= 1.1.0 =
|
175 |
-
* Improved flow after express checkout by removing billing and shipping fields and simply allowing shipping method selection.
|
176 |
-
* Fix - Fixed in-context checkout to work after ajax cart reload.
|
177 |
-
* Fix - Added missing 'large' button size.
|
178 |
-
* Fix - Prevent double stock reduction when payment complete.
|
179 |
-
* Fix - Allow PPE from pay page and don't use in-context checkout for PayPal Mark on checkout.
|
180 |
-
* Fix - Increase timeout to 30 to prevent error #3.
|
181 |
-
* Tweak - If the store owner decides to enable PayPal standard, respect that decision and remove EC from checkout screen.
|
182 |
-
* Tweak - Change place order button to "continue to payment".
|
183 |
-
* Tweak - Moved default button location to woocommerce_proceed_to_checkout hook.
|
184 |
-
* Tweak - Improved button appearance and look alongside regular checkout button.
|
185 |
-
|
186 |
-
= 1.0.4 =
|
187 |
-
* Fix - Wrong section slug / tab after redirected from connect.woocommerce.com
|
188 |
-
* Fix - Make sure to check if credentials were set in cart and checkout pages
|
189 |
-
* Fix - Removed configuration of chipers to use for TLS
|
190 |
-
|
191 |
-
= 1.0.3 =
|
192 |
-
* Fix - Issue where missing rounding two decimal digits of tax causing transaction being refused
|
193 |
-
* Fix - Issue where custom logo image URL is not saved
|
194 |
-
|
195 |
-
= 1.0.2 =
|
196 |
-
* Fix - Strip out HTML tags from item descriptions to prevent warning from PayPal
|
197 |
-
* Fix - Issue of incorrect plugin's setting link from admin plugins page when using WooCommerce 2.6
|
198 |
-
* Tweak - Make enabled option to default to true
|
199 |
-
* Fix - Issue of missing help icon when plugin directory is not the same as plugin's slug.
|
200 |
-
* Tweak - Add admin notice to setup / connect after plugin is activated.
|
201 |
-
|
202 |
-
= 1.0.1 =
|
203 |
-
* Fix - Make sure OpenSSL is installed with 1.0.1 as the minium required version, otherwise display warning
|
204 |
-
* Fix - Make sure cURL transport is available for WP HTTP API, otherwise display warning
|
205 |
-
* Fix - Unhandled certificate-style API credential
|
206 |
-
* Fix - Fixed calculated tax and coupons data that sent over to PayPal
|
207 |
-
* Fix - Fixed calculated shipping discount data that sent over to PayPal
|
208 |
-
|
209 |
-
= 1.0.0 =
|
210 |
-
* Initial stable release
|
211 |
-
|
212 |
-
= 0.2.0 =
|
213 |
-
* Fix - Add cancel link on checkout page when session for PPEC is active
|
214 |
-
* Fix - In-context mini browser keeps spinning because failure xhr response is not handled properly
|
215 |
-
|
216 |
-
= 0.1.0 =
|
217 |
-
* Beta release
|
2 |
Contributors: automattic, woothemes, akeda, dwainm, royho, allendav, slash1andy, woosteve, spraveenitpro, mikedmoore, fernashes, shellbeezy, danieldudzic, mikaey, fullysupportedphil, dsmithweb, corsonr, bor0, zandyring
|
3 |
Tags: ecommerce, e-commerce, commerce, woothemes, wordpress ecommerce, store, sales, sell, shop, shopping, cart, checkout, configurable, paypal
|
4 |
Requires at least: 4.4
|
5 |
+
Tested up to: 4.9
|
6 |
+
Stable tag: 1.5.2
|
7 |
License: GPLv3
|
8 |
License URI: http://www.gnu.org/licenses/gpl-3.0.html
|
9 |
|
31 |
|
32 |
= Manual installation =
|
33 |
|
34 |
+
The manual installation method involves downloading our plugin and uploading it to your webserver via your favorite FTP application. The
|
35 |
WordPress codex contains [instructions on how to do this here](http://codex.wordpress.org/Managing_Plugins#Manual_Plugin_Installation).
|
36 |
|
37 |
= Updating =
|
77 |
|
78 |
https://gist.github.com/mikejolley/ad2ecc286c9ad6cefbb7065ba6dfef48
|
79 |
|
80 |
+
= Where can I contribute? =
|
81 |
+
|
82 |
+
The GitHub repository for PayPal Express Checkout is here:
|
83 |
+
|
84 |
+
https://github.com/woothemes/woocommerce-gateway-paypal-express-checkout
|
85 |
+
|
86 |
+
Please use this to inform us about bugs, or make contributions via PRs.
|
87 |
+
|
88 |
== Screenshots ==
|
89 |
|
90 |
1. Click the "Click Here to Set Up Your PayPal Account" button. If you want to test before goes live, you can switch the Environment, above the button, to Sandbox.
|
93 |
|
94 |
== Changelog ==
|
95 |
|
96 |
+
= 1.5.2 - 2018-02-20 =
|
97 |
+
* Tweak - Express checkout shouldn't display "Review your order before the payment".
|
98 |
+
* Fix - Compatibility with Subscriptions and Checkout from Single Product page.
|
99 |
+
* Fix - Make sure session object exists before use to prevent fatal error.
|
100 |
+
|
101 |
+
[See changelog for all versions](https://raw.githubusercontent.com/woocommerce/woocommerce-gateway-paypal-express-checkout/master/changelog.txt).
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
woocommerce-gateway-paypal-express-checkout.php
CHANGED
@@ -3,10 +3,10 @@
|
|
3 |
* Plugin Name: WooCommerce PayPal Express Checkout Gateway
|
4 |
* Plugin URI: https://woocommerce.com/products/woocommerce-gateway-paypal-express-checkout/
|
5 |
* Description: A payment gateway for PayPal Express Checkout (https://www.paypal.com/us/webapps/mpp/express-checkout).
|
6 |
-
* Version: 1.5.
|
7 |
* Author: WooCommerce
|
8 |
* Author URI: https://woocommerce.com
|
9 |
-
* Copyright: ©
|
10 |
* License: GNU General Public License v3.0
|
11 |
* License URI: http://www.gnu.org/licenses/gpl-3.0.html
|
12 |
* Text Domain: woocommerce-gateway-paypal-express-checkout
|
@@ -15,7 +15,7 @@
|
|
15 |
* WC requires at least: 2.6
|
16 |
*/
|
17 |
/**
|
18 |
-
* Copyright (c)
|
19 |
*
|
20 |
* The name of the PayPal may not be used to endorse or promote products derived from this
|
21 |
* software without specific prior written permission. THIS SOFTWARE IS PROVIDED ``AS IS'' AND
|
@@ -27,7 +27,7 @@ if ( ! defined( 'ABSPATH' ) ) {
|
|
27 |
exit; // Exit if accessed directly
|
28 |
}
|
29 |
|
30 |
-
define( 'WC_GATEWAY_PPEC_VERSION', '1.5.
|
31 |
|
32 |
/**
|
33 |
* Return instance of WC_Gateway_PPEC_Plugin.
|
3 |
* Plugin Name: WooCommerce PayPal Express Checkout Gateway
|
4 |
* Plugin URI: https://woocommerce.com/products/woocommerce-gateway-paypal-express-checkout/
|
5 |
* Description: A payment gateway for PayPal Express Checkout (https://www.paypal.com/us/webapps/mpp/express-checkout).
|
6 |
+
* Version: 1.5.2
|
7 |
* Author: WooCommerce
|
8 |
* Author URI: https://woocommerce.com
|
9 |
+
* Copyright: © 2018 WooCommerce / PayPal.
|
10 |
* License: GNU General Public License v3.0
|
11 |
* License URI: http://www.gnu.org/licenses/gpl-3.0.html
|
12 |
* Text Domain: woocommerce-gateway-paypal-express-checkout
|
15 |
* WC requires at least: 2.6
|
16 |
*/
|
17 |
/**
|
18 |
+
* Copyright (c) 2018 PayPal, Inc.
|
19 |
*
|
20 |
* The name of the PayPal may not be used to endorse or promote products derived from this
|
21 |
* software without specific prior written permission. THIS SOFTWARE IS PROVIDED ``AS IS'' AND
|
27 |
exit; // Exit if accessed directly
|
28 |
}
|
29 |
|
30 |
+
define( 'WC_GATEWAY_PPEC_VERSION', '1.5.2' );
|
31 |
|
32 |
/**
|
33 |
* Return instance of WC_Gateway_PPEC_Plugin.
|