Only use rm=2 for paypal when SSL is enabled, to avoid security warnings when returning to the site.
This commit is contained in:
parent
c6a4c0452e
commit
1f2a09869c
|
@ -208,7 +208,7 @@ class WC_Paypal extends WC_Payment_Gateway {
|
|||
'no_note' => 1,
|
||||
'currency_code' => get_woocommerce_currency(),
|
||||
'charset' => 'UTF-8',
|
||||
'rm' => 2,
|
||||
'rm' => is_ssl() ? 2 : 1,
|
||||
'upload' => 1,
|
||||
'return' => $this->get_return_url( $order ),
|
||||
'cancel_return' => $order->get_cancel_order_url(),
|
||||
|
|
|
@ -153,6 +153,7 @@ Yes you can! Join in on our [GitHub repository](http://github.com/woothemes/wooc
|
|||
* Tweak - Allow more readable flat rate options to be entered
|
||||
* Tweak - Changed category and tag link to filter product list in admin panel
|
||||
* Tweak - Removed product 'exists' variable in favour of the exists() method. Tweaked exist method to look for ID in DB.
|
||||
* Tweak - Only use rm=2 for paypal when SSL is enabled, to avoid security warnings when returning to the site.
|
||||
* Fix - Replacing use of deprecated function get_current_theme() with wp_get_theme()
|
||||
* Fix - Body classes now correct for WordPress themes with non alphanumeric characters
|
||||
* Fix - PayPal http_build_query & -> & on some PHP 5.3 servers
|
||||
|
|
Loading…
Reference in New Issue