Commit Graph

317 Commits

Author SHA1 Message Date
Mike Jolley 730019ef18 scrutinizer best practice 2016-06-06 19:39:23 +01:00
Mike Jolley 7a2e460206 COD: use on-hold if order contains download
Fixes #11015
2016-06-01 11:27:54 +01:00
Mike Jolley 9d3195991c POT update 2016-05-27 15:43:42 +01:00
Mike Jolley f35f4cc9d5 Fix selectors in simplify 2016-05-26 15:46:33 +01:00
Mike Jolley b4deb703fb Tweak conditional in CC class 2016-05-26 12:42:32 +01:00
Mike Jolley 3893d0ec19 Fixes tokenisation form when > 1 are used at once.
@claudiosmweb can you give this a check over since it was missed?
2016-05-24 17:52:32 +01:00
Claudio Sanches a7b952838d Remove dead variable 2016-05-17 17:37:10 -03:00
Rodrigo Primo 1e78f6eb07 Remove unused variable from WC_Payment_Gateway_CC::form() 2016-05-17 16:49:10 -03:00
Rodrigo Primo 086628fba2 Enqueue 'wc-credit-card-form' before displaying credit card form
The commit c0b7429 failed to keep the line that enqueued 'wc-credit-card-form' script when the method WC_Payment_Gateway::credit_card_form() was renamed to WC_Payment_Gateway_CC::form().
2016-05-17 16:42:18 -03:00
Claudio Sanches d8614cd47e Fixed cc and echeck placeholders 2016-05-17 16:24:11 -03:00
Mike Jolley bc3b9a04b7 Do not add field names when tokenizing 2016-05-10 18:23:16 +01:00
Mike Jolley 0927cbee8d Tweaks saved card markup and styling to improve CC form. 2016-05-10 15:43:39 +01:00
Mike Jolley e53704431d Don't use abstract
Fixes #10815
2016-04-29 15:28:09 +01:00
Mike Jolley 9aace06536 Cheques for 'murica
Closes #10779
2016-04-25 14:25:39 +01:00
Mike Jolley f739e97c76 Merge branch 'master' into payment-gateway-wizard-refactor
# Conflicts:
#	assets/css/activation.css
#	assets/css/wc-setup.css
2016-04-19 13:25:20 +01:00
Mike Jolley 8e0e9a0cc2 Deprecate Simplify in favour of feature plugin 2016-04-19 13:14:13 +01:00
Mike Jolley 3b3872da3f More logging 2016-04-18 21:06:33 +01:00
Mike Jolley c757fd9940 Merge branch 'shipping-zone-modals'
# Conflicts:
#	assets/css/admin.css
#	assets/css/admin.scss
2016-03-31 15:20:06 +01:00
Mike Jolley c9dfbab9a2 Simplify - strip dashes from zip
Fixes #10604
2016-03-31 12:27:34 +01:00
Mike Jolley 795cb6d763 Add class for bacs heading 2016-03-24 10:47:08 +00:00
Mike Jolley 021a242e06 PDT charset conversion 2016-03-17 15:53:13 +00:00
Mike Jolley 05179ea253 Removed debug code 2016-03-15 15:58:15 +00:00
Mike Jolley 5fe501e436 Convert encoding
#10562
2016-03-15 15:58:03 +00:00
Mike Jolley e664f0f82b Log PDT data correctly, including payer details
Closes #10546
2016-03-15 12:18:52 +00:00
Mike Jolley 29d35151a1 woocommerce_cod_process_payment_order_status filter
Closes #10522
2016-03-10 12:30:42 +00:00
James Koster f926f8e9c9 replaces .png credit card icons with .svg alternatives. closes #9675 2016-03-07 12:15:42 +00:00
Justin Shreve 927941e2ca Merge pull request #10260 from justinshreve/token-api
Payment Token API
2016-03-04 04:34:41 -08:00
Justin Shreve cb68f41ed0 Fix up based on Mike's feedback:
* Made CVC field form-row-last
* Make CC & EC methods abstract
* Change label on add new payment method button
* remove groupings in account settings
2016-03-04 04:32:38 -08:00
Mike Jolley fab1f224c6 When creating new order from draft, assume 'pending' for status transitions
Fixes #10461
2016-03-03 13:51:04 +00:00
Justin Shreve 0985292a79 Make sure the tokenization script is output even if the current user is logged out (we still show save payment method if user is creating account). 2016-03-01 11:49:42 -08:00
Justin Shreve 75f2e6b85c Fix up some comments and add uninstalling code. 2016-03-01 11:49:42 -08:00
Justin Shreve c0b74296ff * Remove WC_Payment_Gateway_Form in favor of having a Payment_Gateway_CC and Payment_Gateway_eCheck
* Fix up some comments to match other comments in the WC code base
* Add some missing esc_* functions
* Add a gateway filter to get_customer_tokens + a test for it
2016-03-01 11:49:42 -08:00
Justin Shreve fa5283d3df Minify Simplify JS 2016-03-01 11:49:42 -08:00
Justin Shreve e6a527547f Add the ability for gateways to override the "new payment method" label. 2016-03-01 11:49:42 -08:00
Justin Shreve 31bae0c19e Hook up the tokenization API to the "add payment method" button in my account settings. 2016-03-01 11:49:41 -08:00
Justin Shreve 2e73486004 Add minified simplify js.
Enable payment gateways to show/force CVC on saved gateways.
2016-03-01 11:49:41 -08:00
Justin Shreve 898242c34d Integrate simplify with the token API to save cards/customer data and use a saved card. 2016-03-01 11:49:40 -08:00
Justin Shreve eff4e297f9 First pass at showing saved payment methods on checkout 2016-03-01 11:49:40 -08:00
Mike Jolley 6f04ff1fa0 Replace size with length
Fixes #10444
2016-03-01 13:08:25 +00:00
Mike Jolley 1fecd7efe2 If shipping < 999.99, use 'shipping' arg when passing values to PayPal.
Closes #9852
2016-02-08 13:10:15 +00:00
Claudio Sanches 899d961dd9 Improved WC_Gateway_Paypal::get_icon_url() for #10084 2016-01-21 19:28:14 -02:00
Shohei Tanaka 70be00cbf7 Modification of PayPal link errors and redirect
Those countries are redirect from paypal-popup to home.
BE,CZ,DK,IT,NL,NO,SE,ES
Those countries are error happened.
HU, JP, TR
2016-01-16 14:15:42 +09:00
Claudio Sanches 870ecfea11 Merge pull request #9991 from frozzare/docs/class-wc-simplify-commerce
Improve docblock comments in Simplify Commerce classes
2016-01-06 11:30:49 -02:00
Claudio Sanches a1871e288c Merge pull request #9990 from frozzare/docs/class-wc-gateway-paypal
Improve docblock comments in WC_Gateway_Paypal classes
2016-01-06 11:30:37 -02:00
Claudio Sanches 5e8764630d Merge pull request #9989 from frozzare/docs/class-wc-gateway-bacs
Improve docblock comments in WC_Gateway_BACS
2016-01-06 11:30:22 -02:00
Mike Jolley 918b84ee3a Strip tags from subject
#9706
2016-01-06 12:38:22 +00:00
Fredrik Forsmo 2bee73f031 Improve docblock comments in Simplify Commerce classes
* Added comment to `get_icon` method
* Added missing return tag to `is_available` method
* Fix return type typo `wp_error => WP_Error`
* Renamed integer to int
2016-01-05 20:27:24 +01:00
Fredrik Forsmo 9ae4f4e7ab Improve docblock comments in WC_Gateway_Paypal classes
* Added comments to `get_icon` method
* Added missing param tags to various methods.
* Renamed integer to int
* Renamed boolean to bool
2016-01-05 20:19:12 +01:00
Fredrik Forsmo 60b27d4168 Improve docblock comments in WC_Gateway_BACS
* Added comment to `generate_account_details_html`
* Added missing param tags to `thankyou_page` and `bank_details`
* Removed new line after docblock before `get_country_locale`
2016-01-05 20:02:31 +01:00
Shiva Poudel 66e3581308 Tweak paypal gateway docblocks and comments 2016-01-05 11:08:01 +05:45