Commit Graph

203 Commits

Author SHA1 Message Date
Claudio Sanches a344fae67f Improved simplify commerce for free subscriptions 2015-04-15 09:55:35 -03:00
Claudio Sanches 8914594534 Fixed the simplify subscription payment when is a free trial 2015-04-15 09:48:56 -03:00
Claudio Sanches 1dadbb2842 Fixed coding standards for #7879 2015-04-13 12:37:22 -03:00
Claudio Sanches 14ed7137d2 Fixed subscription free trial period for simplify commerce 2015-04-13 10:46:11 -03:00
Andrew Benbow 196448dc0b Update class-wc-gateway-paypal-request.php 2015-04-11 16:14:27 +01:00
Andrew Benbow 45c76cd0cb Update class-wc-gateway-paypal-request.php 2015-04-10 15:47:28 +01:00
Mike Jolley 2e2ec824f0 Set field required class
Fixes #7859
2015-04-10 15:43:39 +01:00
Mike Jolley 33d94aaea4 [2.3] Use single logging method for paypal classes
Closes #7801
2015-04-09 12:00:42 +01:00
Danny van Kooten 88f2e690bb Changing all inefficient selectors of $('body') to $(document.body), which is about 80% faster (and even more on mobile, see https://jsperf.com/jquery-body-vs-document-body-selector/2 ). 2015-04-03 14:21:47 +02:00
Nicola Mustone d2af01df5b scrutinizer suggested tweaks 2015-03-27 16:15:40 +01:00
Diego Zanella 7f525c30ce Modified PayPal Standard gateway to make it easier to extend
* Replaced all "private" properties and methods with "protected" ones. This will make it easier to extend the gateway classes, without having an impact on its normal usage.
2015-03-19 18:26:28 +00:00
Mike Jolley 6165d509c7 Use debug option, not testmode
Fixes #7696
2015-03-13 09:38:09 +00:00
Sam Bohler 91e313b924 Fixed DocBlock annotations 2015-03-12 16:39:47 -04:00
Brent Shepherd 028cea41d3 Make sure Simplify customer ID is set on renewals
So that if the renewal is for a failed payment, the the new value is set
on the renewal order's `'_simplify_customer_id'` post meta value and can
be copied back to the original order in `update_failing_payment_method()`.
2015-03-11 14:50:25 -07:00
Brent Shepherd 6d339241a2 Catch exception on renewal payment with Simplify 2015-03-11 14:49:57 -07:00
Dean Taylor a841817b6a Fix "Undefined index: test_ipn" PHP notice 2015-03-05 22:58:22 +00:00
John Clause 6c9f863c04 replaced get_bloginfo('name') with get_bloginfo('name','display') 2015-02-17 20:56:18 -07:00
Paul Wilde c913316f8b Introduce wc_get_page_permalink. 2015-02-15 19:13:22 +00:00
Claudio Sanches e770d1a2e5 Fixed extra spaces 2015-02-13 17:14:12 -02:00
Claudio Sanches 74d8d4ed61 Fixed the PayPal URL for ZA, closes #7417 2015-02-13 16:02:00 -02:00
Claudio Sanches 0c6e079690 Simplify commerce default payment mode as standard 2015-02-13 12:04:05 -02:00
Mike Jolley afff86c033 Pass correct shipping cost to PayPal. 2015-02-11 22:17:58 +00:00
Mike Jolley b2e979640c Removed unused vars 2015-02-03 16:24:01 +00:00
Scrutinizer Auto-Fixer de06d17c6d Scrutinizer Auto-Fixes
This commit consists of patches automatically generated for this project on https://scrutinizer-ci.com
2015-02-03 14:32:10 +00:00
Mike Jolley 16eb1facd9 Add link to payment_status_canceled_reversal Closes #7267 2015-02-02 14:49:30 +00:00
Brent Shepherd 3702b77c74 Fix "Undefined variable: identity_token"
And make sure the identify token is passed to `WC_Gateway_Paypal_PDT_Handler`
2015-01-28 10:59:48 -08:00
Mike Jolley f3cc45cfa9 Grammar corrections
Closes #7216
2015-01-28 17:15:48 +00:00
Mike Jolley 8a42b1c211 Revert earlier change where PayPal IPN was on or off depending on PDT.
Because IPN is used for future events such as refunds it should not be
disabled. @claudiosmweb
2015-01-28 17:15:48 +00:00
Mike Jolley 7e1ca1d3a3 Option to choose EITHER PDT or IPN
Closes #7208
2015-01-26 12:58:33 +00:00
Claudio Sanches b55ecea6ba Used wp_unslash() instead of stripslashes_deep()
The WordPress documentation recommends:

"This should be used to remove slashes from data passed to core API that expects data to be unslashed. Use this instead of stripslashes_deep()."
2015-01-13 17:54:10 -02:00
Claudio Sanches 22da603567 Simplify commerce hosted payments feature 2015-01-13 13:40:43 -02:00
Claudio Sanches 9a6dc0bf41 Added select2 for all settings fields 2015-01-12 15:45:47 -02:00
Mike Jolley 50c6e1e4a0 select2 settings 2015-01-12 16:29:01 +00:00
Claudio Sanches 0376da2ea9 Added hosted payments support for pre-orders and subscriptions 2015-01-12 11:43:27 -02:00
Claudio Sanches b7eafa1c49 Added the new redirect-url param in the simplify commerce button 2015-01-12 09:53:19 -02:00
Claudio Sanches 7cf69a337b Updated the hosted payments option description on simplify commerce gateway 2014-12-12 01:56:28 -02:00
Claudio Sanches cb7cd8f765 Fixed the process order status method in simplify commerce 2014-12-10 15:04:57 -02:00
Claudio Sanches e8a347ed18 Created the simplify commerce hosted payments return handler 2014-12-10 10:07:45 -02:00
Claudio Sanches 1da03a170c Created initial simplify commerce hosted payments flow and options 2014-12-09 17:11:55 -02:00
Mike Jolley eba8206540 Merge branch 'tax-coupon-handling' Closes #6830
Conflicts:
	assets/js/admin/meta-boxes-order.min.js
	includes/api/class-wc-api-coupons.php
	includes/class-wc-cart.php
	templates/checkout/review-order.php
2014-12-03 12:33:15 +00:00
Mike Jolley 5f77ee752e Merge pull request #6814 from bryceadams/patch-6026
#6026 - Introduction of Sort Code 'locale' for BACS
2014-11-26 16:23:40 +00:00
Bryce 8f89ef9c0b Remove locales with 'Sort Code'
Wrong swamp
2014-11-26 23:03:48 +07:00
Mike Jolley 626d7f4256 Moved email methods to emails class 2014-11-26 00:03:00 +00:00
Mike Jolley 3c82331a8b Store discount 'tax' to show discounts on prices including tax more accuratly
Also deprecated some functions named after having 2 levels of discounts.
2014-11-25 13:05:03 +00:00
Mike Jolley 4a8c541fbf Remove 'order' discounts from classes 2014-11-25 11:05:14 +00:00
Bryce 3fd7997413 Move locale to new method in BACS gateway 2014-11-24 21:26:33 +07:00
Bryce 6dad8fdc59 #6026 - Introduction of Sort Code 'locale' for BACS
In the admin, it will use the store’s base country to determine the
term for ‘Sort Code’.

In the front-end, it will use the customer’s billing country to
determine the term for ‘Sort Code’.

In all cases, if a locale does not have a sortcode label set, it will
use ‘Sort Code’.

**Locales have been added for:**
* AU
* CA
* IE
* IN
* IT
* NZ
* SE
* US
* GB
* ZA

But may need adjusting based on user feedback.
2014-11-21 16:10:12 +07:00
Mike Jolley db13b2224f Fix refund class 2014-11-20 15:03:46 +00:00
claudiosmweb 8eeb6fc204 Removed more some unused code 2014-11-19 22:43:09 -02:00
Mike Jolley e630e64cb7 Flat rate shipping tweaks + inline instructions 2014-11-19 22:22:35 +00:00